/* ----------------------------------------------------
   3-R ROOFING COMPANY - DESIGN SYSTEM
   ---------------------------------------------------- */
:root {
  /* Palette */
  --color-primary: #005A2B;         /* Forest Green - Primary Brand */
  --color-primary-dark: #00401E;    /* Dark Forest Green for headers/hover */
  --color-primary-light: #E6F3EC;   /* Extremely light green for backgrounds */
  --color-secondary: #C27D38;       /* Rich Copper/Bronze - Accent */
  --color-secondary-dark: #A56426;  /* Darker Copper for hover */
  --color-secondary-light: #FDF4EB; /* Very light copper background */
  
  --color-charcoal: #121824;        /* Charcoal for dark sections/footer */
  --color-slate: #1E293B;           /* Slate for primary text */
  --color-slate-light: #64748B;     /* Light slate for muted text */
  --color-bg-light: #F8FAFC;        /* Light grey-white background */
  --color-white: #FFFFFF;
  --color-border: #E2E8F0;          /* Subtle borders */
  --color-gold: #D4AF37;            /* Warm Gold for reviews/trust stars */
  
  --color-whatsapp: #25D366;        /* WhatsApp green */
  --color-whatsapp-dark: #128C7E;

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;

  /* Spacing, Shadows & Borders */
  --shadow-sm: 0 2px 4px rgba(18, 24, 36, 0.04);
  --shadow-md: 0 8px 16px rgba(18, 24, 36, 0.06);
  --shadow-lg: 0 16px 32px rgba(18, 24, 36, 0.08);
  
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-full: 9999px;

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-out;
}

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

html, body {
  overflow-x: clip;
  max-width: 100%;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-light);
  color: var(--color-slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ----------------------------------------------------
   TYPOGRAPHY SYSTEM
   ---------------------------------------------------- */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-charcoal);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
}

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

h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--color-slate-light);
}

.text-justify {
  text-align: justify;
}

/* ----------------------------------------------------
   LAYOUT & CONTAINER UTILITIES
   ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 7rem 0;
  position: relative;
}

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

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

.bg-dark-section {
  background-color: var(--color-charcoal);
  color: var(--color-white);
}

.bg-dark-section h2, 
.bg-dark-section h3 {
  color: var(--color-white);
}

.bg-dark-section p {
  color: var(--color-white);
  opacity: 0.85;
}

/* Blueprint Grid Pattern Background (Aesthetic Sketch Vibe) */
.blueprint-pattern {
  position: relative;
}

.blueprint-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(0, 90, 43, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 90, 43, 0.03) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

.container-relative {
  position: relative;
  z-index: 1;
}

/* ----------------------------------------------------
   BUTTONS & CTA
   ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 2px solid transparent;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 90, 43, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 90, 43, 0.3);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(194, 125, 56, 0.2);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(194, 125, 56, 0.3);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--color-charcoal);
  border-color: var(--color-charcoal);
}

.btn-outline-dark:hover {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline-light:hover {
  background-color: var(--color-white);
  color: var(--color-charcoal);
  transform: translateY(-3px);
}

/* ----------------------------------------------------
   HEADER & NAVIGATION
   ---------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

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

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

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  display: block;
  margin-top: 0.2rem;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-slate);
  padding: 0.5rem 0;
  position: relative;
}

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

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

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-nav-call {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.btn-nav-call:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--color-charcoal);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ----------------------------------------------------
   HERO SECTION
   ---------------------------------------------------- */
.hero {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
  display: flex;
  align-items: center;
  min-height: calc(85vh - 90px);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 75% 30%, rgba(0, 90, 43, 0.15) 0%, transparent 60%),
    linear-gradient(to right, rgba(18, 24, 36, 0.95) 50%, rgba(18, 24, 36, 0.6) 100%);
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.55;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  color: var(--color-secondary);
}

.hero-content p {
  color: var(--color-white);
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.trust-badges-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
}

.badge-item svg {
  width: 22px;
  height: 22px;
  fill: var(--color-secondary);
}

/* 2D Line Sketch Drawing container in Hero */
.hero-sketch-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.sketch-blueprint {
  width: 100%;
  max-width: 420px;
  height: auto;
  opacity: 0.85;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
  animation: float 6s ease-in-out infinite;
}

