/* 
   Pillar HVAC - Central Stylesheet
   Design Palette: Matte Black (#111111), Architectural Gold (#B08D57), Dark Bronze Gold (#BA6A3A), Clean White (#F5F5F5)
   Typography: Montserrat (Headings) & Inter (Body)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;600;700;800;900&display=swap');

/* --- Custom Variables & Tokens --- */
:root {
  --color-bg-primary: #111111;
  --color-bg-secondary: #1a1a1a;
  --color-bg-tertiary: #252525;
  --color-gold-primary: #B08D57; /* Architectural Gold */
  --color-gold-secondary: #BA6A3A; /* Dark Bronze Gold */
  --color-text-primary: #F5F5F5; /* Clean White */
  --color-text-secondary: #CCCCCC;
  --color-text-muted: #888888;
  --color-success: #2e7d32;
  --color-info: #0288d1;
  --color-warning: #f57c00;
  --color-danger: #d32f2f;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --header-height: 100px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-glow: 1px solid rgba(176, 141, 87, 0.2);
  --border-glow-hover: 1px solid rgba(176, 141, 87, 0.5);
  --glass-bg: rgba(26, 26, 26, 0.7);
  --glass-backdrop: blur(12px) saturate(180%);
  --shadow-gold: 0 4px 20px rgba(176, 141, 87, 0.15);
  --shadow-gold-hover: 0 10px 30px rgba(176, 141, 87, 0.3);
}

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

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-bg-tertiary);
  border: 2px solid var(--color-bg-primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-primary);
}

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

h1 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  font-size: 2.25rem;
  position: relative;
  margin-bottom: 1.5rem;
}

h2.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h2.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-primary), var(--color-gold-secondary));
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

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

/* --- Layout Elements --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
}

.section-alt {
  background-color: var(--color-bg-secondary);
}

/* --- Header / Navigation --- */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  overflow: visible;
  transition: var(--transition-smooth);
  background-color: var(--color-bg-primary);
  border-bottom: 1px solid rgba(176, 141, 87, 0.15);
}

header.site-header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border-bottom: 1px solid rgba(176, 141, 87, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  height: 90px;
}



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

/* Logo Brand Lockup */
.logo-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  height: 52px;
  width: auto;
  filter: drop-shadow(1px 2px 2.5px rgba(0, 0, 0, 0.5));
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.logo-text-pillar {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #e0e0e0;
  text-transform: uppercase;
}

.logo-text-hvac {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--color-gold-primary);
  text-transform: uppercase;
  margin-top: 0.1rem;
}

.logo-text-hvac::before,
.logo-text-hvac::after {
  content: '—';
  margin: 0 0.35em;
  color: var(--color-gold-primary);
  opacity: 0.6;
}

.logo-text-hvac::before {
  margin-left: 0;
}

.logo-tagline-img {
  display: none;
}

/* Logo Image */
.logo-img {
  width: 280px;
  height: auto;
  filter: drop-shadow(1px 2px 2.5px rgba(0, 0, 0, 0.5));
  object-fit: contain;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold-primary);
  transition: var(--transition-smooth);
}

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

.nav-link:hover {
  color: var(--color-gold-primary);
}

/* Call Button Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-gold-primary);
  font-size: 0.95rem;
}

.phone-action svg {
  fill: currentColor;
}

.phone-action:hover {
  color: var(--color-text-primary);
  transform: translateY(-2px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-primary), var(--color-gold-secondary));
  color: var(--color-bg-primary);
  border: none;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-gold-primary);
}

.btn-secondary:hover {
  background: rgba(176, 141, 87, 0.1);
  transform: translateY(-3px);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background-color: #111;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.6) 0%, rgba(17, 17, 17, 0.95) 100%);
  z-index: 1;
}

/* Video Background (or visual presentation) */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease;
}

