/* ==========================================================================
   LOCKSTEAD LOCKSMITH - DESIGN SYSTEM & CORE STYLES
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&family=Inter:ital,wght@0,300..800;1,300..800&display=swap');

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Colors */
  --primary-navy: #0F172A; /* Slate 900 */
  --primary-navy-rgb: 15, 23, 42;
  --accent-red: #F43F5E; /* Rose 500 */
  --accent-red-hover: #E11D48; /* Rose 600 */
  --accent-red-rgb: 244, 63, 94;
  --light-bg: #F8FAFC; /* Slate 50 */
  --white: #FFFFFF;
  --white-rgb: 255, 255, 255;
  --text-dark: #0F172A;
  --text-grey: #475569; /* Slate 600 */
  --success-green: #10B981; /* Emerald 500 */
  --success-green-hover: #059669; /* Emerald 600 */
  --border-color: #E2E8F0; /* Slate 200 */

  /* Fonts */
  --font-headings: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;   /* 8px */
  --spacing-sm: 1rem;     /* 16px */
  --spacing-md: 1.5rem;   /* 24px */
  --spacing-lg: 2.5rem;   /* 40px */
  --spacing-xl: 5rem;     /* 80px */
  --container-max-width: 1200px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radii */
  --radius-sm: 8px;       /* Sleeker rounded inputs */
  --radius-md: 12px;      /* For cards */
  --radius-lg: 16px;      /* Generous rounded shapes */
  --radius-full: 9999px;

  /* Shadows & Depth */
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.04);
  --shadow-cta: 0 4px 14px rgba(244, 63, 94, 0.25);
  --shadow-nav: 0 4px 20px rgba(15, 23, 42, 0.02);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--primary-navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); /* 56px desktop max */
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.625rem, 4vw, 2.25rem); /* 36px desktop max */
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: var(--text-grey);
  max-width: 820px;
  line-height: 1.6;
}

/* Accent labels / badges: uppercase, Syne, letter-spacing */
.accent-label {
  font-family: var(--font-headings);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 700;
}

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

a:hover {
  color: var(--accent-red-hover);
  text-decoration: underline;
}

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

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.section {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  position: relative;
}

.bg-light {
  background-color: var(--light-bg);
}

.bg-navy {
  background-color: var(--primary-navy);
  color: var(--white);
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy p {
  color: var(--white);
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 14px 32px;
  font-size: 15px;
  font-family: var(--font-headings);
  font-weight: 600;
  border-radius: 9999px; /* Premium inviting pill-shaped layout */
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bounce transition on hover */
  text-align: center;
  box-sizing: border-box;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
  line-height: 1.2;
}

.btn:active {
  transform: scale(0.97) translateY(0) !important;
}

/* Button Sizing Tokens */
.btn-hero {
  height: 54px;
  padding: 0 44px;
  font-size: 16px;
}

.btn-content {
  height: 48px;
  padding: 0 36px;
  font-size: 15px;
}

.btn-header {
  height: 42px;
  padding: 0 30px;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red) 0%, #FF5A79 100%);
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.3);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px rgba(244, 63, 94, 0.4);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-navy) !important;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.05);
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: var(--light-bg);
  border-color: #CBD5E1;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 15px rgba(15, 23, 42, 0.05);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-navy) !important;
  border: 1px solid var(--border-color);
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.05);
}

.btn-white:hover {
  background-color: var(--light-bg);
  border-color: #CBD5E1;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 15px rgba(15, 23, 42, 0.05);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--success-green) 0%, #34D399 100%);
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  text-decoration: none;
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.4);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Tag pill button */
.btn-pill {
  background-color: var(--white);
  color: var(--accent-red) !important;
  border: 1px solid var(--accent-red);
  border-radius: 9999px;
  padding: 12px 26px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-headings);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-pill:hover {
  background-color: var(--accent-red);
  color: var(--white) !important;
}



/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
/* ==========================================================================
   HEADER & NAVIGATION - REDESIGNED PREMIUM CAPSULE LAYOUT
   ========================================================================== */
@keyframes cta-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.5), 0 4px 12px rgba(244, 63, 94, 0.3);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(244, 63, 94, 0), 0 4px 12px rgba(244, 63, 94, 0.3);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0), 0 4px 12px rgba(244, 63, 94, 0.3);
  }
}

.header-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

/* Desktop Floating Capsule Header Style */
@media (min-width: 1051px) {
  .header-wrapper {
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 40px) !important;
    max-width: var(--container-max-width) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04) !important;
    background-color: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    transition: all var(--transition-normal) !important;
  }
  
  .header-wrapper.scrolled {
    top: 10px !important;
    background-color: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
  }
  
  /* Apply padding top to the body of all pages to prevent hero/header overlaps */
  body:not(:has(.hero)) {
    padding-top: 142px !important;
  }
  body:has(.hero) {
    padding-top: 0 !important;
  }
}

