/*
Theme Name: Renovations UK
Author: Your Name
Version: 1.0
*/

/* ============================================
   CSS CUSTOM PROPERTIES 
   ============================================ */
:root {
  /* Heritage Colors (from master CSS HSL values) */
  --heritage-navy: #1c2b45;
  --heritage-navy-light: #2d3f5f;
  --heritage-navy-dark: #121824;
  --heritage-gold: #d4a03d;
  --heritage-gold-light: #e6c875;
  --heritage-cream: #f9f7f4;
  --heritage-stone: #c9c2b5;
  --heritage-dark: #121824;
  
  /* Semantic Colors */
  --background: #f9f7f4;
  --foreground: #1a2233;
  --primary: #1c2b45;
  --primary-foreground: #f9f7f4;
  --accent: #d4a03d;
  --accent-foreground: #151d2b;
  --muted-foreground: #5c6577;
  --border: #e0d9cd;
  
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  .h5, h5{
    color:#000000 !important;
        font-size: .875rem;
    margin-top: 25px;
  }
 
  /* Effects */
  --radius: 0.5rem;
  --shadow-heritage: 0 10px 40px -10px rgba(28, 43, 69, 0.25);
  --shadow-gold: 0 4px 20px -4px rgba(212, 160, 61, 0.3);
}


/* ============================================
   MAIN NAV – PIXEL PERFECT
   ============================================ */

#mainNavbar .hd-nav-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-left: auto;
  margin-bottom: 0;
}

/* Menu item */
#mainNavbar .hd-nav-list > li {
  position: relative;
}

/* Menu link */
#mainNavbar .hd-nav-list > li > a {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1c2b45;
  padding: 6px 0;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

/* Hover color */
#mainNavbar .hd-nav-list > li > a:hover {
  color: #d4a03d;
}

/* Active link color */
#mainNavbar .hd-nav-list > li.current-menu-item > a {
  color: #d4a03d;
}

/* Gold underline (active only) */
#mainNavbar .hd-nav-list > li.current-menu-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background-color: #d4a03d;
  border-radius: 2px;
}

/* Remove Bootstrap interference */
.navbar-nav li a::before,
.navbar-nav li a::after {
  box-shadow: none;
}


/* ============================================
   TOP BAR (.tbhd-*)
   ============================================ */
.tbhd-wrapper {
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-family: var(--font-body);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.tbhd-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tbhd-text {
  font-family: var(--font-body);
  opacity: 0.8;
  font-weight: 400;
}

.tbhd-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-foreground);
  text-decoration: none;
  font-family: var(--font-body);
  transition: color 0.2s ease;
}

.tbhd-link:hover {
  color: var(--heritage-gold);
}

.tbhd-icon {
  font-size: 0.875rem;
  color: var(--heritage-gold);
}

/* ============================================
   MAIN NAVBAR (.hd-navbar) - CORRECTED WITH !IMPORTANT
   ============================================ */
.hd-navbar {
  background-color: var(--background) !important;
  transition: all 0.3s ease;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-family: var(--font-body);
  height: 5rem; /* Fixed height like TSX h-20 */
  box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

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

/* Scrolled state */
.hd-navbar.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.hd-navbar.is-scrolled {
  background-color: rgba(249, 247, 244, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-heritage) !important;
}

/* ============================================
   BRAND/LOGO (.hd-brand, .hd-logo-*) - CORRECTED
   ============================================ */
.hd-brand {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  text-decoration: none;
  padding: 0 !important;
  margin-right: 1rem;
}

.hd-logo-box {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hd-logo-letter {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}

.hd-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
  line-height: 1.2;
  display: block;
}

.hd-brand-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-top: 0.125rem;
  font-weight: 500;
}

/* ============================================
   NAVIGATION LINKS (.hd-nav-list) - CORRECTED
   ============================================ */
.hd-nav-list {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 2rem !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
}

.hd-nav-list .nav-item {
  position: relative;
}

.hd-nav-list .nav-link {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  font-family: var(--font-body) !important;
  color: var(--foreground) !important;
  padding: 0.5rem 0 !important;
  transition: color 0.2s ease;
  position: relative;
  text-decoration: none;
}

.hd-nav-list .nav-link:hover,
.hd-nav-list .nav-link:focus {
  color: var(--accent) !important;
}

/* Active/current page state */
.hd-nav-list .nav-link.current,
.hd-nav-list .nav-link[aria-current="page"],
.hd-nav-list .nav-link.active {
  color: var(--accent) !important;
}

/* Animated underline */
.hd-nav-list .nav-link.current::after,
.hd-nav-list .nav-link[aria-current="page"]::after,
.hd-nav-list .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent);
  border-radius: 1px;
  animation: navUnderline 0.3s ease-out;
}