.hero-video.video-loaded {
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
  color: var(--color-gold-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  display: inline-block;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  text-shadow: none;
  animation: fadeInDown 1s var(--transition-smooth);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  animation: fadeInLeft 1s var(--transition-smooth);
  text-transform: none; /* Montserrat but proper title case */
}

.hero-title span {
  display: block;
  font-size: 4.5rem;
  color: var(--color-text-primary);
  font-weight: 800;
  background: linear-gradient(90deg, #F5F5F5 0%, var(--color-gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.02em;
  text-shadow: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.hero-description {
  font-size: 1.15rem;
  margin-bottom: 3rem;
  max-width: 600px;
  color: #ffffff;
  animation: fadeInRight 1s var(--transition-smooth);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  text-shadow: none;
  animation: fadeInUp 1s var(--transition-smooth);
}

/* --- Card Grids --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

/* Glassmorphic Cards */
.card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: var(--border-glow);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-primary), var(--color-gold-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-5px);
  border: var(--border-glow-hover);
  box-shadow: var(--shadow-gold);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  color: var(--color-gold-primary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(176, 141, 87, 0.08);
  border: 1px solid rgba(176, 141, 87, 0.15);
  transition: var(--transition-smooth);
}

.card:hover .card-icon {
  background: var(--color-gold-primary);
  color: var(--color-bg-primary);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Why Us Section with Badges --- */
.why-section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

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

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: rgba(26, 26, 26, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.badge-item:hover {
  border: var(--border-glow);
  background: rgba(176, 141, 87, 0.04);
}

.badge-icon {
  width: 50px;
  height: 50px;
  color: var(--color-gold-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(176, 141, 87, 0.05);
}

.badge-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
}

/* --- Estimate Calculator Form --- */
.calculator-box {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: var(--border-glow);
  border-radius: 12px;
  padding: 4rem 3rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold-primary);
}

.form-control {
  background-color: var(--color-bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold-primary);
  box-shadow: 0 0 10px rgba(176, 141, 87, 0.15);
}

.form-control::placeholder {
  color: #555555;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23B08D57' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

/* Success Animations */
.submission-success {
  text-align: center;
  padding: 2rem 0;
  animation: scaleUp 0.5s ease-out;
}

.success-icon {
  width: 72px;
  height: 72px;
  color: var(--color-gold-primary);
  border: 2px solid var(--color-gold-primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* --- FAQ Accordion --- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

details {
  background: var(--color-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

details[open] {
  border-color: rgba(176, 141, 87, 0.3);
  box-shadow: var(--shadow-gold);
}

summary {
  padding: 1.75rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text-primary);
  cursor: pointer;
  list-style: none; /* Hide default triangle */
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
  user-select: none;
}

summary::-webkit-details-marker {
  display: none; /* Hide default iOS triangle */
}

summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-gold-primary);
  font-weight: 400;
  transition: var(--transition-smooth);
}

details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

summary:hover {
  color: var(--color-gold-primary);
  background: rgba(176, 141, 87, 0.02);
}

/* Styled details-content (CSS Spec standard) */
details::details-content {
  transition: block-size 0.3s ease, content-visibility 0.3s;
}

.faq-answer {
  padding: 0 2rem 2rem 2rem;
  color: var(--color-text-secondary);
  font-weight: 300;
  line-height: 1.7;
}

/* --- Testimonials / Slider --- */
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  text-align: center;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  color: var(--color-gold-primary);
  opacity: 0.3;
  margin-bottom: 1.5rem;
  line-height: 1;
  font-family: serif;
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-text-primary);
  margin-bottom: 2rem;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-primary);
}

.testimonial-company {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-bg-tertiary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  background: var(--color-gold-primary);
  transform: scale(1.3);
}

/* --- Footer --- */
footer.site-footer {
  margin-top: auto;
  background-color: #0b0b0b;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  padding: 6rem 0 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand .logo-title {
  font-size: 1.5rem;
}

.footer-brand-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 320px;
}

.footer-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold-primary);
  margin-bottom: 2rem;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.footer-link:hover {
  color: var(--color-gold-primary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
}

.footer-contact-item svg {
  color: var(--color-gold-primary);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

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

.footer-legal-link:hover {
  color: var(--color-gold-primary);
}

/* --- Admin Panel Styles --- */
.admin-body {
  background-color: var(--color-bg-primary);
}

/* Passcode Gate */
.admin-gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #1e1e1e 0%, #0c0c0c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.5s ease-in-out;
}

.admin-gate-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: var(--border-glow);
  border-radius: 12px;
  padding: 4rem 3rem;
  width: 100%;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  animation: scaleUp 0.4s ease-out;
}