/* Blueprint Self-Drawing Animations */
@keyframes blueprint-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes draw-bottom-chord {
  from { stroke-dashoffset: 300; }
  to { stroke-dashoffset: 0; }
}

@keyframes draw-rafter-chord {
  from { stroke-dashoffset: 210; }
  to { stroke-dashoffset: 0; }
}

@keyframes draw-post {
  from { stroke-dashoffset: 140; }
  to { stroke-dashoffset: 0; }
}

@keyframes draw-strut-chord {
  from { stroke-dashoffset: 120; }
  to { stroke-dashoffset: 0; }
}

.blueprint-grid {
  animation: blueprint-fade-in 1.5s ease-in-out forwards;
}

.draw-chord-bottom {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw-bottom-chord 1.2s ease-out forwards;
  animation-delay: 0.6s;
}

.draw-rafter-left {
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
  animation: draw-rafter-chord 1s ease-out forwards;
  animation-delay: 1.6s;
}

.draw-rafter-right {
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
  animation: draw-rafter-chord 1s ease-out forwards;
  animation-delay: 1.6s;
}

.draw-king-post {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: draw-post 0.8s ease-out forwards;
  animation-delay: 2.5s;
}

.draw-strut-left-1, .draw-strut-left-2, .draw-strut-right-1, .draw-strut-right-2 {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: draw-strut-chord 0.8s ease-out forwards;
  animation-delay: 3.1s;
}

.blueprint-dimensions {
  animation: blueprint-fade-in 1s ease-in-out forwards;
  animation-delay: 3.8s;
  opacity: 0;
}

/* ----------------------------------------------------
   STATS BANNER
   ---------------------------------------------------- */
.stats-banner {
  background-color: var(--color-primary);
  padding: 3.5rem 0;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  z-index: 10;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number span {
  color: var(--color-secondary);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary-light);
}

/* ----------------------------------------------------
   SECTION INTRO & HEADERS
   ---------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 5rem;
}

.section-subtitle {
  color: var(--color-secondary);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-header p {
  font-size: 1.1rem;
}

/* ----------------------------------------------------
   SERVICES GRID (HOME/SERVICES SUMMARY)
   ---------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

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

.service-card:hover::before {
  background-color: var(--color-secondary);
  height: 8px;
}

.service-icon {
  background-color: var(--color-primary-light);
  width: 72px;
  height: 72px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.service-icon svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--color-charcoal);
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-link svg {
  width: 18px;
  height: 18px;
  transition: var(--transition-fast);
  fill: currentColor;
}

.card-link:hover {
  color: var(--color-secondary);
}

.card-link:hover svg {
  transform: translateX(5px);
}

/* ----------------------------------------------------
   WHY CHOOSE US & CORE VALUES
   ---------------------------------------------------- */
.why-choose-us {
  background-color: var(--color-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.why-content h2 {
  margin-bottom: 1.5rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.why-item {
  display: flex;
  gap: 1.5rem;
}

.why-icon-container {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  background-color: var(--color-primary-light);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.why-icon-container svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.why-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-charcoal);
}

.why-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.why-image-wrapper {
  position: relative;
}

.why-image-card {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.why-experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 200px;
  text-align: center;
  border-bottom: 5px solid var(--color-secondary);
}

.experience-years {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.experience-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* ----------------------------------------------------
   HOW IT WORKS (STEPS)
   ---------------------------------------------------- */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  position: relative;
}

.step-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  padding: 3rem 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ----------------------------------------------------
   TESTIMONIALS & REVIEWS
   ---------------------------------------------------- */
.testimonials-section {
  background-color: var(--color-bg-light);
}

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

.testimonial-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
  display: flex;
  flex-direction: column;
}

.quote-icon {
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--color-primary-light);
  line-height: 1;
  position: absolute;
  top: 1rem;
  left: 2rem;
  opacity: 0.6;
  user-select: none;
}

.testimonial-text {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  flex-grow: 1;
  color: var(--color-slate);
}

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

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-full);
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  font-size: 1.1rem;
}

.reviewer-info h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.15rem;
}

.reviewer-info span {
  font-size: 0.8rem;
  color: var(--color-slate-light);
  display: block;
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--color-gold);
  margin-top: 0.25rem;
}

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

.google-reviews-badge {
  text-align: center;
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  max-width: 650px;
  margin: 0 auto;
  justify-content: center;
  width: 100%;
}