@keyframes navUnderline {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* ============================================
   CTA BUTTON (.hd-btn-cta) - CORRECTED TO GOLD
   ============================================ */
.hd-btn-cta {
  background-color: #d4a03d !important;
  color: var(--accent-foreground) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  padding: 0.625rem 1.25rem !important;
  border: none !important;
  border-radius: var(--radius) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-left: 2rem !important;
  cursor: pointer;
  line-height: 1.5;
}

.hd-btn-cta:hover {
  background-color:hsl(38deg 70% 50% / 90%) !important;
  color: var(--accent-foreground) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px -4px #d997264d;
}

.hd-btn-cta:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================
   MOBILE TOGGLE (.hd-toggler)
   ============================================ */
.hd-toggler {
  border: none !important;
  padding: 0.5rem;
  color: var(--foreground);
  background: transparent !important;
  border-radius: var(--radius);
}

.hd-toggler:hover {
  background-color: rgba(28, 43, 69, 0.05);
}

.hd-toggler:focus {
  box-shadow: none !important;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hd-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231c2b45' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5rem;
  height: 1.5rem;
}

/* ============================================
   MOBILE MENU (Bootstrap collapse overrides)
   ============================================ */
@media (max-width: 991.98px) {
  .hd-navbar {
    height: auto;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  
  .navbar-collapse {
    background-color: var(--background);
    border-top: 1px solid var(--border);
    padding: 1rem 0;
    margin-top: 0.5rem;
  }
  
  .hd-nav-list {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    width: 100%;
    margin-bottom: 1rem !important;
  }
  
  .hd-nav-list .nav-item {
    width: 100%;
  }
  
  .hd-nav-list .nav-link {
    padding: 0.875rem 0 !important;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    display: block;
    width: 100%;
  }
  
  .hd-nav-list .nav-link:last-child {
    border-bottom: none;
  }
  
  /* Remove underline on mobile, use left border instead */
  .hd-nav-list .nav-link.current::after,
  .hd-nav-list .nav-link[aria-current="page"]::after,
  .hd-nav-list .nav-link.active::after {
    display: none;
  }
  
  .hd-nav-list .nav-link.current,
  .hd-nav-list .nav-link[aria-current="page"],
  .hd-nav-list .nav-link.active {
    color: var(--accent) !important;
    padding-left: 0.75rem !important;
    border-left: 3px solid var(--accent);
    margin-left: -0.75rem;
  }
  
  .hd-btn-cta {
    width: 100%;
    margin-left: 0 !important;
    margin-top: 0.5rem;
    padding: 0.875rem 1.25rem !important;
  }
  
  /* Mobile phone link in menu */
  .navbar-collapse .tbhd-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    padding: 0.875rem 0;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border);
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-body);
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.gap-2 {
  gap: 0.5rem !important;
}

.lh-1 {
  line-height: 1 !important;
}

.font-display {
  font-family: var(--font-display);
}

.font-body {
  font-family: var(--font-body);
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--heritage-gold), var(--heritage-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .hd-navbar,
  .hd-btn-cta,
  .hd-nav-list .nav-link,
  .navbar-collapse {
    transition: none;
    animation: none;
  }
  
  .hd-nav-list .nav-link.current::after,
  .hd-nav-list .nav-link[aria-current="page"]::after {
    animation: none;
  }
}

/* ============================================
   FRONT PAGE - COMPLETE CSS
   ============================================ */

/* ============================================
   FRONT PAGE HERO - PIXEL PERFECT MATCH (NO OVERLAY)
   ============================================ */

/* Hero section - remove dark overlays */
.min-vh-85,
section.position-relative.min-vh-85 {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background image container */
.min-vh-85 .position-absolute.w-100.h-100,
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* REMOVE dark overlay - TSX has no gradient */
.min-vh-85 .position-absolute.w-100.h-100 > div[style*="background: rgba(0,0,0,0.5)"],
.min-vh-85 .position-absolute.w-100.h-100 > div[style*="background: rgba(0,0,0,0.6)"],
.hero-overlay {
  display: none !important;
  background: transparent !important;
  opacity: 0 !important;
}

/* Hero image - bright and clear like TSX */
.min-vh-85 img,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

/* Content container */
.min-vh-85 .container,
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* ============================================
   BADGE - "Conservation Accredited Specialists"
   ============================================ */
.badge-heritage,
.bg-accent-light,
.d-inline-flex.align-items-center.gap-2.px-3.py-1 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 1rem !important;
  background-color: rgba(212, 160, 61, 0.2) !important;
  border: 1px solid rgba(212, 160, 61, 0.3) !important;
  border-radius: 50rem !important;
  color: #d4a03d !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  margin-bottom: 1.5rem !important;
}

/* Shield icon */
.badge-heritage i,
.bg-accent-light i,
.bi-shield-fill {
  font-size: 1rem !important;
  color: #d4a03d !important;
}
/* Remove bullets only where Bootstrap icons are used */
ul li::marker {
    content: "";
}
ul{
  padding-left:0rem !important;
}
/* ============================================
   HEADING - "Preserving Britain's Architectural Heritage"
   ============================================ */
.display-4.fw-bold.text-light.mb-3,
h1.display-4 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 700 !important;
  font-size: 3.5rem !important;
  line-height: 1.1 !important;
  margin-bottom: 1.5rem !important;
  color: #ffffff !important;
}