.header-top {
  background-color: var(--primary-navy);
  padding: 0;
  height: 38px;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.85);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  transition: all var(--transition-normal);
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-top-left {
  display: flex;
  gap: 1.5rem;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-top-phone {
  color: var(--accent-red) !important;
  font-weight: 700;
  text-decoration: none;
}

.header-top-phone:hover {
  color: var(--accent-red-hover) !important;
}

.header-main {
  padding: 0.9rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy) !important;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.logo:hover {
  transform: scale(1.02);
  text-decoration: none;
}

.logo-accent {
  color: var(--accent-red);
}

.logo svg {
  width: 28px;
  height: 28px;
  fill: var(--accent-red);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover svg {
  transform: rotate(-10deg) scale(1.1);
}

/* Navigation Links */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.85rem;
  align-items: center;
}

/* Hide mobile-only drawer elements on desktop by default */
.mobile-drawer-header,
.mobile-drawer-actions {
  display: none !important;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--primary-navy) !important;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 9999px; /* Floating pill effect */
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap !important; /* Force all menu link text to display on a single line */
}

.nav-link:hover, .nav-item:hover > .nav-link {
  background-color: rgba(15, 23, 42, 0.05);
  color: var(--accent-red) !important;
}

/* Active Highlight Classes */
.nav-menu .active-menu-item {
  color: var(--accent-red) !important;
  background-color: rgba(244, 63, 94, 0.08) !important;
}

.nav-menu .active-menu-item-parent {
  color: var(--accent-red) !important;
  background-color: rgba(244, 63, 94, 0.08) !important;
}

/* Dropdowns - Modern glassmorphism look */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-right {
  left: auto;
  right: 0;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav-dropdown-item {
  width: 100%;
}

.nav-dropdown-link {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text-grey) !important;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-dropdown-link:hover {
  background-color: var(--light-bg);
  color: var(--accent-red) !important;
  padding-left: 1.25rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Redesigned High-Converting, Pulsing Emergency Call Button */
.header-cta-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 10px 20px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--accent-red) 0%, #FF5A79 100%);
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  animation: cta-pulse 2s infinite;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}

.header-cta-call:hover {
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(135deg, #FF5A79 0%, var(--accent-red) 100%);
  box-shadow: 0 6px 16px rgba(244, 63, 94, 0.45);
}

.header-cta-call svg {
  flex-shrink: 0;
}

/* Redesigned Modern WhatsApp Button (Circular Icon-Only) */
.header-cta-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--success-green) 0%, #34D399 100%);
  border: none;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.header-cta-wa:hover {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(135deg, #34D399 0%, var(--success-green) 100%);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.header-cta-wa svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (min-width: 1051px) and (max-width: 1240px) {
  .nav-menu {
    gap: 0.2rem !important;
  }
  .nav-link {
    padding: 8px 10px !important;
    font-size: 0.85rem !important;
  }
  .nav-actions {
    gap: 0.4rem !important;
  }
  .header-cta-call {
    padding: 9px 15px !important;
    font-size: 12px !important;
  }
  .header-cta-wa {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
  }
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary-navy);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--primary-navy); /* Deep dark navy background */
  color: var(--white);
  overflow: hidden;
  margin-top: 0 !important;
  padding-top: 175px !important;
  padding-bottom: var(--spacing-xl);
  min-height: 100vh; /* Full viewport height on desktop */
  display: flex;
  align-items: center;
}

.hero h1 {
  margin-top: 1.25rem !important;
  margin-bottom: 1.75rem !important;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 26, 0.75); /* Dark overlay to push high legibility */
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  text-align: left; /* Left aligned content */
}

.hero-badge {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white); /* White border Outlined style */
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1.25rem;
  letter-spacing: 0.12em;
  font-family: var(--font-headings);
}

.hero-subtitle {
  font-size: 1.125rem; /* 18px */
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8) !important; /* White 80% opacity */
  max-width: 480px; /* Max width 480px */
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Trust checkmarks under Hero CTAs */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9) !important;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-red);
}

/* ==========================================================================
   WHY CHOOSE US / GRID SYSTEM
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-lg) auto;
}

.section-header p {
  color: var(--text-grey);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

/* Benefit Cards */
.benefit-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md); /* 12px cards */
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card); /* 0 4px 24px rgba(0,0,0,0.08) */
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.benefit-icon-wrapper {
  background-color: rgba(230, 57, 70, 0.08); /* Urgent Red tint */
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-red);
}

.benefit-icon-wrapper svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* ==========================================================================
   SERVICE & AUTOMOTIVE CARDS
   ========================================================================== */
.service-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-top: 3px solid transparent; /* Smooth hover border transition */
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-top: 3px solid var(--accent-red); /* Urgent top border accent */
}