.google-badge-stars {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.google-reviews-badge h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* ----------------------------------------------------
   SERVICE AREAS
   ---------------------------------------------------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.area-badge {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.area-badge:hover {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  transform: translateY(-3px);
}

.area-badge svg {
  width: 18px;
  height: 18px;
  fill: var(--color-secondary);
}

/* ----------------------------------------------------
   FAQ SECTION (COLLAPSIBLE ACCORDION)
   ---------------------------------------------------- */
.faq-section {
  background-color: var(--color-bg-light);
}

.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 1.75rem 2.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.faq-question-btn svg {
  width: 20px;
  height: 20px;
  transition: var(--transition-smooth);
  fill: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 2.5rem;
}

.faq-answer p {
  font-size: 1rem;
  padding-bottom: 1.75rem;
  margin-bottom: 0;
  line-height: 1.75;
}

/* Open FAQ State */
.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 2.5rem 1.75rem;
}

/* ----------------------------------------------------
   FINAL CALL TO ACTION (CTA)
   ---------------------------------------------------- */
.final-cta {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(0, 90, 43, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta h2 {
  color: var(--color-white);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.final-cta p {
  color: var(--color-white);
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
}

.final-cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----------------------------------------------------
   SERVICES PAGE DETAILED CONTENT
   ---------------------------------------------------- */
.services-hero {
  background-color: var(--color-charcoal);
  text-align: center;
  padding: 6rem 0;
  border-bottom: 4px solid var(--color-secondary);
  color: var(--color-white);
}

.services-hero h1 {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 1rem;
}

.services-hero p {
  color: var(--color-white);
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
}

.detailed-service-row {
  display: flex;
  align-items: center;
  gap: 5rem;
  margin-bottom: 8rem;
}

.detailed-service-row:nth-child(even) {
  flex-direction: row-reverse;
}

.detailed-service-row:last-child {
  margin-bottom: 0;
}

.service-img-container {
  flex: 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  border: 1px solid var(--color-border);
}

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

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

.service-text-container {
  flex: 1.1;
}

.service-title {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  color: var(--color-charcoal);
}

.service-desc {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.service-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  margin-bottom: 2.5rem;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-slate);
}

.service-features-list svg {
  width: 18px;
  height: 18px;
  fill: var(--color-primary);
  flex-shrink: 0;
}

/* ----------------------------------------------------
   ABOUT PAGE CONTENT
   ---------------------------------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-visual-card {
  background-color: var(--color-primary);
  border-radius: var(--border-radius-lg);
  padding: 4rem 3rem;
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  border-bottom: 5px solid var(--color-secondary);
}

.about-visual-card h3 {
  color: var(--color-white);
  font-size: 1.6rem;
  margin-bottom: 2rem;
  font-family: var(--font-display);
}

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

.about-commitments li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 1.05rem;
  font-weight: 500;
}

.about-commitments svg {
  width: 20px;
  height: 20px;
  fill: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 4px;
}

.history-banner {
  background-color: var(--color-primary-light);
  border-radius: var(--border-radius-lg);
  padding: 5rem;
  margin-top: 7rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.history-text {
  flex: 1.5;
}

.history-text h2 {
  font-size: 2.25rem;
  color: var(--color-primary-dark);
  margin-bottom: 1.25rem;
}

.history-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-slate);
}

.history-graphic {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.history-graphic svg {
  width: 100%;
  max-width: 260px;
  height: auto;
  overflow: visible;
}

/* Radar & Map Animations */
@keyframes radar-sweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes radar-pulse {
  0% {
    opacity: 0.3;
    stroke-width: 1px;
  }
  50% {
    opacity: 1;
    stroke-width: 2px;
  }
  100% {
    opacity: 0.3;
    stroke-width: 1px;
  }
}

@keyframes map-glow {
  0% {
    fill: rgba(0, 90, 43, 0.05);
    stroke-width: 1.5px;
  }
  50% {
    fill: rgba(0, 90, 43, 0.18);
    stroke-width: 2.25px;
  }
  100% {
    fill: rgba(0, 90, 43, 0.05);
    stroke-width: 1.5px;
  }
}

.radar-sweep-beam {
  transform-origin: 100px 100px;
  animation: radar-sweep 5s linear infinite;
}

.radar-circle-1 {
  animation: radar-pulse 3s ease-in-out infinite;
}

.radar-circle-2 {
  animation: radar-pulse 3s ease-in-out infinite;
  animation-delay: 1s;
}

.radar-circle-3 {
  animation: radar-pulse 3s ease-in-out infinite;
  animation-delay: 2s;
}

.radar-map-outline {
  animation: map-glow 4s ease-in-out infinite;
  transition: var(--transition-smooth);
}

/* ----------------------------------------------------
   PRICING & CALCULATOR PAGE
   ---------------------------------------------------- */
.pricing-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.pricing-info-col h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.pricing-info-col p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

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

.pricing-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.pricing-item-name {
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-charcoal);
}

.pricing-item-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-primary);
}