.admin-gate-icon {
  font-size: 2.5rem;
  color: var(--color-gold-primary);
  margin-bottom: 1.5rem;
}

.admin-gate-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-gate-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.admin-gate-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.passcode-input {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.4em;
  font-weight: 700;
}

.gate-error-msg {
  color: var(--color-danger);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
  font-weight: 500;
}

/* Dashboard Content */
.admin-layout {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 6rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.admin-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-actions-group {
  display: flex;
  gap: 1rem;
}

/* Visual Metric Cards */
.metrics-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.metric-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: var(--border-glow);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  border-radius: 8px 0 0 8px;
}

.metric-card.total::before { background: var(--color-gold-primary); }
.metric-card.new::before { background: var(--color-info); }
.metric-card.scheduled::before { background: var(--color-warning); }
.metric-card.completed::before { background: var(--color-success); }

.metric-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.metric-value {
  font-size: 2.25rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

/* Filter and Table Section */
.leads-section {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: var(--border-glow);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.filter-bar {
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.search-wrapper {
  position: relative;
  flex-grow: 1;
  max-width: 400px;
}

.search-input {
  width: 100%;
  padding-left: 3rem;
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gold-primary);
}

.filter-group {
  display: flex;
  gap: 1rem;
}

.filter-select {
  min-width: 160px;
}

/* Leads Table */
.table-wrapper {
  overflow-x: auto;
  width: 100%;
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.leads-table th {
  background-color: rgba(255, 255, 255, 0.02);
  padding: 1.25rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.leads-table td {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  vertical-align: middle;
  font-weight: 300;
}

.leads-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.01);
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.new {
  background-color: rgba(2, 136, 209, 0.12);
  color: var(--color-info);
  border: 1px solid rgba(2, 136, 209, 0.3);
}

.status-badge.contacted {
  background-color: rgba(176, 141, 87, 0.12);
  color: var(--color-gold-primary);
  border: 1px solid rgba(176, 141, 87, 0.3);
}

.status-badge.scheduled {
  background-color: rgba(245, 124, 0, 0.12);
  color: var(--color-warning);
  border: 1px solid rgba(245, 124, 0, 0.3);
}

.status-badge.completed {
  background-color: rgba(46, 125, 50, 0.12);
  color: var(--color-success);
  border: 1px solid rgba(46, 125, 50, 0.3);
}

/* Lead Info Details */
.lead-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.lead-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.lead-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lead-contact-link:hover {
  color: var(--color-gold-primary);
}

.empty-state {
  text-align: center;
  padding: 6rem 2rem;
  color: var(--color-text-muted);
}

.empty-state-icon {
  font-size: 3rem;
  color: var(--color-bg-tertiary);
  margin-bottom: 1.5rem;
}

/* Lead Edit Modal Overlay */
.lead-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.lead-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lead-modal-card {
  background: var(--color-bg-secondary);
  border: var(--border-glow);
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  padding: 3rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  animation: scaleUp 0.3s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--color-text-primary);
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.modal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  background-color: var(--color-bg-primary);
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.modal-info-item {
  display: flex;
  flex-direction: column;
}

.modal-info-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
}

.modal-info-value {
  font-size: 0.95rem;
  color: var(--color-text-primary);
  margin-top: 0.25rem;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.delete-btn-link {
  color: var(--color-danger);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: none;
  border: none;
  cursor: pointer;
}

.delete-btn-link:hover {
  text-decoration: underline;
}

/* --- Image Showcase Components --- */

/* Service Card with Image */
.card-with-image {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: var(--border-glow);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.card-with-image:hover {
  transform: translateY(-5px);
  border: var(--border-glow-hover);
  box-shadow: var(--shadow-gold);
}

.card-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-with-image:hover .card-image-wrapper img {
  transform: scale(1.08);
}

.card-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(17,17,17,0.8) 0%, transparent 100%);
  pointer-events: none;
}

.card-body {
  padding: 2rem 2rem 2.5rem;
}

.card-body .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-body .card-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Why Choose Us - Image + Content Split */
.why-image-col {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
  border: var(--border-glow);
}

.why-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 400px;
}

.why-image-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(176,141,87,0.15) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

/* Service Detail Page - Image Column */
.service-image-col {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: var(--border-glow);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transition: var(--transition-smooth);
}

.service-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 350px;
  transition: transform 0.6s ease;
}

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