.service-card-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.service-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-grey);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.service-card-bullets {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-card-bullets li {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-grey);
  margin-bottom: 0.35rem;
}

.service-card-bullets li svg {
  width: 14px;
  height: 14px;
  fill: var(--success-green);
  flex-shrink: 0;
}

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

.service-card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-red);
  text-decoration: none;
}

.service-card-link:hover {
  color: var(--accent-red-hover);
  text-decoration: underline;
}

/* ==========================================================================
   CAR LOCKSMITH SECTION
   ========================================================================== */
.split-feature {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  align-items: center;
}

.split-feature-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.split-feature-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.badge-featured {
  background-color: rgba(230, 57, 70, 0.08); /* urgent red tint */
  color: var(--accent-red);
  border: 1px solid var(--accent-red);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  display: inline-block;
  font-family: var(--font-headings);
}

.feature-bullets {
  list-style: none;
  margin: 1.5rem 0 2.5rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.feature-bullets li svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-red);
}

/* ==========================================================================
   AREAS SERVED HUB
   ========================================================================== */
.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 2rem 0;
}

.area-pill {
  background-color: var(--white);
  color: var(--accent-red);
  border: 1px solid var(--accent-red);
  padding: 12px 20px; /* 12px 20px padding */
  border-radius: 8px; /* 8px radius */
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-headings);
  transition: all var(--transition-fast);
}

.area-pill:hover {
  background-color: var(--accent-red);
  color: var(--white) !important;
  border-color: var(--accent-red);
}

/* ==========================================================================
   REVIEWS & SOCIAL PROOF
   ========================================================================== */
.reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: #FFC107; /* Yellow rating stars as per spec */
  margin-bottom: 0.5rem;
}

.stars svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.review-badge-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.review-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md); /* 12px card border-radius */
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card); /* 0 4px 24px rgba(0,0,0,0.08) */
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.review-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-navy);
}

.reviewer-location {
  font-size: 0.85rem;
  color: var(--text-grey);
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}

.stat-item {
  min-width: 180px;
}

.stat-number {
  font-size: 36px; /* Syne bold 36px as per spec */
  font-weight: 800;
  color: var(--accent-red);
  font-family: var(--font-headings);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 14px; /* DM Sans 14px white 70% as per spec */
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   EEAT TRUST / STORY SECTION
   ========================================================================== */
.trust-split {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.trust-split-img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  height: 480px;
}

.trust-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accreditations-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: center;
}

.logo-badge {
  background-color: var(--light-bg);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--primary-navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--border-color);
  opacity: 0.85;
}

/* ==========================================================================
   FAQ SECTION (ACCORDIONS)
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md); /* 12px cards */
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card); /* 0 4px 24px rgba(0,0,0,0.08) */
  transition: all var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--accent-red); /* Urgent Red border when open */
}

.faq-trigger {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-trigger::-webkit-details-marker {
  display: none;
}

.faq-trigger::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-red);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-trigger::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-grey);
  font-size: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

/* ==========================================================================
   FINAL CTA STRIP / BANNER
   ========================================================================== */
.cta-strip {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: var(--spacing-xl) 0; /* generous desktop vertical padding */
  text-align: center;
  border-top: 5px solid var(--accent-red);
  background: radial-gradient(circle at top right, rgba(230, 57, 70, 0.15), transparent), var(--primary-navy);
}

.cta-strip-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-family: var(--font-headings);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white) !important;
}

.cta-strip-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8) !important;
}

.cta-strip-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #0F0F1A; /* Solid Dark Section BG */
  color: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-xl) 0 var(--spacing-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  font-family: var(--font-headings);
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 3fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-logo-col p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-2px);
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 0.75rem;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--accent-red) !important; /* Red accent on link hover */
  padding-left: 0.25rem;
}

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  margin-bottom: 0.85rem;
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact-info svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-red);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-map-wrapper {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.5) !important;
}

.footer-legal-links a:hover {
  color: var(--accent-red) !important;
}

/* ==========================================================================
   MOBILE FLOATING WHATSAPP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: var(--white);
  transition: all var(--transition-normal);
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  background-color: #128c7e;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Emergency indicator pulse */
.floating-whatsapp::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  border: 2px solid #25d366;
  opacity: 0;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* ==========================================================================
   PAGES SPECIFIC / BREADCRUMBS / SILO COMPONENT
   ========================================================================== */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--text-grey);
}

.breadcrumbs-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumbs-item::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--border-color);
}

.breadcrumbs-item:last-child::after {
  display: none;
}

.breadcrumbs-link {
  color: var(--text-grey) !important;
  text-decoration: none;
}

.breadcrumbs-link:hover {
  color: var(--accent-red) !important;
}

.breadcrumbs-current {
  color: var(--primary-navy);
  font-weight: 600;
}