.estimator-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 4rem 3.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.estimator-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 1rem;
}

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

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

.estimator-group label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-slate);
}

.estimator-group select, 
.estimator-group input {
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  background-color: var(--color-bg-light);
  outline: none;
  transition: var(--transition-smooth);
}

.estimator-group select:focus, 
.estimator-group input:focus {
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(0, 90, 43, 0.12);
}

.estimator-results {
  background-color: var(--color-primary-light);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  margin-top: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 90, 43, 0.1);
  display: none;
}

.estimator-results.active {
  display: block;
}

.estimator-result-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.estimator-result-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
}

/* ----------------------------------------------------
   CONTACT & BOOKING PAGE
   ---------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-details-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.contact-method {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.contact-method:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--color-primary-light);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-method h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-method p, 
.contact-method a {
  font-size: 1rem;
  color: var(--color-slate-light);
  margin-bottom: 0;
}

.social-row-contact {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}

.social-circle {
  width: 40px;
  height: 40px;
  background-color: var(--color-charcoal);
  color: var(--color-secondary);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-circle:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.social-circle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  height: 380px;
  width: 100%;
}

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

.quote-form-container {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 4.5rem 3.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  position: relative;
}

.quote-form-container h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.quote-form-container > p {
  margin-bottom: 2.5rem;
}

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

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  background-color: var(--color-bg-light);
  color: var(--color-charcoal);
  transition: var(--transition-smooth);
  outline: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(0, 90, 43, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-success-container {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease forwards;
}

.success-icon-circle {
  width: 90px;
  height: 90px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-md);
}

.success-icon-circle svg {
  width: 44px;
  height: 44px;
  fill: currentColor;
}

.form-success-container h3 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--color-charcoal);
}

.form-success-container p {
  font-size: 1.05rem;
  color: var(--color-slate-light);
  max-width: 500px;
  line-height: 1.75;
}

/* Scheduler Embed Section */
.booking-section {
  grid-column: span 2;
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  margin-top: 6rem;
}

.booking-section h2 {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 1rem;
}

.booking-section > p {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

.cal-embed-wrapper {
  width: 100%;
  min-height: 600px;
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius-md);
  border: 1px dashed var(--color-primary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----------------------------------------------------
   BLOG PAGES ARCHIVE & GRID
   ---------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.blog-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
}

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

.blog-tag {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 1.25rem;
  border-radius: var(--border-radius-full);
  margin-bottom: 1.25rem;
}

.blog-card h3 {
  font-size: 1.35rem;
  color: var(--color-charcoal);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-card p {
  font-size: 0.95rem;
  color: var(--color-slate-light);
  margin-bottom: 2rem;
  flex-grow: 1;
  line-height: 1.6;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--color-slate-light);
  margin-bottom: 0;
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
}

/* Blog Single Page Layout */
.blog-post-container {
  max-width: 900px;
  margin: 0 auto;
}

.blog-post-header {
  margin-bottom: 3.5rem;
}

.blog-post-header .blog-tag {
  margin-bottom: 1.5rem;
}

.blog-post-header h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.blog-post-meta {
  font-size: 0.95rem;
  color: var(--color-slate-light);
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
}

.blog-post-meta span strong {
  color: var(--color-charcoal);
}

.blog-post-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
}

.blog-post-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-slate);
}

.blog-post-body p {
  margin-bottom: 2rem;
  color: var(--color-slate);
}

.blog-post-body h2 {
  font-size: 1.85rem;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  color: var(--color-charcoal);
}

.blog-post-body h3 {
  font-size: 1.45rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-charcoal);
}