/* First line - white */
.display-4 .d-block:first-child,
h1 span:first-child,
.text-white {
  color: #ffffff !important;
  display: block !important;
}

/* Second line - GOLD GRADIENT */
.text-gold,
.text-gradient-gold,
h1 .d-block:last-child,
.display-4 span:last-child {
  background: linear-gradient(135deg, #d4a03d, #e6c875) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: block !important;
  color: #d4a03d !important; /* Fallback */
}

/* ============================================
   SUBTITLE TEXT
   ============================================ */
.lead.text-light-75,
p.lead {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 1.125rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.6 !important;
  margin-bottom: 2rem !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.d-flex.flex-wrap.gap-2,
.hero-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
}

/* Primary CTA button - Gold */
.btn.btn-primary.btn-lg,
.btn-hero {
  background-color: #d4a03d !important;
  color: #1c2b45 !important;
  border: none !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 1rem 2rem !important;
  border-radius: 0.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-hero:hover {
  background-color: #b8941f !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 20px rgba(212, 160, 61, 0.4) !important;
}

/* Arrow icon */
.btn-hero i,
.btn-hero .bi-arrow-right {
  font-size: 1rem !important;
}

/* Secondary button - Outline */
.btn.btn-outline-light.btn-lg,
.btn-hero-outline {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 1rem 2rem !important;
  border-radius: 0.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-hero-outline:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .display-4.fw-bold,
  h1.display-4 {
    font-size: 2.5rem !important;
  }
  
  .btn-hero,
  .btn-hero-outline {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Stats Bar */
.bg-heritage-navy {
  background-color: var(--heritage-navy);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heritage-gold);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(249, 247, 244, 0.7);
  margin-bottom: 0;
}

/* Services Section */
.bg-heritage-cream {
  background-color: var(--heritage-cream);
}

.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--heritage-gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--heritage-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-body);
  color: var(--muted-foreground);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.service-card {
  display: block;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-heritage);
  transform: translateY(-4px);
  border-color: rgba(212, 160, 61, 0.3);
}

.service-icon-wrapper {
  width: 3rem;
  height: 3rem;
  background-color: rgba(212, 160, 61, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
  background-color: rgba(212, 160, 61, 0.2);
}

.service-icon {
  font-size: 1.5rem;
  color: var(--heritage-gold);
}

.service-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--heritage-dark);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-family: var(--font-body);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--heritage-gold);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  transition: gap 0.2s ease;
}

.service-card:hover .service-link {
  gap: 0.5rem;
}

/* Projects Section */
.bg-heritage-secondary {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  background-color: hsl(40 15% 90%);
}

.project-card {
  cursor: pointer;
}

.project-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 0.75rem;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--heritage-navy);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-image-wrapper::after {
  opacity: 0.3;
}

.project-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: var(--heritage-gold);
  color: var(--heritage-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  z-index: 2;
}

.project-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--heritage-dark);
  margin-bottom: 0.25rem;
}

.project-location {
  font-family: var(--font-body);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Testimonials */
.testimonial-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  height: 100%;
}

.testimonial-quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: rgba(212, 160, 61, 0.2);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
}

.star-filled {
  color: var(--heritage-gold);
  font-size: 0.875rem;
}

.testimonial-text {
  font-family: var(--font-body);
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.author-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heritage-dark);
  margin-bottom: 0.25rem;
}

.author-role {
  font-family: var(--font-body);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Trust Indicators */
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
}

.trust-icon {
  font-size: 1.5rem;
  color: var(--heritage-gold);
}

.trust-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
}

/* CTA Section */
.bg-heritage-gradient {
  background: linear-gradient(135deg, var(--heritage-navy), var(--heritage-navy-light));
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--heritage-cream);
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-family: var(--font-body);
  color: rgba(249, 247, 244, 0.75);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Utilities */
.object-fit-cover {
  object-fit: cover;
}

