/* ==========================================================================
   A.C.G Plumbing & Heating — Professional UK Engineering Stylesheet
   Colour Palette:
     Deep Navy Blue:       #10243A
     Professional Blue:    #1769AA
     Electric Blue Accent: #2D9CDB
     Warm Heating Accent:  #FF5722 / #FFA000
     White:                #FFFFFF
     Light Grey / Tint:    #F4F7FA
     Dark Charcoal Text:   #263445
     WhatsApp Brand Green: #25D366
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  --navy: #10243A;
  --navy-dark: #0B1928;
  --navy-light: #16324F;
  --navy-trans: rgba(16, 36, 58, 0.95);
  
  --blue: #1769AA;
  --blue-hover: #125488;
  --blue-light: #EBF4FC;
  --blue-border: #D0E4F5;
  
  --accent: #2D9CDB;
  --accent-light: #4CB5F5;
  --accent-cyan: #00C6FF;
  
  --flame: #FF5722;
  --flame-warm: #FFA000;
  --flame-glow: rgba(255, 87, 34, 0.15);
  
  --whatsapp: #25D366;
  --whatsapp-hover: #1EBE5D;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);
  
  --text-primary: #263445;
  --text-secondary: #536B82;
  --text-muted: #7E93A8;
  --text-light: #FFFFFF;
  --text-light-muted: #BDD0E2;
  
  --bg-page: #F4F7FA;
  --bg-card: #FFFFFF;
  --bg-subtle: #F0F4F8;
  
  --border-subtle: #E2EDF8;
  --border-medium: #CADBE9;
  
  --shadow-xs: 0 1px 3px rgba(16, 36, 58, 0.05);
  --shadow-sm: 0 4px 12px rgba(16, 36, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 36, 58, 0.09);
  --shadow-lg: 0 16px 40px rgba(16, 36, 58, 0.12);
  --shadow-xl: 0 24px 50px rgba(16, 36, 58, 0.18);
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-heading: 'Manrope', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --container-max: 1240px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  
  --mobile-bottom-height: 64px;
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Ensure images never overflow, rotate upright */
img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
  image-orientation: from-image;
}

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

a:hover {
  color: var(--blue-hover);
}

ul, ol {
  list-style: none;
}

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

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.section {
  padding: 80px 0;
  position: relative;
}

.section-sm {
  padding: 50px 0;
}

.section-lg {
  padding: 100px 0;
}