.blog-post-body ul, 
.blog-post-body ol {
  margin-bottom: 2rem;
  padding-left: 2.5rem;
}

.blog-post-body li {
  margin-bottom: 0.75rem;
}

.blog-post-body blockquote {
  border-left: 5px solid var(--color-primary);
  padding: 1.5rem 2rem;
  background-color: var(--color-primary-light);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  margin: 3rem 0;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-primary-dark);
}

/* ----------------------------------------------------
   POLICY PAGES
   ---------------------------------------------------- */
.policy-content {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 5rem;
  box-shadow: var(--shadow-sm);
  max-width: 960px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.85rem;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--color-bg-light);
  padding-bottom: 0.5rem;
}

.policy-content h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content p, 
.policy-content li {
  color: var(--color-slate);
  font-size: 1.05rem;
  line-height: 1.75;
}

.policy-content ul, 
.policy-content ol {
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.policy-content li {
  margin-bottom: 0.75rem;
}

/* ----------------------------------------------------
   GLOBAL FOOTER
   ---------------------------------------------------- */
.footer {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  border-top: 5px solid var(--color-primary);
  padding: 6rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

.footer-about img {
  height: 52px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.footer-about p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-social-links {
  display: flex;
  gap: 0.85rem;
}

.footer-social-links a {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition-smooth);
}

.footer-social-links a:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

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

.footer-links a {
  font-size: 0.95rem;
  opacity: 0.8;
  color: var(--color-white);
}

.footer-links a:hover {
  color: var(--color-secondary);
  opacity: 1;
  padding-left: 5px;
}

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

.footer-contact-info li {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
  opacity: 0.85;
  align-items: flex-start;
}

.footer-contact-info svg {
  width: 18px;
  height: 18px;
  fill: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-info a {
  color: var(--color-white);
}

.footer-contact-info a:hover {
  color: var(--color-secondary);
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
}

.footer-badge-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.75;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.footer-bottom-links a {
  color: var(--color-white);
}

.footer-bottom-links a:hover {
  color: var(--color-secondary);
}

/* ----------------------------------------------------
   FLOATING ACTION BUTTONS (DESKTOP)
   ---------------------------------------------------- */
.floating-actions {
  position: fixed;
  bottom: 3rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.btn-float {
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  color: var(--color-white);
}

.btn-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-float-whatsapp {
  background-color: var(--color-whatsapp);
}

.btn-float-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
}

.btn-float-phone {
  background-color: var(--color-primary);
}

.btn-float-phone:hover {
  background-color: var(--color-primary-dark);
}

.btn-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 11rem;
  right: 2rem;
  background-color: var(--color-white);
  color: var(--color-primary);
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 99;
  border: 1px solid var(--color-border);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  background-color: var(--color-white);
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(18, 24, 36, 0.1);
  grid-template-columns: 1fr 1fr;
}

.sticky-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  border: none;
  cursor: pointer;
}

.sticky-bar-btn-phone {
  background-color: var(--color-primary);
}

.sticky-bar-btn-phone:hover {
  background-color: var(--color-primary-dark);
}

.sticky-bar-btn-whatsapp {
  background-color: var(--color-whatsapp);
}

.sticky-bar-btn-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
}