.z-1 {
  z-index: 1;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 767.98px) {
  .display-4 {
    font-size: 2rem;
  }
  
  .section-title,
  .cta-title {
    font-size: 1.75rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .btn-hero,
  .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }
  
  .trust-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (min-width: 768px) {
  .section-title,
  .cta-title {
    font-size: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate,
  .service-card,
  .project-image,
  .btn-hero,
  .btn-hero-outline {
    animation: none;
    transition: none;
  }
}


/* ============================================
   FOOTER STYLES
   Converted from TSX Tailwind classes
   ============================================ */

/* Main footer background */
footer.bg-primary {
  background-color: var(--heritage-navy) !important;
  color: var(--heritage-cream);
  font-family: var(--font-body);
}

/* Footer container spacing */
footer .container.py-5 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

/* Footer text colors */
footer .text-light {
  color: var(--heritage-cream) !important;
}

footer .text-light-75 {
  color: rgba(249, 247, 244, 0.75) !important;
}

footer .text-light-50 {
  color: rgba(249, 247, 244, 0.5) !important;
}

footer .text-accent {
  color: var(--heritage-gold) !important;
}

/* Footer headings */
footer h5 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heritage-cream);
}

/* Footer logo section */
footer .d-flex.align-items-center.gap-2 {
  margin-bottom: 1rem;
}

/* Logo box in footer */
footer .w-10.h-10.rounded.bg-accent {
  width: 2.5rem !important;
  height: 2.5rem !important;
  background-color: var(--heritage-gold) !important;
  border-radius: var(--radius) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Logo letter in footer */
footer .w-10.h-10 .fw-bold.fs-4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--heritage-dark) !important;
}

/* Brand name in footer */
footer .lh-1 .fw-bold.fs-5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--heritage-cream);
}

/* Brand subtitle in footer */
footer .lh-1 .text-uppercase.small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(249, 247, 244, 0.5);
}

/* Footer description text */
footer p.small {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(249, 247, 244, 0.75);
}

/* Social icons container */
footer .d-flex.gap-2.mt-3 {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Social icon links */
footer .d-flex.gap-2 a {
    border-color: hsl(40deg 20% 97% / 20%) !important;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--heritage-cream);
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Social icon hover - matches TSX hover:bg-accent hover:border-accent */
footer .d-flex.gap-2 a:hover,
footer .d-flex.gap-2 a.hover-bg-accent:hover {
  border-color: var(--heritage-gold) !important;
  color: white !important;
}

/* Social icons size */
footer .d-flex.gap-2 a i {
  font-size: 0.875rem;
}

/* Footer lists */
footer ul.list-unstyled {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

footer ul.list-unstyled li {
  margin-bottom: 0.5rem;
}

/* Footer links */
footer ul.list-unstyled li a {
  color: rgba(249, 247, 244, 0.75) !important;
  text-decoration: none !important;
  font-size: 0.875rem;
  font-family: var(--font-body);
  transition: all 0.2s ease;
  display: inline-block;
}

/* Footer link hover - matches TSX hover:text-accent */
footer ul.list-unstyled li a:hover {
  color: var(--heritage-gold) !important;
  opacity: 1 !important;
}

/* Contact section icons */
footer .d-flex.align-items-start i.bi {
  color: var(--heritage-gold);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Contact links */
footer a[href^="tel:"],
footer a[href^="mailto:"] {
  color: rgba(249, 247, 244, 0.75) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

footer a[href^="tel:"]:hover,
footer a[href^="mailto:"]:hover {
  color: var(--heritage-cream) !important;
}

/* Opening hours accent text */
footer .text-accent.fw-semibold {
  color: var(--heritage-gold) !important;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

/* Bottom border section */
footer .border-top {
  border-top: 1px solid rgba(249, 247, 244, 0.1) !important;
}

footer .border-top .container {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

/* Copyright text */
footer .border-top p {
  font-size: 0.875rem;
  color: rgba(249, 247, 244, 0.5);
  margin-bottom: 0;
}

/* Bottom links */
footer .border-top a {
  color: rgba(249, 247, 244, 0.5) !important;
  text-decoration: none !important;
  font-size: 0.875rem;
  transition: opacity 0.2s ease;
}

footer .border-top a:hover {
  color: var(--heritage-cream) !important;
  opacity: 1 !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  footer .container.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  footer .border-top .d-flex {
    text-align: center;
  }
  
  footer h5 {
    margin-top: 1.5rem;
  }
  
  footer .col-12.col-md-6.col-lg-3:first-child h5 {
    margin-top: 0;
  }
}


/* ============================================
   ABOUT PAGE STYLES - DIRECT SELECTORS
   ============================================ */

/* Hero Section */
section.position-relative.py-5 {
  position: relative;
  padding-top: 0rem !important;
  padding-bottom: 6rem !important;
}

section.position-relative .display-4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  color: var(--heritage-cream);
}

section.position-relative .lead {
  font-family: var(--font-body);
  color: rgba(249, 247, 244, 0.75);
  font-size: 1.125rem;
}

/* Our Story Section */
.bg-light {
  background-color: var(--heritage-cream) !important;
}

.text-accent {
  color: var(--heritage-gold) !important;
}

h2.display-6 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--heritage-dark);
}

.text-muted {
  color: var(--muted-foreground) !important;
  font-family: var(--font-body);
  line-height: 1.8;
}

/* Value Cards */
.card {
  background-color: #ffffff;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
}

.card i.bi {
  color: var(--heritage-gold);
  font-size: 2rem !important;
}

.card h5 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heritage-dark);
}

.card .text-muted {
  font-size: 0.875rem;
}

/* Why Choose Us Section */
.bg-secondary {
  background-color: rgba(28, 43, 69, 0.03) !important;
}

.bg-secondary .text-light {
  color: var(--heritage-dark) !important;
}

.bi-check-circle-fill {
  color: var(--heritage-gold) !important;
}

/* Button */
.btn-primary {
  background-color: var(--heritage-gold) !important;
  color: var(--heritage-dark) !important;
  border: none !important;
  font-family: var(--font-body);
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #b8941f !important;
}




/* ============================================
   SERVICES PAGE - DIRECT SELECTORS
   ============================================ */

/* Hero */
section.position-relative {
  position: relative;
}

section.position-relative .display-4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  color: var(--heritage-cream);
}