.bg-white { background-color: #FFFFFF; }
.bg-light { background-color: var(--bg-page); }
.bg-navy { background-color: var(--navy); color: #FFFFFF; }
.bg-navy-dark { background-color: var(--navy-dark); color: #FFFFFF; }
.bg-subtle { background-color: var(--bg-subtle); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.6em;
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4,
.bg-navy-dark h1, .bg-navy-dark h2, .bg-navy-dark h3, .bg-navy-dark h4 {
  color: #FFFFFF;
}

h1 { font-size: clamp(2rem, 4vw + 0.5rem, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw + 0.3rem, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2vw + 0.2rem, 1.65rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.bg-navy .lead, .bg-navy-dark .lead {
  color: var(--text-light-muted);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

.section-header.text-left {
  margin-left: 0;
  text-align: left;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--blue-light);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid var(--blue-border);
}

.badge-tag.badge-orange {
  background-color: #FFF3E0;
  color: #E65100;
  border-color: #FFE0B2;
}

.badge-tag.badge-navy {
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: 2px solid transparent;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--blue);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(23, 105, 170, 0.3);
}

.btn-primary:hover {
  background-color: var(--blue-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 105, 170, 0.4);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--navy);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  background-color: var(--blue-light);
}

.btn-navy {
  background-color: var(--navy);
  color: #FFFFFF;
}

.btn-navy:hover {
  background-color: var(--navy-light);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--navy);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--whatsapp-glow);
}

.btn-call {
  background-color: #E8F5E9;
  color: #2E7D32;
  border-color: #C8E6C9;
}

.btn-call:hover {
  background-color: #2E7D32;
  color: #FFFFFF;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

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

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* ==========================================================================
   HEADER & TOP BAR
   Mobile Polish Requirement 1:
   Hide top announcement bar on mobile (<992px) - keep header clean with just logo, search/call, and menu.
   ========================================================================== */
.top-bar {
  background-color: var(--navy-dark);
  color: #D3E0EA;
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #BDD0E2;
}

.top-bar-item a {
  color: #FFFFFF;
}

.top-bar-item a:hover {
  color: var(--accent);
}

.top-bar-highlight {
  color: #FFB300;
  font-weight: 700;
}

/* Hide top announcement bar on tablets & mobile (<992px) */
@media (max-width: 991px) {
  .top-bar {
    display: none !important;
  }
}

/* --- Main Header --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(16, 36, 58, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  transition: height var(--transition-fast);
}

.site-header.scrolled .header-inner {
  height: 72px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 52px;
  width: auto;
  transition: height var(--transition-fast);
}

.site-header.scrolled .brand-logo img {
  height: 46px;
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

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

.nav-link svg.chevron {
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg.chevron {
  transform: rotate(180deg);
}

/* Dropdown Mega Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 320px;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  pointer-events: none;
  z-index: 1010;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: background-color var(--transition-fast);
}

.dropdown-link:hover {
  background-color: var(--blue-light);
}

.dropdown-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-page);
  border-radius: var(--radius-xs);
  color: var(--blue);
  flex-shrink: 0;
}

.dropdown-link:hover .dropdown-icon {
  background-color: var(--blue);
  color: #FFFFFF;
}

.dropdown-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}

.dropdown-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone-call {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-page);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.header-phone-call:hover {
  background-color: var(--blue-light);
  border-color: var(--blue-border);
}

.phone-icon-pulse {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--blue);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-info-text {
  display: flex;
  flex-direction: column;
}

.phone-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone-number {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.1;
}

/* Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--navy);
  border-radius: var(--radius-sm);
}

.mobile-toggle:hover {
  background-color: var(--bg-page);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(16, 36, 58, 0.2);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(16, 36, 58, 0.6);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

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

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
  padding: 6px;
  border-radius: 50%;
}

.drawer-body {
  padding: 20px 22px;
  flex: 1;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
}

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

.drawer-submenu {
  padding-left: 14px;
  margin-top: 4px;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.drawer-submenu.show {
  display: flex;
}

.drawer-sublink {
  display: block;
  padding: 8px 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
}

.drawer-sublink:hover {
  color: var(--blue);
  background-color: var(--blue-light);
}

.drawer-footer {
  padding: 20px 22px;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-page);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR
   Mobile Polish Requirement 2:
   Bottom nav bar must fit 100% width with 0 horizontal overflow
   (use width: 100%, flex: 1 1 0, no 100vw) so all buttons including 'Enquire'
   are fully visible without cutting off.
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-medium);
  box-shadow: 0 -4px 16px rgba(16, 36, 58, 0.08);
  z-index: 1000;
  padding: 6px 4px;
  padding-bottom: max(6px, env(safe-area-inset-bottom));
}

.mobile-bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.bottom-nav-item {
  flex: 1 1 0;
  min-width: 0; /* prevents flex child overflowing */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 2px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: color var(--transition-fast);
  border-radius: var(--radius-xs);
}

.bottom-nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.bottom-nav-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
}

.bottom-nav-item.highlight-call {
  color: #1565C0;
}

.bottom-nav-item.highlight-whatsapp {
  color: #128C7E;
}

.bottom-nav-item.highlight-quote {
  color: var(--flame);
}

.bottom-nav-item:active, .bottom-nav-item:hover {
  background-color: var(--blue-light);
  color: var(--blue);
}

/* Show mobile bottom nav only on mobile/tablets (<992px) */
@media (max-width: 991px) {
  body {
    padding-bottom: var(--mobile-bottom-height);
  }
  .mobile-bottom-nav {
    display: block !important;
  }
  .main-nav, .header-phone-call, .header-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (Mandatory UK Integration)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--whatsapp);
  color: #FFFFFF;
  padding: 12px 18px 12px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all var(--transition-base);
  text-decoration: none;
}

.floating-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: #FFFFFF;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-pulse-ring {
  position: relative;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-pulse-ring svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
}

/* On mobile, lift WhatsApp button above bottom nav bar */
@media (max-width: 991px) {
  .floating-whatsapp {
    bottom: calc(var(--mobile-bottom-height) + 14px);
    right: 16px;
    padding: 12px;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
  }
  .floating-whatsapp .whatsapp-text {
    display: none;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0D1F32 0%, #10243A 60%, #163656 100%);
  color: #FFFFFF;
  padding: 80px 0 70px 0;
  overflow: hidden;
}

.hero-pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(45, 156, 219, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 87, 34, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(45, 156, 219, 0.16);
  border: 1px solid rgba(45, 156, 219, 0.35);
  border-radius: var(--radius-full);
  color: #82D1FF;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.hero-title {
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw + 0.5rem, 3.5rem);
  line-height: 1.15;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #4CB5F5 0%, #2D9CDB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #CFDFEE;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-trust-statement {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #9BB8D3;
  font-weight: 600;
}

.hero-trust-statement svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.12);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-floating-badge {
  position: absolute;
  bottom: -18px;
  left: 24px;
  background-color: #FFFFFF;
  color: var(--navy);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}

.badge-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1769AA, #2D9CDB);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.badge-text-title {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.1;
  color: var(--navy);
}

.badge-text-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   TRUST BAR (Section 2)
   ========================================================================== */
.trust-bar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-text-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.25;
}

.trust-text-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SERVICES GRID (Section 4)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

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

.service-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

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

.service-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  margin-top: auto;
}

.service-link:hover {
  color: var(--blue-hover);
  gap: 10px;
}