/* Local Map Section */
.local-map-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.local-map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--border-color);
}

.local-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Page Related Cards Widget */
.related-widget {
  margin-top: var(--spacing-xl);
  border-top: 1px solid var(--border-color);
  padding-top: var(--spacing-lg);
}

/* Pricing Table */
.pricing-table-wrapper {
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th, .pricing-table td {
  padding: 1rem 1.5rem;
}

.pricing-table th {
  background-color: var(--primary-navy);
  color: var(--white);
  font-family: var(--font-headings);
  font-weight: 700;
}

.pricing-table tr {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-fast);
}

.pricing-table tr:last-child {
  border-bottom: none;
}

.pricing-table tr:hover {
  background-color: var(--light-bg);
}

.price-tag {
  font-family: var(--font-headings);
  font-weight: 800;
  color: var(--accent-red);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-split {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .trust-split-img-wrapper {
    height: 350px;
  }
}

@media (max-width: 1050px) {
  /* CSS Custom Properties Scaling for Mobile */
  :root {
    --spacing-lg: 1.5rem;
    --spacing-xl: 2.25rem;
    --spacing-md: 1.25rem; /* Enforces strict min 20px horizontal page margin globally */
  }

  /* Viewport and Typography Protection */
  body:not(:has(.hero)) {
    overflow-x: hidden !important;
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    padding-top: 85px !important;
  }
  body:has(.hero) {
    overflow-x: hidden !important;
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    padding-top: 0 !important;
  }

  h1 {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }
  
  h2 {
    font-size: 23px !important;
    line-height: 1.3 !important;
  }
  
  h3 {
    font-size: 19px !important;
    line-height: 1.3 !important;
  }

  /* Mobile Floating Capsule Header Style */
  .header-wrapper {
    position: fixed !important;
    top: 12px !important;
    left: 12px !important;
    right: 12px !important;
    width: calc(100% - 24px) !important;
    border-radius: 14px !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05) !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    z-index: 2001 !important;
    transition: all var(--transition-normal) !important;
  }

  .header-top {
    display: none !important;
  }
  
  .header-main {
    padding: 0.6rem var(--spacing-sm) !important;
  }

  .logo {
    font-size: 1.15rem !important; /* Ensure logo text never collides or wraps */
    gap: 0.35rem;
  }
  
  .logo svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* Mobile Circular Header Action Icons (min 44x44px touch boxes) */
  .desktop-only-btn {
    display: none !important;
  }
  
  .mobile-only-icon-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: all var(--transition-fast);
    touch-action: manipulation;
    box-sizing: border-box !important;
  }
  
  .mobile-only-icon-btn svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
  }
  
  .mobile-only-icon-btn.mobile-action-wa {
    background-color: #25D366 !important;
    color: var(--white) !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3) !important;
  }

  .nav-actions {
    gap: 0.5rem !important;
  }

  /* Hamburger Menu Button Tap Target Optimization */
  .hamburger-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    background: var(--light-bg) !important;
    border-radius: 10px !important;
    border: 1px solid var(--border-color) !important;
    touch-action: manipulation;
    box-sizing: border-box !important;
    padding: 0;
    margin-left: 0.25rem;
    color: var(--primary-navy) !important;
  }

  /* Premium Right Slide-in Navigation Drawer */
  .nav-menu {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    height: 100vh !important;
    width: 320px !important;
    max-width: 85% !important;
    background-color: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000 !important;
    flex-direction: column !important;
    padding: 2rem !important;
    box-sizing: border-box !important;
    transform: translateX(100%) !important;
    opacity: 0 !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease !important;
    pointer-events: none !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-shadow: -10px 0 40px rgba(15, 23, 42, 0.2) !important;
    gap: 0 !important;
    border-bottom: none !important;
  }
  
  .nav-menu.active {
    transform: translateX(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  .nav-item {
    width: 100% !important;
  }
  
  .nav-link {
    width: 100% !important;
    justify-content: space-between !important;
    padding: 0.95rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    font-size: 1.05rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: var(--font-headings) !important;
  }
  
  /* Mobile-only Drawer Headers & Closers */
  .mobile-drawer-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 1.25rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-bottom: 1.25rem !important;
    width: 100% !important;
  }
  
  .drawer-title {
    font-family: var(--font-headings) !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    color: var(--white) !important;
  }
  
  .drawer-close-btn {
    background: none !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.6) !important;
    cursor: pointer !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    touch-action: manipulation;
  }
  
  .mobile-drawer-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-top: 2.5rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 100% !important;
  }
  
  .btn-drawer-call, .btn-drawer-wa {
    width: 100% !important;
    height: 48px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    font-size: 0.95rem !important;
    font-family: var(--font-headings) !important;
    font-weight: 600 !important;
  }
  
  .btn-drawer-call {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: var(--white) !important;
  }
  
  .btn-drawer-wa {
    background-color: var(--success-green) !important;
    border: none !important;
    color: var(--white) !important;
  }
  
  /* Active Highlights inside Sliding Menu */
  .nav-menu .active-menu-item {
    color: var(--accent-red) !important;
    font-weight: 700 !important;
  }
  
  .nav-menu .active-menu-item-parent {
    color: var(--accent-red) !important;
  }

  /* Backdrop dimming overlay backdrop styles */
  .nav-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(26, 26, 46, 0.75) !important;
    backdrop-filter: blur(5px) !important;
    z-index: 1999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s !important;
    pointer-events: none !important;
  }
  
  .nav-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Mobile Dropdowns */
  .nav-dropdown {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none !important;
    width: 100% !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0.5rem 0 0.5rem 1rem !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    margin-bottom: 0.5rem !important;
    box-sizing: border-box !important;
  }
  
  .nav-dropdown.active {
    display: block !important;
  }
  
  .nav-dropdown-item {
    width: 100% !important;
  }
  
  .nav-dropdown-link {
    padding: 0.65rem 0 !important;
    font-size: 0.95rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  }
  
  .nav-link.dropdown-open .arrow-css {
    transform: rotate(180deg) !important;
  }
  
  .hero {
    min-height: auto !important;
    text-align: center !important;
    padding-top: 125px !important;
    padding-bottom: var(--spacing-xl) !important;
  }
  
  .hero::after {
    background: rgba(26, 26, 46, 0.88) !important;
  }
  
  .hero-ctas {
    justify-content: center !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  
  .hero-ctas .btn {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }
  
  .trust-bar {
    justify-content: center !important;
    gap: 1rem !important;
  }

  /* Grid Layouts Stacking Override */
  .grid-4, .grid-3, .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  
  .split-feature {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-md) !important;
  }
  
  .split-feature-img {
    height: 250px !important;
  }
  
  .feature-bullets {
    grid-template-columns: 1fr !important;
    margin-bottom: 1.25rem !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .local-map-section {
    grid-template-columns: 1fr !important;
  }
  
  .local-map-embed {
    height: 280px !important;
  }

  /* Global Container and Spacing Rules */
  .container {
    padding-left: var(--spacing-md) !important;
    padding-right: var(--spacing-md) !important;
  }
  
  .section {
    padding-top: var(--spacing-xl) !important;
    padding-bottom: var(--spacing-xl) !important;
  }

  /* USP / Key Selling Points Card Upgrades */
  .benefit-card {
    padding: 1.25rem !important; /* robust 20px padding */
    box-shadow: 0 8px 24px rgba(26, 26, 46, 0.06) !important;
    border-radius: var(--radius-md) !important;
    text-align: center !important;
  }
  
  .benefit-icon-wrapper {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 0.75rem auto !important;
  }
  
  .benefit-icon-wrapper svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* Forms & Interactive Input Mobile Upgrades */
  .quote-form-card {
    padding: 1.75rem 1.25rem !important; /* 20px card boundaries */
    border-radius: var(--radius-md) !important;
  }
  
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important; /* min 12px distance */
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    min-height: 48px !important; /* 48px click targets */
    font-size: 16px !important; /* prevent iOS focus viewport auto-zoom */
    padding: 0.75rem !important;
  }
  
  .form-group textarea {
    min-height: 100px !important;
  }
  
  .form-group {
    gap: 6px !important;
  }
  
  .btn-whatsapp-submit {
    width: 100% !important;
    height: 48px !important;
    font-size: 0.95rem !important;
    padding: 0 1.75rem !important;
    border-radius: var(--radius-sm) !important;
  }
  
  .form-submit-container {
    margin-top: 1.5rem !important;
  }

  /* Button Touch Box Upgrades */
  .btn {
    padding: 12px 24px;
    font-size: 14px;
    min-height: 48px !important;
    font-size: 16px !important;
    touch-action: manipulation;
  }
  
  /* Responsive Floating WhatsApp */
  .floating-whatsapp {
    bottom: 16px !important;
    right: 16px !important;
    width: 52px !important;
    height: 52px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
  }
  
  .floating-whatsapp svg {
    width: 28px !important;
    height: 28px !important;
  }
}

