/* Black & Heale Construction Ltd - Design System (Specialist Joinery & Timber Frame Contractors) */

:root {
  /* Color Palette - Premium UK Contractor Theme */
  --bg-light: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-alt: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-dark-accent: #191b1c;
  
  /* Brand Green & Oak Accent Tokens (From Official Identity) */
  --gold-primary: #8ea832;
  --gold-light: #9ec035;
  --gold-dark: #6e8424;
  --gold-glow: rgba(142, 168, 50, 0.25);
  --gold-gradient: linear-gradient(135deg, #8ea832 0%, #748c23 100%);
  --gold-gradient-hover: linear-gradient(135deg, #9ec035 0%, #8ea832 100%);
  --bg-glass-gold: rgba(142, 168, 50, 0.1);

  /* Typography Colors */
  --text-primary: #0f172a;
  --text-secondary: #1e293b;
  --text-muted: #475569;
  --text-gold: #5d711c;

  /* Borders & Shadows */
  --border-subtle: #e2e8f0;
  --border-card: #cbd5e1;
  --border-gold: rgba(142, 168, 50, 0.4);
  --border-gold-bright: rgba(142, 168, 50, 0.85);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  /* Fonts - System Fallbacks */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions & Layout */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 84px;
}

/* TOP ANNOUNCEMENT BAR (DEMO TEST DESIGN SYSTEM) */
.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: #0f172a;
  color: #f8fafc;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  position: relative;
  z-index: 1001;
  transition: background 0.3s ease;
}

.announcement-bar:hover {
  background: #1e293b;
  color: #ffffff;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fefce8;
  border: 1px solid #fde047;
  color: #854d0e;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.typing-cursor {
  display: inline;
  color: #996515;
  font-weight: 300;
  margin-left: 2px;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-light);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Utility Classes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.heading-xl {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.14;
  color: #0f172a;
}

.heading-lg {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.22;
  color: #0f172a;
}

.heading-md {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: #0f172a;
}

.heading-sm {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.text-gold {
  color: #0284c7;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.text-lead {
  font-size: 1.08rem;
  color: #1e293b !important; /* Maximum contrast dark slate */
  line-height: 1.68;
  font-weight: 500;
}

.text-muted {
  color: #334155 !important;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: #f0f9ff;
  border: 1.5px solid #38bdf8;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: #0369a1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem auto;
}

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

.text-left {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.page-hero-header {
  max-width: 860px;
  margin-bottom: 2.5rem;
}

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

.page-hero-header.text-left .text-lead {
  margin-left: 0 !important;
  margin-right: auto !important;
}


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #1a2205 !important;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(142, 168, 50, 0.35);
}

.btn-primary:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(142, 168, 50, 0.5);
  color: #1a2205 !important;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--border-gold-bright);
  color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border: 1px solid var(--border-gold);
}

.btn-outline-gold:hover {
  background: var(--bg-glass-gold);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

.btn-phone {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(8px);
  padding: 1.1rem 2.2rem;
  font-weight: 800;
  transition: all 0.3s ease;
}

.btn-phone:hover {
  background: #ffffff !important;
  color: #1f2224 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Header & Navigation - Sleek Deep Black Theme */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  background: #000000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.header.scrolled {
  background: #000000;
  border-bottom: 1px solid rgba(142, 168, 50, 0.45);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.9);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.68rem;
  color: var(--gold-light);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #f1f5f9;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--gold-gradient);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(142, 168, 50, 0.6);
}

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

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: var(--transition);
}

.header-phone:hover {
  border-color: var(--gold-primary);
  color: #ffffff;
  background: rgba(142, 168, 50, 0.25);
  box-shadow: 0 0 16px rgba(142, 168, 50, 0.35);
}

.header-actions .btn,
.header-actions .btn-primary {
  padding: 0.68rem 1.6rem !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  border-radius: var(--radius-full) !important;
  white-space: nowrap !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 4px 14px rgba(142, 168, 50, 0.35) !important;
}