section.position-relative .lead {
  font-family: var(--font-body);
  color: rgba(249, 247, 244, 0.75);
  font-size: 1.125rem;
}

/* Service sections */
section.py-5.bg-light {
  background-color: var(--heritage-cream) !important;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

section.py-5.bg-secondary {
  background-color: #e9e7e2 !important;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

section.py-5.bg-secondary.text-light h2,
section.py-5.bg-secondary.text-light p,
section.py-5.bg-secondary.text-light li {
  color: var(--heritage-dark) !important;
}

/* Service icon box */
.bg-accent.p-2.rounded {
  background-color: rgba(212, 160, 61, 0.1) !important;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius) !important;
}

.bg-accent.p-2.rounded i {
  color: var(--heritage-gold) !important;
  font-size: 1.25rem;
}

/* Service label */
.text-accent {
  color: var(--heritage-gold) !important;
}

/* Headings */
h2.fw-bold {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--heritage-dark);
}

/* Feature lists */
ul li {
  font-family: var(--font-body);
  color: var(--heritage-dark);
  margin-bottom: 0.5rem;
}

.bi-check-circle-fill {
  color: var(--heritage-gold) !important;
}

/* Process badges */
.badge.bg-light {
  background-color: #ffffff !important;
  color: var(--heritage-dark) !important;
  border: 1px solid var(--border);
  font-weight: 400;
  padding: 0.5rem 0.75rem;
  border-radius: 50rem;
}

/* Images */
.img-fluid.rounded.shadow {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-heritage) !important;
}

/* Button */
.btn-primary {
  background-color: var(--heritage-gold) !important;
  color: var(--heritage-dark) !important;
  border: none !important;
  font-family: var(--font-body);
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #b8941f !important;
}

/* FAQ */
.accordion-item {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

.accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heritage-dark);
}

.accordion-button:not(.collapsed) {
  color: var(--heritage-gold);
  background-color: #ffffff;
}

.accordion-body {
  font-family: var(--font-body);
  color: var(--muted-foreground);
}



/* ============================================
   CONTACT PAGE - DIRECT SELECTORS
   ============================================ */

/* Hero */
section.bg-dark,
section[style*="hero-building"] {
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
}

section.bg-dark .display-4,
section .display-4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  color: var(--heritage-cream);
}

section.bg-dark .lead,
section .lead {
  font-family: var(--font-body);
  color: rgba(249, 247, 244, 0.75);
  font-size: 1.125rem;
}

/* Contact section */
section.py-5.bg-light {
  background-color: var(--heritage-cream) !important;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

/* Contact info headings */
h2.h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--heritage-dark);
}

/* Icon boxes - change from blue to gold */
.bg-primary {
  background-color: rgba(212, 160, 61, 0.1) !important;
  color: var(--heritage-gold) !important;
}

.bg-primary i {
  color: var(--heritage-gold) !important;
}

/* Contact links */
.list-unstyled a {
  color: var(--muted-foreground);
  text-decoration: none;
}

.list-unstyled a:hover {
  color: var(--heritage-gold);
}

/* Form card */
.card {
  background-color: #ffffff;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-heritage) !important;
}

/* Form button */
.btn-primary {
  background-color: var(--heritage-gold) !important;
  color: var(--heritage-dark) !important;
  border: none !important;
  font-family: var(--font-body);
  font-weight: 600;
}
/* Hide CF7 select placeholder option from dropdown */
.wpcf7-select option[value=""] {
  display: none;
}
/* Grey color when placeholder is selected */
.wpcf7-select:has(option[value=""]:checked) {
  color: #6c757d; /* Bootstrap muted */
  background-color:  hsl(40 20% 97%);;
}

.btn-primary:hover {
  background-color: #b8941f !important;
}

/* Form inputs focus */
.form-control:focus,
.form-select:focus {
  border-color: var(--heritage-gold) !important;
  box-shadow: 0 0 0 3px rgba(212, 160, 61, 0.1) !important;
}