/* ==========================================================================
   PHASE 2 - MODERN CSS DROPDOWN ARROWS & MEGA DROPDOWN LOCATIONS
   ========================================================================== */
.arrow-css {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-top: 4px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  border-bottom: 0;
  transition: transform var(--transition-fast);
}

.nav-item:hover .arrow-css {
  transform: rotate(180deg);
}

/* 3-Column Mega Dropdown for 40 Location Pages */
.nav-dropdown-locations {
  width: 600px !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  padding: 1.25rem !important;
  gap: 0.25rem 0.75rem !important;
}

.nav-dropdown-locations .nav-dropdown-item {
  width: auto !important;
}

.nav-dropdown-locations .nav-dropdown-link {
  padding: 0.4rem 0.6rem !important;
  font-size: 0.85rem !important;
  border-radius: var(--radius-sm);
}

.nav-dropdown-locations .nav-dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent-red) !important;
  padding-left: 0.8rem !important;
}

/* Responsive fixes for Mega Dropdown on Mobile */
@media (max-width: 1050px) {
  .nav-dropdown-locations {
    width: 100% !important;
    grid-template-columns: 1fr !important;
    display: block !important;
    max-height: 300px;
    overflow-y: auto;
  }
}

/* ==========================================================================
   PHASE 3 - UI/UX CONTRAST, GEOLOCATION ENRICHMENT & RESPONSIVENESS
   ========================================================================== */