.header-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(142, 168, 50, 0.5) !important;
}

.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem 0.65rem;
  transition: var(--transition);
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

/* Ensure the first section on any page safely clears the fixed header */
header + .section,
header + main > .section:first-of-type,
body > .section:first-of-type,
main > .section:first-of-type,
.section:first-of-type {
  padding-top: calc(var(--header-height) + 3rem);
}

.section-light {
  background: #ffffff;
}

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

.section-dark-accent {
  background: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
  color: #ffffff;
  border-top: 2px solid var(--gold-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  padding: 5.5rem 0;
}

.section-dark-accent h1, 
.section-dark-accent h2, 
.section-dark-accent h3, 
.section-dark-accent h4 {
  color: #ffffff !important;
}

.section-dark-accent .text-secondary,
.section-dark-accent .text-lead,
.section-dark-accent p {
  color: #e2e8f0 !important; /* Maximum contrast light slate text */
  font-weight: 500;
  line-height: 1.68;
}

/* Footer */
.footer {
  background: #090d16;
  color: #f8fafc;
  border-top: 2px solid var(--gold-primary);
  padding: 5rem 0 2rem 0;
  margin-top: auto;
}

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

.footer-brand p {
  color: #cbd5e1 !important; /* Crisp high-contrast light slate */
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  max-width: 360px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer Social Icon Buttons */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

.footer-social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.25s ease, fill 0.25s ease;
}

.footer-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.footer-social-btn:hover svg {
  transform: scale(1.1);
}

.footer-social-btn.facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}

.footer-social-btn.linkedin:hover {
  background: #0a66c2;
  color: #ffffff;
  border-color: #0a66c2;
}

/* Tooltip on hover */
.footer-social-btn .social-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0f172a;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 30;
}

.footer-social-btn .social-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: #0f172a transparent transparent transparent;
}

.footer-social-btn:hover .social-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}


.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 2.5px;
  background: var(--gold-light);
  margin-top: 0.4rem;
}

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

.footer-links a {
  color: #cbd5e1 !important; /* High contrast light slate links */
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: #fde047 !important;
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #cbd5e1 !important;
  font-size: 0.95rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #e2e8f0 !important;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: #94a3b8 !important;
  font-size: 0.88rem;
}

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

.footer-legal-links a {
  color: #cbd5e1 !important;
}

.footer-legal-links a:hover {
  color: #fde047 !important;
}

/* Mobile Sticky CTA Bar */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-gold);
  padding: 0.75rem 1rem;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.12);
}

.sticky-mobile-cta-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0.75rem;
}

/* Floating Back-to-Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 78px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #ffffff;
  border: 1.5px solid #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.6);
}

/* Responsive Breakpoints & Mobile Optimization */
body.no-scroll {
  overflow: hidden !important;
}

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