/* Success message */
.alert-success {
  background-color: rgba(212, 160, 61, 0.1) !important;
  border-color: var(--heritage-gold) !important;
  color: var(--heritage-dark) !important;
}

/* ============================================
   QUOTE PAGE - PIXEL PERFECT MATCH
   ============================================ */

/* Section background */
section.py-20 {
  background-color: #f9f7f4 !important;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

/* Container max width */
.max-w-4xl {
  max-width: 56rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Grid layout - 3 columns with sidebar */
.grid.lg\:grid-cols-3 {
  display: grid !important;
  grid-template-columns: 1fr 2fr !important;
  gap: 3rem !important;
}

@media (max-width: 991px) {
  .grid.lg\:grid-cols-3 {
    grid-template-columns: 1fr !important;
  }
}

/* Sidebar column */
.lg\:col-span-1 {
  grid-column: span 1 !important;
}

/* "What to Expect" heading */
.font-display {
  font-family: 'Playfair Display', Georgia, serif !important;
}

h3.font-display {
  font-weight: 700 !important;
  font-size: 1.125rem !important;
  color: #1c2b45 !important;
  margin-bottom: 1rem !important;
  line-height: 1.2 !important;
}

/* List styling */
.space-y-4 {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.space-y-4 li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  margin-bottom: 1rem !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.875rem !important;
  color: #1c2b45 !important;
  line-height: 1.5 !important;
}

/* GOLD CHECKMARK */
.text-accent {
  color: #d4a03d !important;
  font-size: .875rem !important;
  line-height: 1 !important;
  margin-top: 0.125rem !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  height: 1.25rem !important;
}

/* Text next to checkmark */
.font-body {
  font-family: 'DM Sans', sans-serif !important;
}

.text-sm {
  font-size: 0.875rem !important;
}

.text-foreground {
  color: #1c2b45 !important;
}

/* Form column */
.lg\:col-span-2 {
  grid-column: span 2 !important;
}

@media (max-width: 991px) {
  .lg\:col-span-2 {
    grid-column: span 1 !important;
  }
}

/* Form card */
.bg-card {
  background-color: #ffffff !important;
  border: 1px solid #e0d9cd !important;
  border-radius: 0.5rem !important;
  padding: 2rem !important;
  box-shadow: 0 10px 40px -10px rgba(28, 43, 69, 0.15) !important;
}

/* Form spacing */
form.space-y-5 > * {
  margin-bottom: 1.25rem !important;
}

form.space-y-5 > *:last-child {
  margin-bottom: 0 !important;
}

/* 2-column grid for form rows */
form .grid.sm\:grid-cols-2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.25rem !important;
}

@media (max-width: 640px) {
  form .grid.sm\:grid-cols-2 {
    grid-template-columns: 1fr !important;
  }
}

/* Form field spacing */
.space-y-2 {
  margin-bottom: 0 !important;
}

.space-y-2 > * {
  margin-bottom: 0.5rem !important;
}

/* Labels */
label.font-body {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #1c2b45 !important;
  display: block !important;
  margin-bottom: 0.5rem !important;
}

/* Inputs */
.input-field {
  width: 100% !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.875rem !important;
  color: #1c2b45 !important;
  background-color: #ffffff !important;
  border: 1px solid #e0d9cd !important;
  border-radius: 0.375rem !important;
  padding: 0.625rem 0.875rem !important;
  height: 2.75rem !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.input-field::placeholder {
  color: #9ca3af !important;
}

.input-field:focus {
  border-color: #d4a03d !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(212, 160, 61, 0.1) !important;
}

/* Select dropdowns */
select.input-field {
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.5em 1.5em !important;
  padding-right: 2.5rem !important;
}

/* Textarea */
.textarea-field {
  width: 100% !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.875rem !important;
  color: #1c2b45 !important;
  background-color: #ffffff !important;
  border: 1px solid #e0d9cd !important;
  border-radius: 0.375rem !important;
  padding: 0.625rem 0.875rem !important;
  min-height: 8rem !important;
  resize: vertical !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  line-height: 1.5 !important;
}

.textarea-field::placeholder {
  color: #9ca3af !important;
}

.textarea-field:focus {
  border-color: #d4a03d !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(212, 160, 61, 0.1) !important;
}

/* Submit button */
.btn-hero {
  background-color: #d4a03d !important;
  color: #1c2b45 !important;
  border: none !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.375rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  width: auto !important;
  margin-top: 0.5rem !important;
}

.btn-hero:hover {
  background-color: #b8941f !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(212, 160, 61, 0.3) !important;
}

/* Button width responsive */
.w-full {
  width: 100% !important;
}

@media (min-width: 640px) {
  .sm\:w-auto {
    width: auto !important;
  }
}


/* ============================================
   FRONT PAGE HERO - WITH DARK OVERLAY
   ============================================ */

/* Hero section */
.min-vh-85,
section.position-relative.min-vh-85 {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background image container */
.min-vh-85 .position-absolute.w-100.h-100 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* DARK OVERLAY - keep this! */
.min-vh-85 .position-absolute.w-100.h-100 > div[style*="background: rgba(0,0,0,0.5)"],
.min-vh-85 .position-absolute.w-100.h-100 > div[style*="background: rgba(0,0,0,0.6)"],
.hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.5) !important; /* Dark overlay */
  z-index: 1 !important;
}

/* Hero image */
.min-vh-85 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

/* Content container - above overlay */
.min-vh-85 .container {
  position: relative;
  z-index: 2;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* ============================================
   BADGE - "Conservation Accredited Specialists"
   ============================================ */
.badge-heritage {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 1rem !important;
  background-color: rgba(212, 160, 61, 0.2) !important;
  border: 1px solid rgba(212, 160, 61, 0.3) !important;
  border-radius: 50rem !important;
  color: #d4a03d !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  margin-bottom: 1.5rem !important;
}

/* Shield icon */
.badge-heritage i {
  font-size: 1rem !important;
  color: #d4a03d !important;
}

/* ============================================
   HEADING - White + Gold Gradient
   ============================================ */
.min-vh-85 h1.display-4,
.display-4.fw-bold {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 700 !important;
  font-size: 3.5rem !important;
  line-height: 1.1 !important;
  margin-bottom: 1.5rem !important;
}

/* First line - WHITE */
.min-vh-85 h1.display-4 {
  color: #ffffff !important;
}

/* Second line - GOLD GRADIENT */
.text-gold,
.text-gradient-gold,
.min-vh-85 h1 .d-block:last-child {
  background: linear-gradient(135deg, #d4a03d, #e6c875) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: block !important;
}

/* ============================================
   SUBTITLE - White with opacity
   ============================================ */
.min-vh-85 p.lead,
.lead.text-light-75 {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 1.125rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.6 !important;
  max-width: 600px !important;
  margin-bottom: 2rem !important;
}

/* ============================================
   BUTTONS
   ============================================ */
/* Gold CTA button */
.btn-hero,
.min-vh-85 .btn.btn-primary {
  background-color: #d4a03d !important;
  color: #1c2b45 !important;
  border: none !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 1rem 2rem !important;
  border-radius: 0.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
}

.btn-hero:hover {
  background-color: #b8941f !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 20px rgba(212, 160, 61, 0.4) !important;
}

/* Outline button */
.btn-hero-outline,
.min-vh-85 .btn.btn-outline-light {
  background-color: transparent !important;
  color: hsl(38 70% 50%) !important;
  border: 2px solid hsl(38 70% 50%) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 1rem 2rem !important;
  border-radius: 0.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

.btn-hero-outline:hover {
  color: hsl(218.05deg 42.27% 19.02%) !important;
  background-color: hsl(38 70% 50%) !important;
  border-color: hsl(38 70% 50%) !important;
}

/* Hero container should be relative */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background image: full cover, behind overlay */
.hero-section .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay */
.hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.75);
  z-index: 1; /* above image but below text */
}

/* Content above overlay */
.hero-section .hero-content {
  position: relative;
  z-index: 2;
  color: #fff; /* ensures text is visible */
}


/* ============================================
   PGABT – WHY CHOOSE US (PIXEL PERFECT)
   ============================================ */

/* Section wrapper */
.pgabt-section {
  background-color: #f3f1ec;
  padding: 5.5rem 0;
}

/* Small heading */
.pgabt-eyebrow {
  color: #d4a03d;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}

/* Main title */
.pgabt-title {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: #0f1f33;
  margin-bottom: 3.5rem;
}

/* List wrapper */
.pgabt-list {
  max-width: 900px;
  margin: 0 auto;
  row-gap: 1.75rem;
}

/* Item */
.pgabt-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* Icon */
.pgabt-icon {
  color: #d4a03d;
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

/* Text */
.pgabt-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #0f1f33;
}

/* CTA */
.pgabt-btn {
  background-color: #e1a22b;
  border: none;
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;
  border-radius: 6px;
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

/* CTA hover */
.pgabt-btn:hover {
  background-color: #c98f1f;
  color: #000;
}
/* ===== Contact Info Icon Styling ===== */
.contact-info ul li {
    align-items: flex-start;
}

.contact-info ul li > div:first-child {
    width: 48px;
    height: 48px;
    background: #FFF5E6;          /* soft cream */
    border-radius: 8px !important;           /* rounded square */
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;        /* override Bootstrap p-2 */
    flex-shrink: 0;
}

.contact-info ul li > div:first-child i {
    color: #F59E0B;               /* orange icon */
    font-size: 20px;
}

/* Text spacing */
.contact-info ul li > div:last-child {
    line-height: 1.5;
}

.contact-info ul li strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

/* =========================
   Pixel Perfect Form Button
   ========================= */

.fmbt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background-color: #e1a12a; /* exact mustard tone */
  color: #000;

  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;

  padding: 14px 26px;
  border-radius: 6px;

  border: none;
  cursor: pointer;

  line-height: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Hover state */
.fmbt-btn:hover {
  background-color: #cf9224;
}

/* Bootstrap send icon */
.fmbt-btn {
  box-shadow: 0 4px 20px -4px #d997264d;
  display: inline-flex;
  align-items: center;

  background-color: #e1a12a;
  color: #000;

  font-size: 16px;
  font-weight: 600;

  padding: 14px 48px 14px 26px; /* extra right space for icon */
  border-radius: 6px;
  border: none;

  cursor: pointer;
  line-height: 1;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M15.964.686a.5.5 0 0 0-.65-.65L.767 5.855H.766l-.452.18a.5.5 0 0 0-.082.887l.41.26.001.002 4.995 3.178 3.178 4.995.002.002.26.41a.5.5 0 0 0 .886-.083l.181-.452v-.001l5.818-14.547ZM6.637 10.07 2.95 7.72l8.48-5.85-4.793 8.2Zm.558.558 2.35 3.687-5.85-8.48 3.5 1.793Z'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: right 22px center;
  background-size: 16px;

  transition: background-color 0.2s ease;
}

.fmbt-btn:hover {
  background-color: #cf9224;
}

/* CF7 reset */
.wpcf7 input[type="submit"].fmbt-btn {
  appearance: none;
  -webkit-appearance: none;
}


/* CF7 reset */
.wpcf7 input[type="submit"].fmbt-btn {
  appearance: none;
  -webkit-appearance: none;
}

/* Mobile consistency */
@media (max-width: 575px) {
  .fmbt-btn {
    padding: 14px 22px;
    font-size: 15px;
  }
}

/* ===============================
   Request Free Quote Button
   =============================== */

.fmbt-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 50% !important;

  background-color: #d4a03d; /* mustard gold */
  color: #000;

  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;

  padding: 16px 56px 16px 32px; /* right space for arrow */
  border-radius: 6px;

  border: none;
  cursor: pointer;

  line-height: 1;
  position: relative;

   /* SVG Arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='black' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 26px center;
  background-size: 16px;

  transition: background-color 0.2s ease;

}

/* Arrow */
.fmbt-quote-btn::after {
  content: "→";
  font-size: 18px;
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
}

/* Hover */
.fmbt-quote-btn:hover {
  background-color: hsl(38deg 70% 50% / 90%);
  box-shadow: 0 4px 20px -4px #d997264d;
}

/* CF7 input reset */
.wpcf7 input[type="submit"].fmbt-quote-btn {
  appearance: none;
  -webkit-appearance: none;
}

.form-card {
    background-color: #f4f3f0;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    
}

.form-control{
      background: hsl(40 20% 97%);
}

.text-qtpg {
    color: #d4a03d !important;
    font-size: 1.25rem;
    line-height: 1 !important;
    margin-top: 0.125rem !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    height: 1.25rem !important;
}


.pixel-select {
  position: relative;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pixel-select-trigger {
    border-radius: var(--bs-border-radius);
    font-weight: 400;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    color: #333;
    background: hsl(40 20% 97%);
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.pixel-select-trigger:hover {
  border-color: #c4c4c4;
}

.pixel-select.open .pixel-select-trigger {
  border-color: #d4a84b;
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.15);
}

.pixel-select-arrow {
  color: #666;
  transition: transform 0.2s ease;
}

.pixel-select.open .pixel-select-arrow {
  transform: rotate(180deg);
}

.pixel-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}

.pixel-select.open .pixel-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pixel-option {
  padding: 12px 16px;
  font-size: 11px;
  color: #333;
  cursor: pointer;
  transition: all 0.15s ease;
  border-bottom: 1px solid #f0f0f0;
}

.pixel-option:last-child {
  border-bottom: none;
}

/* The amber/gold active/hover state from your image */
.pixel-option:hover,
.pixel-option.active {
  background-color: #d4a84b;
  color: #fff;
}

.pixel-option.active {
  font-weight: 400;
}

/* Hide the CF7 wrapper paragraphs */
.wpcf7-form-control-wrap {
  display: contents;
}

/* Or target specific fields */
.wpcf7-form p {
  margin: 0;
  padding: 0;
}

/* Remove bottom margins from CF7 generated paragraphs */
.wpcf7-form > p {
  margin-bottom: 0 !important;
}



/* Logo handling */
.custom-logo {
    max-height: 60px;
    width: auto;
}

.site-logo--inverted {
    max-height: 60px;
    width: auto;
}

/* Example: when header is dark or sticky */
.header-dark .custom-logo {
    display: none;
}

.header-dark .site-logo--inverted {
    display: block !important;
}