/* Low Contrast Override Fixes */
.hero h1,
.hero h2,
.hero h3,
.hero p,
.hero-subtitle,
.hero-content p,
.cta-strip h2,
.cta-strip h3,
.cta-strip p,
.cta-strip-title,
.cta-strip-subtitle,
.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy p {
  color: var(--white) !important;
}

.hero .trust-item {
  color: rgba(255, 255, 255, 0.9) !important;
}

.hero .trust-item svg {
  fill: var(--accent-red) !important;
}

/* Responsive Location Silo Layout Grid */
.location-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-top: 3rem;
}

@media (min-width: 769px) {
  .location-layout-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* Location Sidebar styling */
.location-info-sidebar {
  background-color: var(--light-bg);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  height: fit-content;
  box-shadow: 0 8px 24px var(--shadow-color);
}

.location-info-sidebar h3 {
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--accent-red);
  padding-bottom: 0.5rem;
  font-size: 1.3rem;
}

.location-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.location-info-list li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-dark);
  border-bottom: 1px dashed rgba(26, 26, 46, 0.1);
  padding-bottom: 0.75rem;
}

.location-info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.location-info-list strong {
  color: var(--primary-navy);
  display: block;
  font-weight: 700;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* Pricing Table Horizontal Scroll Fix for Mobile */
.pricing-table-wrapper {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* Car Brands We Work With Showcase */
.car-brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 576px) {
  .car-brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .car-brands-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.car-brand-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px var(--shadow-color);
}

.car-brand-card:hover {
  border-color: var(--accent-red);
}

.car-brand-icon-wrapper {
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-brand-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.car-brand-name {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 0.95rem;
}

/* Interactive Services Showcase Grid */
.local-services-container {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

.local-services-header {
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent-red);
  padding-left: 1rem;
}

.local-services-header h2 {
  margin-bottom: 0.5rem;
}

.local-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .local-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .local-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.local-service-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-fast);
}

.local-service-card:hover {
  border-color: var(--primary-navy);
}

.local-service-icon-wrapper {
  background-color: #eceae3;
  color: var(--accent-red);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.local-service-card:hover .local-service-icon-wrapper {
  background-color: var(--accent-red);
  color: var(--white);
}

.local-service-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.local-service-card h3 {
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.local-service-card p {
  font-size: 0.95rem;
  color: var(--text-grey);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.local-service-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-navy);
  transition: color var(--transition-fast);
}

.local-service-card:hover .local-service-btn {
  color: var(--accent-red);
}

/* ==========================================================================
   INTERACTIVE QUOTE FORM STYLES
   ========================================================================= */
.quote-form-section {
  padding: 4rem 0;
  background-color: var(--light-bg);
  border-top: 1px solid var(--border-color);
}

.quote-form-card {
  background-color: var(--primary-navy);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .quote-form-card {
    padding: 3.5rem 3rem;
  }
}

.quote-form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.badge-quote {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.whatsapp-quote-form {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.form-group label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(255, 79, 0, 0.2);
}

.form-group select option {
  background-color: var(--primary-navy);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
}

.form-tip {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.5rem;
}

.form-submit-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.btn-whatsapp-submit {
  background-color: #25D366;
  color: var(--white) !important;
  border: none;
  padding: 1rem 2.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}

.btn-whatsapp-submit:hover {
  background-color: #20ba5a;
}

.btn-whatsapp-submit:active {
  transform: translateY(0);
}

.btn-whatsapp-submit svg {
  fill: currentColor;
}

/* Mobile-specific adjustments for extremely small screens (iPhone SE, etc.) */
@media (max-width: 480px) {
  h1 {
    font-size: 24px !important;
  }
  h2 {
    font-size: 20px !important;
  }
  h3 {
    font-size: 18px !important;
  }
  .logo {
    font-size: 1.05rem !important;
  }
}

/* Sticky Mobile Bottom Bar */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .floating-whatsapp {
    display: none !important;
  }
  
  .mobile-bottom-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 64px !important;
    z-index: 9999 !important;
    background-color: #0F0F1A !important;
    border-top: 2px solid var(--accent-red) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }
  
  .mobile-bottom-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 100%;
    color: var(--white) !important;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
  }
  
  .mobile-bottom-call {
    background-color: var(--accent-red) !important;
  }
  
  .mobile-bottom-wa {
    background-color: var(--success-green) !important;
  }
}