.service-image-col::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(176,141,87,0.1);
  border-radius: 8px;
  pointer-events: none;
}

/* Floating Image Badge Overlay */
.image-overlay-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  border: 1px solid rgba(176,141,87,0.25);
  z-index: 2;
}

.image-overlay-badge span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-primary);
}

/* Project Gallery Strip */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 260px;
  border: var(--border-glow);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  border-color: rgba(176,141,87,0.5);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-primary);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1;
}

.gallery-item:hover .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* Full-width Image Banner */
.image-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(68,68,68,0.85) 0%, rgba(68,68,68,0.3) 60%, transparent 100%);
  z-index: 1;
}

.image-banner-content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0 4rem;
  max-width: 550px;
}

/* Video Banner */
.video-banner {
  position: relative;
  width: 100%;
  padding-bottom: 42%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-banner iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}

.video-banner-logo-block {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 40px;
  z-index: 2;
  cursor: default;
}

/* About Page - Team Image Section */
.team-image-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
}

.team-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: var(--border-glow);
  box-shadow: var(--shadow-gold);
}

.team-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Image reveal animation */
.img-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Media Queries / Responsive Design --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  .hero-title span { font-size: 3.5rem; }
  .why-section-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .metrics-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-image-section {
    grid-template-columns: 1fr;
  }
  .image-banner-content {
    padding: 0 2rem;
  }
}

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

  header.site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }
  
  .section {
    padding: 5rem 0;
  }
  
  /* Navigation Menu mobile toggled */
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--color-bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2.5rem;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .header-actions {
    gap: 0.75rem;
  }

  .header-actions .phone-action {
    display: none; /* Hide phone number on mobile to conserve space */
  }

  .header-actions .btn {
    padding: 0.4rem 0.9rem !important;
    font-size: 0.65rem !important;
    white-space: nowrap;
  }

  .logo-img {
    width: 200px;
    height: auto;
    object-fit: contain;
  }
  

  .hero-title {
    font-size: 2.25rem;
  }
  .hero-title span {
    font-size: 3rem;
  }

  .hero-split {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    max-width: 100%;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-video-container {
    margin-top: 2rem;
  }
  .hero-inline-video {
    max-width: 100%;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
  }
  
  .metrics-container {
    grid-template-columns: 1fr;
  }
  
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-wrapper {
    max-width: none;
  }
  
  .lead-modal-card {
    padding: 2rem;
  }
  
  .modal-info-grid {
    grid-template-columns: 1fr;
  }
  .gallery-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .gallery-item {
    height: 200px;
  }
  .image-banner {
    height: 300px;
  }
  .image-banner-content {
    padding: 0 1.5rem;
  }
  .card-image-wrapper {
    height: 180px;
  }
}

/* --- Core Keyframe Animations --- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