@media (max-width: 1024px) {
  :root {
    --header-height: 76px;
  }

  .nav-menu {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    font-size: 1.35rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1002;
  }

  .mobile-nav-toggle.active {
    background: var(--gold-gradient);
    color: #ffffff;
    border-color: var(--gold-light);
    box-shadow: 0 4px 14px rgba(142, 168, 50, 0.4);
  }

  .nav-menu.mobile-open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: var(--header-height, 76px) !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - var(--header-height, 76px)) !important;
    background: #000000 !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    padding: 2rem 1.5rem 3rem 1.5rem !important;
    gap: 0.75rem !important;
    overflow-y: auto !important;
    z-index: 9999 !important;
    animation: mobileMenuSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    border-top: 1px solid rgba(56, 189, 248, 0.3) !important;
  }

  .nav-menu.mobile-open li {
    width: 100% !important;
    list-style: none !important;
  }

  .nav-menu.mobile-open .nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
    width: 100% !important;
    padding: 0.75rem 0.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.25s ease !important;
  }

  .nav-menu.mobile-open .nav-link:hover,
  .nav-menu.mobile-open .nav-link.active {
    color: #38bdf8 !important;
    padding-left: 0.75rem !important;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
  }

  .nav-menu.mobile-open .nav-link.active::after {
    display: none;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .container-narrow {
    padding: 0 1.1rem !important;
  }

  .section {
    padding: 3rem 0;
  }

  /* Ensure the first section on any page safely clears the fixed header on mobile (zero clipping of top box/button badges) */
  header + .section,
  header + main > .section:first-of-type,
  body > .section:first-of-type,
  main > .section:first-of-type,
  .section:first-of-type,
  .page-hero-section {
    padding-top: calc(var(--header-height) + 2.25rem) !important;
  }

  .section-header {
    margin-bottom: 1.75rem !important;
  }

  /* Compact Typography Font Sizes */
  .heading-xl {
    font-size: clamp(1.4rem, 5vw, 1.8rem) !important;
    line-height: 1.25 !important;
  }

  .hero-title {
    font-size: clamp(1.32rem, 4.6vw, 1.72rem) !important;
    line-height: 1.25 !important;
  }

  .heading-lg {
    font-size: clamp(1.22rem, 4.2vw, 1.55rem) !important;
    line-height: 1.28 !important;
  }

  .heading-md {
    font-size: clamp(1.08rem, 3.5vw, 1.3rem) !important;
  }

  .heading-sm {
    font-size: 1.05rem !important;
  }

  .text-lead {
    font-size: 0.92rem !important;
    line-height: 1.58 !important;
  }

  .section-tag {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }

  .btn-large {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.92rem !important;
    border-radius: 10px !important;
    width: 100% !important;
  }

  .logo-img {
    height: 38px !important;
  }

  .logo-title {
    font-size: 0.92rem !important;
  }

  .logo-subtitle {
    font-size: 0.6rem !important;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .header-actions .btn-primary {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.78rem !important;
  }

  .header-phone {
    display: none;
  }

  /* Compact 2-Column Mobile Footer */
  .footer {
    padding: 3rem 0 1.5rem 0 !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.75rem 1rem !important;
    margin-bottom: 2rem !important;
  }

  .footer-brand {
    grid-column: 1 / -1 !important;
    margin-bottom: 0.25rem !important;
  }

  .footer-brand p {
    margin-top: 0.5rem !important;
    margin-bottom: 0.75rem !important;
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
  }

  .footer-col-title {
    font-size: 1.02rem !important;
    margin-bottom: 0.85rem !important;
  }

  .footer-links {
    gap: 0.5rem !important;
  }

  .footer-links a {
    font-size: 0.86rem !important;
  }

  .footer-contact-info {
    gap: 0.65rem !important;
    font-size: 0.86rem !important;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding-top: 1.5rem !important;
    font-size: 0.82rem !important;
  }

  .footer-legal-links {
    justify-content: center;
    gap: 1rem !important;
  }

  /* Mobile Sticky Bottom CTA Bar */
  .sticky-mobile-cta {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1.5px solid var(--border-gold) !important;
    padding: 0.45rem 0.65rem !important;
    box-shadow: 0 -8px 25px rgba(15, 23, 42, 0.15) !important;
  }

  .sticky-mobile-cta-wrap {
    display: grid !important;
    grid-template-columns: 1fr 1.35fr !important;
    gap: 0.45rem !important;
    align-items: center !important;
  }

  .sticky-mobile-cta-wrap .btn-phone {
    padding: 0.55rem 0.65rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    border: 1.5px solid #0284c7 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    box-shadow: none !important;
    white-space: nowrap !important;
  }

  .sticky-mobile-cta-wrap .btn-primary {
    padding: 0.55rem 0.65rem !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    background: var(--gold-gradient) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3) !important;
    white-space: nowrap !important;
  }

  body {
    padding-bottom: 68px !important;
  }
}

@media (max-width: 480px) {
  .header-actions .btn-primary {
    display: none !important;
  }
}