/* REDESIGN OVERRIDES FOR INLINE ELEMENTS */
.badge-featured {
  background-color: rgba(230, 57, 70, 0.08) !important;
  color: var(--accent-red) !important;
  border: 1px solid var(--accent-red) !important;
  border-radius: var(--radius-full) !important;
  font-family: var(--font-headings) !important;
}

/* ==========================================================================
   MOBILE OPTIMIZATIONS FOR ALL SERVICE AREA / LOCATION PAGES
   ========================================================================== */
@media (max-width: 768px) {
  /* location-layout-grid spacing */
  .location-layout-grid {
    margin-top: 2rem !important;
    gap: 2rem !important;
  }

  /* location-info-sidebar responsive card redesign */
  .location-info-sidebar {
    padding: 1.5rem !important;
    margin-top: 1.5rem !important;
    border-radius: var(--radius-md) !important;
    background-color: var(--light-bg) !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03) !important;
  }
  
  .location-info-sidebar h3 {
    font-size: 1.2rem !important;
    margin-bottom: 1.25rem !important;
  }
  
  .location-info-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }
  
  .location-info-list li {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    background-color: var(--white) !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.01) !important;
  }
}

@media (max-width: 576px) {
  .location-info-list {
    grid-template-columns: 1fr !important; /* Stack cleanly on tiny mobile screens */
  }

  /* Stack button containers in split-feature and make CTA buttons huge & touch-friendly */
  .split-feature div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-top: 1.5rem !important;
  }
  
  .split-feature .btn {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
  }
  
  /* Redesign related/adjacent links section at bottom into modern interactive capsules */
  div[style*="border-top"] > div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem 0.75rem !important;
    margin-top: 1rem !important;
  }
  
  div[style*="border-top"] a[style*="display: inline-block"] {
    background-color: var(--light-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-full) !important;
    padding: 6px 14px !important;
    font-size: 0.8rem !important;
    margin-right: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: var(--text-dark) !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    transition: all var(--transition-fast) !important;
  }
  
  div[style*="border-top"] a[style*="display: inline-block"]:hover {
    background-color: var(--accent-red) !important;
    color: var(--white) !important;
    border-color: var(--accent-red) !important;
    transform: translateY(-1px);
  }
  
  /* Stacking the map embed neatly on mobile and ensuring text has nice separation */
  .local-map-section {
    margin-top: 2.5rem !important;
    gap: 1.5rem !important;
  }
  
  .local-map-embed {
    height: 250px !important;
  }
}

@media (max-width: 480px) {
  .local-service-card {
    padding: 1.25rem !important;
  }
  
  .local-service-card h3 {
    font-size: 1.05rem !important;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS OVERRIDES FOR ALL SERVICE PAGES & ELEMENTS
   ========================================================================== */
@media (max-width: 767px) {
  /* Service content splitting grids stacking */
  .service-content-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    margin-top: 2.5rem !important;
  }
  
  /* Service promises sidebar stacking */
  .service-promises-sidebar {
    padding: 1.25rem !important;
    margin-top: 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Comparing security standards BS3621 / TS007 mobile adjustments */
  .security-standards-comparison {
    padding: 1.25rem !important;
    margin-top: 2.5rem !important;
  }
  
  .security-standards-comparison h3 {
    font-size: 1.2rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  /* Service cards and subCards vertical button stacking */
  .service-card-ctas {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  
  .service-card-ctas .btn {
    width: 100% !important;
    margin: 0 !important;
    justify-content: center !important;
  }

  /* Service Card Bullets Stacking on mobile */
  .service-card-bullets {
    grid-template-columns: 1fr !important;
    gap: 0.4rem !important;
  }

  /* Contact page grid layout stack */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    margin-top: 2rem !important;
  }
  
  .contact-grid > div {
    padding: 1.75rem 1.25rem !important;
  }

  .contact-map-wrapper {
    height: 300px !important;
  }
  
  /* Typography Scaling for Mobile Readability */
  h1 {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }
  
  h2 {
    font-size: 22px !important;
    line-height: 1.35 !important;
  }
  
  h3 {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }
  
  p, li, td {
    line-height: 1.5 !important;
  }

  .hero h1 {
    margin-top: 0.75rem !important;
    margin-bottom: 1.25rem !important;
  }
}

/* ==========================================================================
   24/7 AI CHATBOT "CORNEL" GLOBAL STYLES
   ========================================================================== */
.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  font-family: var(--font-body);
}

/* Launcher Button */
.chatbot-launcher {
  background-color: var(--primary-navy);
  color: var(--white);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(26, 26, 46, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition-normal);
  z-index: 10;
}

.chatbot-launcher:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 26, 46, 0.45);
  background-color: var(--accent-red);
}