.sticky-bar-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ----------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ---------------------------------------------------- */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .services-grid, 
  .testimonials-grid, 
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-container, 
  .about-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .contact-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }
  .quote-form-container {
    order: 1;
  }
  .booking-section {
    order: 2;
    margin-top: 0 !important;
  }
  .contact-info-col {
    order: 3;
  }
  .estimator-card {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .navbar {
    height: 80px;
  }
  .logo img {
    height: 46px;
  }
  .menu-toggle {
    display: flex;
  }
  
  /* Mobile Navigation Drawer */
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 4rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-cta {
    display: none;
  }

  .nav-links .nav-cta-mobile {
    display: block !important;
    width: 100%;
    margin-top: 1rem;
    max-width: 320px;
  }

  .nav-cta-mobile .btn {
    width: 100%;
    margin-bottom: 1rem;
  }

  .hero {
    padding: 6rem 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-ctas, 
  .trust-badges-hero {
    justify-content: center;
  }

  .trust-badges-hero {
    gap: 1rem 1.75rem;
  }

  .badge-item {
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .badge-item svg {
    width: 20px;
    height: 20px;
  }

  .hero-sketch-container {
    max-width: 340px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .stat-item:first-child {
    padding-top: 0;
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .why-image-wrapper {
    max-width: 500px;
    margin: 40px auto 0;
  }

  .detailed-service-row, 
  .detailed-service-row:nth-child(even) {
    flex-direction: column;
    gap: 3rem;
  }

  .history-banner {
    flex-direction: column;
    padding: 3rem;
    gap: 3rem;
    text-align: center;
  }

  .history-graphic {
    max-width: 220px;
    margin: 0 auto;
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: grid;
  }
  .footer {
    padding-bottom: calc(2.5rem + 65px) !important;
  }
  /* Hide floating actions to avoid mobile clutter */
  .btn-float-phone, 
  .btn-float-whatsapp {
    display: none !important;
  }
  .scroll-to-top {
    bottom: calc(1.5rem + 65px) !important;
  }
  .policy-content {
    padding: 3rem 2rem;
  }
}

@media (max-width: 600px) {
  .services-grid, 
  .testimonials-grid, 
  .blog-grid, 
  .steps-container, 
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .stat-item:first-child {
    padding-top: 0;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .quote-form-container {
    padding: 3rem 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
  }
  .footer-about {
    grid-column: span 2;
  }
  .footer-col:last-child {
    grid-column: span 2;
  }
  .google-reviews-badge {
    flex-direction: column;
    gap: 1.5rem;
  }
  /* Mobile Hero Optimization */
  .hero {
    padding: 5rem 0 3rem;
    min-height: auto;
  }
  .hero h1 {
    font-size: 2.25rem;
    line-height: 1.25;
  }
  .hero p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }
  .hero-ctas .btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .trust-badges-hero {
    gap: 0.75rem 1.25rem;
    padding-top: 1.5rem;
  }

  .badge-item {
    font-size: 0.75rem;
    gap: 0.4rem;
  }

  .badge-item svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 400px) {
  .areas-grid {
    grid-template-columns: 1fr;
  }
}

/* Hamburger Animation */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Float Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

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

/* ----------------------------------------------------
   SPECIALTY TABLE STYLING
   ---------------------------------------------------- */
.table-container {
  width: 100%;
  overflow-x: auto;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}

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

.specialty-table th {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 1.25rem 1.5rem;
  border-bottom: 3px solid var(--color-primary);
}

.specialty-table td {
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-slate);
  line-height: 1.6;
  vertical-align: middle;
}

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

.specialty-table tr:nth-child(even) {
  background-color: var(--color-bg-light);
}

.specialty-table tr:hover {
  background-color: rgba(0, 90, 43, 0.03);
}

.specialty-table td strong {
  color: var(--color-primary-dark);
  font-size: 1.05rem;
}

.price-cell {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary) !important;
  white-space: nowrap;
}

@media (max-width: 768px) {
  /* Remove outer table borders/shadows to let cards stand out */
  .table-container {
    background-color: transparent;
    border: none;
    box-shadow: none;
    margin-top: 1.5rem;
  }

  /* Force table elements to stack vertically like blocks */
  .specialty-table,
  .specialty-table thead,
  .specialty-table tbody,
  .specialty-table tr,
  .specialty-table th,
  .specialty-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  /* Hide headers on mobile */
  .specialty-table thead {
    display: none;
  }

  /* Style table rows as cards */
  .specialty-table tr {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
  }

  .specialty-table tr:last-child {
    margin-bottom: 0;
  }

  .specialty-table tr:nth-child(even) {
    background-color: var(--color-bg-light);
  }

  /* Pad the card content areas */
  .specialty-table td {
    padding: 0.4rem 0 !important;
    border-bottom: none !important;
    text-align: left;
  }

  /* Row 1: Service Name */
  .specialty-table td:nth-child(1) {
    border-bottom: 2px solid var(--color-border) !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: 0.75rem;
  }

  .specialty-table td strong {
    font-size: 1.15rem;
    color: var(--color-charcoal);
  }

  /* Row 2: Price */
  .specialty-table td:nth-child(2) {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
  }

  /* Row 3: Description */
  .specialty-table td:nth-child(3) {
    font-size: 0.95rem;
    color: var(--color-slate-light);
    line-height: 1.55;
  }
}