/* ==========================================================================
   WHY CHOOSE US (Section 5)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.why-card {
  background-color: #FFFFFF;
  padding: 30px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.why-icon {
  width: 52px;
  height: 52px;
  background-color: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 20px;
}

.why-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.why-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ==========================================================================
   DOMESTIC & COMMERCIAL PANELS (Section 6)
   ========================================================================== */
.split-panels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.split-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.split-panel-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.split-panel-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.split-panel:hover .split-panel-bg img {
  transform: scale(1.04);
}

.split-panel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(16, 36, 58, 0.95) 0%, rgba(16, 36, 58, 0.6) 60%, rgba(16, 36, 58, 0.2) 100%);
  z-index: 2;
}

.split-panel-content {
  position: relative;
  z-index: 3;
}

.split-panel-content h3 {
  color: #FFFFFF;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.split-panel-content p {
  color: #CFDFEE;
  font-size: 0.95rem;
  margin-bottom: 22px;
  max-width: 480px;
}

/* ==========================================================================
   EMERGENCY CTA BANNER (Section 7)
   ========================================================================== */
.emergency-banner {
  background: linear-gradient(135deg, #0B1928 0%, #10243A 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
}

.emergency-banner-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.emergency-title {
  color: #FFFFFF;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.emergency-desc {
  color: #BDD0E2;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.emergency-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==========================================================================
   PROJECT WORK GALLERY & LIGHTBOX (Section 8)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 270px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(16, 36, 58, 0.9) 0%, rgba(16, 36, 58, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.gallery-category {
  color: #82D1FF;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 25, 40, 0.95);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  color: #FFFFFF;
  text-align: center;
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 3010;
}

/* ==========================================================================
   CUSTOMER COMMITMENT / REVIEWS (Section 9)
   ========================================================================== */
.commitment-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.commitment-item {
  padding: 24px;
  border-radius: var(--radius-md);
  background-color: var(--bg-page);
  border-left: 4px solid var(--blue);
}

.commitment-item h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.commitment-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ==========================================================================
   ACCORDION FAQ (Section 10)
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--blue-border);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  cursor: pointer;
  gap: 16px;
}

.faq-trigger svg {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
  color: var(--blue);
}

.faq-item.active .faq-trigger svg {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 24px 22px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-body {
  display: block;
}

/* ==========================================================================
   CONTACT FORM & QUOTATION (Section 11)
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 50px;
}

.contact-info-card {
  background-color: var(--navy);
  color: #FFFFFF;
  padding: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card h3 {
  color: #FFFFFF;
  margin-bottom: 16px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 30px 0;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4CB5F5;
  flex-shrink: 0;
}

.contact-info-text strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9BB8D3;
  margin-bottom: 2px;
}

.contact-info-text p, .contact-info-text a {
  color: #FFFFFF;
  font-size: 0.96rem;
}

.contact-form-card {
  background-color: #FFFFFF;
  padding: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}

.form-label .req {
  color: var(--flame);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-medium);
  background-color: #FFFFFF;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 170, 0.12);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.form-check input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

/* Form status feedback */
.form-feedback {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
}

.form-feedback.error {
  display: block;
  background-color: #FFEBEE;
  color: #C62828;
  border: 1px solid #FFCDD2;
}

/* ==========================================================================
   FOOTER (Section 16)
   ========================================================================== */
.site-footer {
  background-color: var(--navy-dark);
  color: #BDD0E2;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-banner {
  background: linear-gradient(90deg, #16324F 0%, #1A3E62 100%);
  border-radius: var(--radius-md);
  padding: 30px 40px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-logo {
  margin-bottom: 18px;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.footer-about-text {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #BDD0E2;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-row svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-row a {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #7E93A8;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #7E93A8;
}

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

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 440px;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  z-index: 2500;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-title {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.cookie-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   PAGE HERO (SUBPAGES)
   ========================================================================== */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #0D1F32 0%, #10243A 100%);
  color: #FFFFFF;
  padding: 70px 0 50px 0;
  overflow: hidden;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #8FA2B7;
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: #BDD0E2;
}

.breadcrumbs a:hover {
  color: #FFFFFF;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.page-hero-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.15);
  height: 320px;
}

.page-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   Strict Mobile-First Polish
   ========================================================================== */
@media (max-width: 1199px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust-statement {
    justify-content: center;
  }
  .hero-image-card img {
    height: 360px;
  }
  .hero-floating-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    width: max-content;
  }
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-panels-grid {
    grid-template-columns: 1fr;
  }
  .emergency-banner-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .emergency-actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .commitment-grid {
    grid-template-columns: 1fr;
  }
  .contact-section-grid {
    grid-template-columns: 1fr;
  }
  .page-hero-grid {
    grid-template-columns: 1fr;
  }
  .page-hero-img {
    height: 240px;
  }
  .footer-top-banner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 60px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .trust-bar-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
  }
  .cookie-banner {
    left: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
    bottom: calc(var(--mobile-bottom-height) + 10px);
  }
}