.chatbot-launcher svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.chatbot-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background-color: var(--success-green);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Welcome Badge */
.chatbot-badge {
  position: absolute;
  right: 75px;
  top: 12px;
  background: var(--white);
  color: var(--primary-navy);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px 20px 0 20px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(26, 26, 46, 0.1);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all var(--transition-normal);
  animation: badge-slide-in 0.8s 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes badge-slide-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.chatbot-container:hover .chatbot-badge {
  background-color: var(--light-bg);
}

/* Chat Window */
.chatbot-window {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 380px;
  height: 520px;
  max-height: calc(100vh - 120px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(26, 26, 46, 0.08);
  box-shadow: 0 12px 40px rgba(26, 26, 46, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.chatbot-window.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

/* Chat Header */
.chatbot-header {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chatbot-header-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-header-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chatbot-header-info h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white) !important;
  font-family: var(--font-headings);
}

.chatbot-header-status {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chatbot-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #25D366;
  border-radius: 50%;
  animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.chatbot-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chatbot-header-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.chatbot-header-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Chat Messages */
.chatbot-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #f8fafc;
}

.chatbot-msg-row {
  display: flex;
  gap: 8px;
  max-width: 85%;
}

.chatbot-msg-row.bot {
  align-self: flex-start;
}

.chatbot-msg-row.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chatbot-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.chatbot-msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.bot .chatbot-msg-bubble {
  background-color: var(--white);
  color: var(--text-dark);
  border-top-left-radius: 2px;
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.user .chatbot-msg-bubble {
  background-color: var(--primary-navy);
  color: var(--white);
  border-top-right-radius: 2px;
}

.chatbot-msg-bubble p {
  margin: 0 0 8px 0;
}

.chatbot-msg-bubble p:last-child {
  margin-bottom: 0;
}

.chatbot-msg-bubble strong {
  font-weight: 700;
  color: inherit;
}

.chatbot-msg-bubble ul, .chatbot-msg-bubble ol {
  margin: 6px 0;
  padding-left: 18px;
}

.chatbot-msg-bubble li {
  margin-bottom: 4px;
  font-size: 0.85rem;
}

.chatbot-msg-bubble .btn-chat-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #25D366;
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 6px;
  margin-top: 8px;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.2);
}

.chatbot-msg-bubble .btn-chat-action svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.chatbot-msg-bubble .btn-chat-action:hover {
  background-color: #20ba5a;
}

/* Typing Indicator */
.chatbot-typing {
  display: none;
  align-self: flex-start;
  background-color: var(--white);
  padding: 10px 16px;
  border-radius: 14px;
  border-top-left-radius: 2px;
  border: 1px solid rgba(15, 23, 42, 0.04);
  gap: 4px;
  align-items: center;
}

.chatbot-typing.active {
  display: flex;
}

.chatbot-typing span {
  width: 6px;
  height: 6px;
  background-color: var(--text-grey);
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite ease-in-out both;
}

.chatbot-typing span:nth-child(1) { animation-delay: -0.32s; }
.chatbot-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Action Chips */
.chatbot-chips {
  padding: 8px 12px;
  background-color: #f1f5f9;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chatbot-chip {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  color: var(--primary-navy);
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}

.chatbot-chip:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  transform: translateY(-1px);
}

/* Chat Input */
.chatbot-input-container {
  display: flex;
  background-color: var(--white);
  padding: 10px 12px;
  border-top: 1px solid var(--border-color);
  align-items: center;
  gap: 8px;
}

.chatbot-input {
  flex-grow: 1;
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-family: inherit;
  padding: 6px 4px;
}

.chatbot-send-btn {
  background-color: var(--accent-red);
  color: var(--white);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  padding: 0;
}

.chatbot-send-btn:hover {
  background-color: #d62837;
  transform: scale(1.05);
}

.chatbot-send-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  margin-left: 2px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .chatbot-container {
    bottom: 74px; /* Sits exactly 10px above the 64px mobile bottom bar */
    right: 16px;
  }
  
  .chatbot-badge {
    display: none !important; /* Hide welcome badge on mobile to save space */
  }
}

@media (max-width: 480px) {
  .chatbot-window {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 64px; /* Sits just above mobile bottom bar */
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 0 !important;
    border: none !important;
  }
  
  .chatbot-header {
    border-radius: 0 !important;
  }
  
  .chatbot-input-container {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    padding-bottom: 20px; /* Padding for iOS bottom safe area */
  }
}




