/* ----------------------------------------------------
   WATERTIGHT ROOFING AND CONSTRUCTION LLC - DESIGN SYSTEM
   ---------------------------------------------------- */
:root {
  /* Palette */
  --color-primary: #1565C0;         /* Watertight Roofing Blue */
  --color-primary-dark: #0D47A1;    /* Dark Blue for headers/hover */
  --color-primary-light: #E3F2FD;   /* Light Blue for backgrounds */
  --color-secondary: #E5A93B;       /* Premium Gold - Accent / Trust Stars */
  --color-secondary-dark: #B58428;  /* Darker Gold for hover */
  --color-secondary-light: #FEF9F3; /* Light Champagne/Gold background */
  
  --color-charcoal: #1E252B;        /* Charcoal for dark sections/footer */
  --color-slate: #2D3748;           /* Slate for primary text */
  --color-slate-light: #718096;     /* Light slate for muted text */
  --color-bg-light: #F7FAFC;        /* Light grey-white background */
  --color-white: #FFFFFF;
  --color-border: #E2E8F0;          /* Subtle borders */
  --color-gold: #FFB703;            /* Warm Gold for reviews/trust stars */
  --color-emergency: #D32F2F;       /* Emergency red for urgent CTAs */
  
  --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 {
  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(21, 101, 192, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21, 101, 192, 0.04) 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(13, 92, 117, 0.2);
}

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

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(229, 169, 59, 0.2);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(229, 169, 59, 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: #1b3b5f; /* Deep Navy Blue */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-smooth);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Compass square logo */
.logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

/* Serif font style for Dusty Compass brand */
.logo-text {
  display: block !important;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.logo-tagline {
  display: block !important;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.62rem;
  color: var(--color-secondary); /* Premium Gold */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1.2;
}

/* Show the companion div next to logo img */
.logo > div {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0;
  position: relative;
  white-space: nowrap;
}

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

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

.nav-link:hover {
  color: #ffffff;
}

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

.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: #ffffff;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ----------------------------------------------------
   HERO SECTION
   ---------------------------------------------------- */
.hero {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem 0;
  display: flex;
  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(13, 92, 117, 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: #0c121c !important;
  padding: 3.5rem 0;
  color: var(--color-white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 10;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.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(13, 92, 117, 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(13, 92, 117, 0.05);
    stroke-width: 1.5px;
  }
  50% {
    fill: rgba(13, 92, 117, 0.18);
    stroke-width: 2.25px;
  }
  100% {
    fill: rgba(13, 92, 117, 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(13, 92, 117, 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(13, 92, 117, 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(13, 92, 117, 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: #071424; /* Deep navy blue matching footer reference image */
  color: var(--color-white);
  border-top: 4px solid var(--color-secondary);
  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: 48px;
  width: auto;
  margin-bottom: 1.25rem;
  object-fit: contain;
  /* Real Watertight logo is horizontal — no border radius */
  border-radius: 0 !important;
}

/* Hide text next to footer logo since logo image contains brand name */
.footer-logo-text {
  display: none;
}

.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(13, 92, 117, 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;
  }
}

/* ====================================================
   WATERTIGHT ROOFING — PAGE-SPECIFIC & UTILITY CLASSES
   ==================================================== */

/* Background utilities */
.bg-light {
  background-color: var(--color-bg-light);
}

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

.bg-dark-section {
  background: linear-gradient(135deg, var(--color-charcoal) 0%, #2c3a47 100%);
  color: #fff;
}

.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section p {
  color: rgba(255, 255, 255, 0.9);
}

/* ---- Services Hero (shared banner for inner pages) ---- */
.services-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff;
  padding: 5.5rem 0 4rem;
  text-align: center;
}

.services-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.services-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ---- Detailed Service Row (Services page) ---- */
.detailed-service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-border);
}

.detailed-service-row:last-child {
  border-bottom: none;
}

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

.detailed-service-row:nth-child(even) > * {
  direction: ltr;
}

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

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

.service-img-container:hover img {
  transform: scale(1.04);
}

.service-text-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--color-charcoal);
}

.service-desc {
  color: var(--color-slate-light);
  line-height: 1.8;
}

.service-features-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.5rem 0;
}

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

@media (max-width: 900px) {
  .detailed-service-row {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
    padding: 3rem 0;
  }

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

/* ---- About page layout ---- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--color-slate-light);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

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

.about-visual-card {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  padding: 3rem 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 120px;
}

.about-visual-card h3 {
  color: #fff;
  margin-bottom: 1.5rem;
}

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

.about-commitments li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

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

.about-commitments li strong {
  color: #fff;
  display: block;
  margin-bottom: 0.25rem;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual-card {
    position: static;
  }
}

/* ---- History / service map banner ---- */
.history-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.history-text h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.history-text p {
  color: var(--color-slate-light);
  line-height: 1.8;
}

.history-graphic {
  width: 200px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .history-banner {
    grid-template-columns: 1fr;
  }

  .history-graphic {
    display: none;
  }
}

/* ---- Footer Logo Text ---- */
.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}

/* ---- Container relative for blueprint backgrounds ---- */
.container-relative {
  position: relative;
  z-index: 1;
}

/* ---- Blueprint Pattern Overlay ---- */
.blueprint-pattern {
  position: relative;
}

/* ---- btn-nav-call ---- */
.btn-nav-call {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.btn-nav-call:hover {
  background: var(--color-primary);
  color: #fff;
}

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

/* ---- btn-outline-light ---- */
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--border-radius-full);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

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

/* ---- About Visual Column (wraps real photo + credentials card) ---- */
.about-visual-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}

.about-visual-col .about-visual-card {
  position: static;
}

@media (max-width: 900px) {
  .about-visual-col {
    position: static;
  }
}

/* ---- Footer logo text: show for Dusty Compass ---- */
.footer-logo-text {
  display: inline !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}

/* ---- Logo on white background ---- */
.header .logo img {
  border-radius: 12px !important;
  height: 54px;
}

/* Footer logo sizing override */
.footer-about a img {
  height: 46px !important;
  width: auto !important;
  border-radius: 12px !important;
}

/* ----------------------------------------------------
   DUSTY COMPASS — PRICING CARDS
   ---------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  background-color: var(--color-charcoal);
  border-color: var(--color-charcoal);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.pricing-card--featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.pricing-plan-name {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  margin-bottom: 0.25rem;
  color: var(--color-charcoal);
}

.pricing-card--featured .pricing-plan-name {
  color: #fff;
}

.pricing-original {
  font-size: 1rem;
  color: var(--color-slate-light);
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-charcoal);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-slate-light);
}

.pricing-discount-tag {
  display: inline-block;
  background-color: var(--color-emergency);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--border-radius-full);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  flex-grow: 1;
}

.pricing-card--featured .pricing-features {
  border-top-color: rgba(255,255,255,0.15);
}

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

.pricing-card--featured .pricing-features li {
  color: rgba(255,255,255,0.85);
}

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

.pricing-card--featured .pricing-features svg {
  fill: var(--color-secondary);
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-6px);
  }
}

/* ----------------------------------------------------
   DUSTY COMPASS — WHATSAPP FLOATING BUTTON
   ---------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--color-whatsapp);
  color: #fff;
  padding: 0.875rem 1.5rem 0.875rem 1.25rem;
  border-radius: var(--border-radius-full);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.whatsapp-float:hover {
  background-color: var(--color-whatsapp-dark);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
  transform: translateY(-3px);
  color: #fff;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 1rem;
    border-radius: 50%;
    right: 1.25rem;
    bottom: 1.25rem;
  }
}

/* ----------------------------------------------------
   DUSTY COMPASS — FOOTER CONTACT LIST
   ---------------------------------------------------- */
.footer-contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.footer-contact-list svg {
  width: 16px;
  height: 16px;
  fill: var(--color-secondary);
  flex-shrink: 0;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

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

/* Landing page slim hero variant */
.lp-hero {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem 0;
}

.lp-hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 30%, rgba(21, 101, 192, 0.2) 0%, transparent 60%),
    linear-gradient(to right, rgba(18, 24, 36, 0.97) 55%, rgba(18, 24, 36, 0.7) 100%);
  z-index: 1;
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 0;
}

.lp-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.lp-hero-content h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}

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

.lp-hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.lp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.lp-breadcrumb a {
  color: var(--color-secondary);
}

.lp-breadcrumb span {
  opacity: 0.4;
}

/* Pain point / callout box */
.lp-callout {
  background: var(--color-primary-light);
  border-left: 5px solid var(--color-primary);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}

.lp-callout p {
  color: var(--color-charcoal);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  font-style: italic;
}

/* Result metric cards */
.lp-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.lp-metric-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.lp-metric-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.lp-metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-slate-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .lp-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* Landing page CTA section */
.lp-cta-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff;
  padding: 6rem 0;
  text-align: center;
}

.lp-cta-section h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.lp-cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Outline dark button */
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-full);
  color: var(--color-charcoal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  background: transparent;
}

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

/* About section responsive */
@media (max-width: 900px) {
  .about-grid-2col {
    grid-template-columns: 1fr !important;
  }
}

/* Contact form responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==============================================
   CHECKOUT MODAL — 3-STEP FLOW
   ============================================== */
.checkout-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 30, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.checkout-overlay.active {
  display: flex;
}
.checkout-modal {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  width: 100%;
  max-width: 520px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.checkout-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-light);
  color: var(--color-slate);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.checkout-modal-close:hover { background: var(--color-border); }

.checkout-step { display: none; }
.checkout-step.active { display: block; }

.checkout-step-indicator {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  align-items: center;
  justify-content: center;
}
.step-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-border);
  transition: all 0.3s;
}
.step-dot.active { background: var(--color-primary); transform: scale(1.3); }
.step-dot.done { background: var(--color-whatsapp); }
.step-line { flex: 1; max-width: 40px; height: 2px; background: var(--color-border); }

.checkout-plan-badge {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.checkout-modal h3 {
  font-size: 1.75rem;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}
.checkout-modal p { color: var(--color-slate-light); font-size: 0.9rem; }

.checkout-plan-summary {
  background: var(--color-bg-light);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.checkout-plan-name { font-weight: 700; color: var(--color-charcoal); font-size: 1rem; }
.checkout-plan-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--color-primary); }

.checkout-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.checkout-field { display: flex; flex-direction: column; gap: 0.4rem; }
.checkout-field.full { grid-column: 1 / -1; }
.checkout-field label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.checkout-field input, .checkout-field textarea {
  padding: 0.875rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-light);
  color: var(--color-charcoal);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.checkout-field input:focus, .checkout-field textarea:focus { border-color: var(--color-primary); }
.checkout-field textarea { resize: vertical; min-height: 80px; }

.checkout-btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; padding: 1.1rem;
  background: var(--color-primary);
  color: #fff; border: none; border-radius: 12px;
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: var(--transition-smooth);
  margin-top: 1rem;
}
.checkout-btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.checkout-btn-pay-later {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; padding: 1.1rem;
  background: var(--color-secondary);
  color: #fff; border: none; border-radius: 12px;
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: var(--transition-smooth);
  margin-top: 0.75rem;
  text-decoration: none;
}
.checkout-btn-pay-later:hover { background: var(--color-secondary-dark); transform: translateY(-1px); color: #fff; }

.checkout-divider {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 1.25rem 0;
  font-size: 0.75rem; color: var(--color-slate-light); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.checkout-divider::before, .checkout-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--color-border);
}

.checkout-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--color-whatsapp);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes successPop {
  from { transform: scale(0); } to { transform: scale(1); }
}
.checkout-success-table {
  background: var(--color-bg-light);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
}
.checkout-success-row {
  display: flex; justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.checkout-success-row:last-child { border-bottom: none; }
.checkout-success-row strong { color: var(--color-charcoal); }

/* Secure plan buttons (replace Razorpay iFrame) */
.btn-secure-plan {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; padding: 1rem 1.5rem;
  background: var(--color-primary); color: #fff;
  border: none; border-radius: 10px;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: var(--transition-smooth);
  letter-spacing: 0.01em;
}
.btn-secure-plan:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(21,101,192,0.3); }
.pricing-card--featured .btn-secure-plan {
  background: var(--color-secondary);
}
.pricing-card--featured .btn-secure-plan:hover {
  background: var(--color-secondary-dark);
  box-shadow: 0 8px 24px rgba(229,169,59,0.4);
}
.btn-secure-plan-outline {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; padding: 1rem 1.5rem;
  background: transparent; color: var(--color-primary);
  border: 2px solid var(--color-primary); border-radius: 10px;
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
  cursor: pointer; transition: var(--transition-smooth);
}
.btn-secure-plan-outline:hover { background: var(--color-primary); color: #fff; }

/* ==============================================
   FOOTER IMPROVEMENTS
   ============================================== */
.footer-payment-icons {
  display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap;
  margin-top: 1.5rem;
}
.payment-icon-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  font-size: 0.7rem; font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 0.3rem;
}

/* ==============================================
   LANDING PAGE HERO MINI-FORM
   ============================================== */
.lp-hero-form-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 2.25rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}
.lp-hero-form-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 0.4rem; }
.lp-hero-form-card p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 1.25rem; }
.lp-hero-form-field {
  margin-bottom: 0.75rem;
}
.lp-hero-form-field input, .lp-hero-form-field textarea {
  width: 100%; padding: 0.8rem 1rem;
  border-radius: 10px; border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1); color: #fff;
  font-family: inherit; font-size: 0.9rem; outline: none;
  transition: border-color 0.2s;
}
.lp-hero-form-field input::placeholder, .lp-hero-form-field textarea::placeholder { color: rgba(255,255,255,0.5); }
.lp-hero-form-field input:focus, .lp-hero-form-field textarea:focus { border-color: var(--color-secondary); }

/* ==============================================
   TRUST BADGES — CLIENT OUTCOME FOCUSED
   ============================================== */
.outcome-badges {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center; margin-top: 2rem;
}
.outcome-badge {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem; font-weight: 600; color: var(--color-charcoal);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.outcome-badge:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.outcome-badge-icon { font-size: 1.1rem; }

/* ==============================================
   MOBILE RESPONSIVE — COMPLETE AUDIT
   ============================================== */
@media (max-width: 1024px) {
  .lp-hero-content { max-width: 100%; }
}

@media (max-width: 900px) {
  /* LP hero 2-col to 1-col */
  .lp-hero .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .lp-hero-form-card { max-width: 100%; }

  /* Contact section */
  [style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Trial/Redesign grid */
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  /* Checkout modal */
  .checkout-modal { padding: 1.75rem 1.5rem; border-radius: 16px; }
  .checkout-input-row { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr !important; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr !important; }

  /* Stats grid */
  .stats-grid { grid-template-columns: 1fr 1fr !important; }

  /* Services grid */
  .services-grid { grid-template-columns: 1fr !important; }

  /* LP metrics grid */
  .lp-metrics-grid { grid-template-columns: 1fr !important; }

  /* About grid  */
  [style*="grid-template-columns: 1fr 1fr; gap: 5rem"],
  [style*="grid-template-columns: 1.1fr 0.9fr; gap: 5rem"],
  [style*="grid-template-columns: repeat(2, 1fr); gap: 3rem"],
  [style*="grid-template-columns: 1fr 1fr; gap: 2.5rem"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* OTA calculator grid */
  [style*="grid-template-columns: 1fr 1fr; gap: 2rem"] {
    grid-template-columns: 1fr !important;
  }

  /* Comparison grids on LP pages */
  [style*="grid-template-columns: 1fr 1fr; gap: 2rem"] {
    grid-template-columns: 1fr !important;
  }

  /* About sticky card overflow */
  [style*="position: absolute; bottom: 2rem; right: -1.5rem"] {
    position: static !important;
    margin-top: 1rem !important;
  }

  .lp-hero-content h1 { font-size: clamp(1.6rem, 5vw, 2.5rem); }
  .lp-hero { padding: 120px 0 60px; }

  /* LP 3-col metrics to 1-col */
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  /* Hero form card full width */
  .hero-quick-form { padding: 1.75rem 1.5rem; }

  /* Checkout modal tight padding */
  .checkout-modal { padding: 1.5rem 1.25rem; }

  /* Outcome badges wrap nicely */
  .outcome-badges { gap: 0.5rem; }
  .outcome-badge { font-size: 0.78rem; padding: 0.4rem 1rem; }
}

/* ----------------------------------------------------
   LP HERO STYLES (Added to fix visibility)
   ---------------------------------------------------- */
.lp-hero {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

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

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

/* Ensure forms inside LP heroes have sufficient contrast */
.hero-quick-form {
  background: rgba(20, 28, 40, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* Ensure perfect rounded corners on all logos */
img[src="logo.jpeg"] {
  border-radius: 12px !important;
}

/* FINAL UI POLISH FIXES */

/* 1. Global Logo Styling (Rounded Rectangles for Brand, Perfect Circle for Avatars/Badges) */
.logo img, .footer-logo img, img[src*="logo"] {
    border-radius: 12px !important;
}
.google-reviews-badge img, .review-logo img, .reviewer-avatar img {
    border-radius: 50% !important;
}

/* 2. Razorpay Payment Button Fix */
.razorpay-payment-button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 250px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-family: var(--font-sans) !important;
    font-size: 1rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: var(--transition-smooth) !important;
}
.razorpay-payment-button:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}
/* Handle Razorpay container alignment */
form > script[src*="razorpay"] + div, .razorpay-payment-button-container {
    width: 100% !important;
    display: block !important;
}

/* 3. Problem Worth Solving Section (Screenshot 2 Style) */
.problem-solving-section {
  background-color: #0c152b !important; /* Dark Navy Background */
  padding: 5rem 0 6rem;
  color: #ffffff;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pill-badge {
  display: inline-block;
  padding: 0.35rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.problem-solving-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.problem-card {
  border-radius: 20px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.problem-card h3 {
  color: #ffffff !important;
  font-size: 1.35rem !important;
  margin-top: 1.25rem !important;
  margin-bottom: 0.75rem !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
}

.problem-card p {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}

/* Specific Card Variants */
.card-problem {
  background: linear-gradient(135deg, rgba(116, 79, 218, 0.06) 0%, rgba(12, 21, 43, 0.6) 100%);
  border: 1px solid rgba(116, 79, 218, 0.18);
}
.card-problem:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(116, 79, 218, 0.12);
  border-color: rgba(116, 79, 218, 0.35);
}

.card-solution {
  background: linear-gradient(135deg, rgba(229, 169, 59, 0.06) 0%, rgba(12, 21, 43, 0.6) 100%);
  border: 1px solid rgba(229, 169, 59, 0.18);
}
.card-solution:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(229, 169, 59, 0.12);
  border-color: rgba(229, 169, 59, 0.35);
}

.card-result {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.06) 0%, rgba(12, 21, 43, 0.6) 100%);
  border: 1px solid rgba(37, 211, 102, 0.18);
}
.card-result:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.35);
}

/* Card Badges */
.card-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.badge-red { color: #ff6b6b; }
.badge-gold { color: #e5a93b; }
.badge-green { color: #25d366; }

/* Icon Circle */
.card-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.circle-red {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.25);
}
.circle-gold {
  background: rgba(229, 169, 59, 0.12);
  border: 1px solid rgba(229, 169, 59, 0.25);
}
.circle-green {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.25);
}

/* Timeline/Process styles */
.process-timeline-container {
  margin-top: 5rem;
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 24px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: rgba(229, 169, 59, 0.25); /* Connecting line */
  z-index: 1;
}

.timeline-items {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.timeline-item {
  flex: 1;
  text-align: center;
}

.timeline-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0c152b;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 12px rgba(229, 169, 59, 0.15);
}

.timeline-content h4 {
  color: #ffffff !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  margin-bottom: 0.5rem !important;
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
  max-width: 250px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .timeline-line {
    display: none;
  }
  .timeline-items {
    flex-direction: column;
    gap: 2.5rem;
  }
  .timeline-content p {
    max-width: 100%;
  }
}

/* 3. Hero Section Visibility & Size Fix */
.lp-hero {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px !important; /* Account for navbar */
}

.lp-hero h1, .lp-hero h2, .lp-hero p, .lp-hero h3 {
    color: #ffffff !important;
    text-shadow: 0px 4px 15px rgba(0,0,0,0.6);
}

/* Keep the span accent color */
.lp-hero h1 span, .lp-hero h2 span {
    color: var(--color-secondary) !important;
    text-shadow: none;
}

/* ====================================================
   MOBILE OPTIMIZATIONS (Typography, Padding & Spacing)
   ==================================================== */
@media (max-width: 768px) {
  /* ====================================================
     OVERFLOW PREVENTION
     ==================================================== */
  * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body {
    overflow-x: hidden !important;
  }
  img, video, iframe, embed {
    max-width: 100% !important;
    height: auto !important;
  }

  /* ====================================================
     GLOBAL TYPOGRAPHY RULES
     ==================================================== */
  h1, .font-display-h1, .hero-content h1, .lp-hero-content h1 {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }
  h2, .font-display-h2, .section-title, .section-header h2 {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }
  h3, .font-display-h3, .card h3, .problem-card h3, .service-card h3, .contact-bio-card h3 {
    font-size: 17px !important;
  }
  p, li, .body-text, .hero-content p, .lp-hero-content p, .hero-feature-list li {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
  small, .small-text, .caption, label, .form-group label {
    font-size: 12px !important;
  }
  .btn, button[type="submit"], .btn-secure-plan, .checkout-btn-primary, .checkout-btn-pay-later, .hero-ctas .btn {
    font-size: 13px !important;
    font-weight: 600 !important;
  }
  .nav-link, .nav-menu a {
    font-size: 14px !important;
  }

  /* Typography Wrapping & Resets */
  body, p, h1, h2, h3, h4, h5, h6, a, span, li, label, button, input, textarea {
    word-break: break-word !important;
    white-space: normal !important;
  }
  /* Remove letter-spacing above 0.1em */
  .section-subtitle, .lp-hero-badge, .card-badge {
    letter-spacing: 0.05em !important;
  }
  /* Alignments */
  body, p, li, label, .card, .testimonial-card, .form-card {
    text-align: left !important;
  }
  .hero, .lp-hero, .hero-content, .lp-hero-content, .hero-ctas, .lp-hero-ctas, .section-header, .text-center {
    text-align: center !important;
  }

  /* ====================================================
     GLOBAL SPACING & CONTAINERS
     ==================================================== */
  section, .section-padding {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 40px !important;
  }
  section:last-of-type {
    margin-bottom: 0 !important;
  }
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* ====================================================
     HERO SECTION
     ==================================================== */
  .hero, .lp-hero {
    padding: 48px 16px !important;
    min-height: auto !important;
    background-size: cover !important;
    background-position: center !important;
  }
  .hero-content h1, .lp-hero-content h1 {
    font-size: 26px !important;
  }
  .hero-content p, .lp-hero-content p {
    font-size: 14px !important;
    max-width: 100% !important;
  }
  .hero-ctas, .lp-hero-ctas {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .hero-ctas .btn, .lp-hero-ctas .btn {
    width: 100% !important;
    height: 48px !important;
    line-height: 48px !important;
    padding: 0 !important;
    font-size: 14px !important;
    display: block !important;
  }
  .hero .container > div, .lp-hero .container > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* ====================================================
     NAVIGATION & HEADER
     ==================================================== */
  .header, header, .nav-bar, .navbar {
    height: 56px !important;
    padding: 0 16px !important;
  }
  .logo, .navbar-brand img, .nav-bar img, header img {
    max-height: 36px !important;
    width: auto !important;
  }
  .menu-btn, #menu-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .menu-btn svg, #menu-btn svg, .menu-btn img, #menu-btn img {
    width: 24px !important;
    height: 24px !important;
  }

  /* ====================================================
     FEATURE / CHECKLIST BOXES
     ==================================================== */
  .outcome-badges {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-top: 1.25rem !important;
    padding: 0 16px !important;
    width: 100% !important;
  }
  .outcome-badge {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    justify-content: flex-start !important;
    color: #fff !important;
  }
  .outcome-badge-icon {
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* ====================================================
     CARDS / CONTENT BLOCKS
     ==================================================== */
  .card, .lp-hero-form-card, .form-card, .checkout-modal, .about-photo-card, .contact-bio-card, .pricing-card, .problem-card, .service-card, .testimonial-card, .step-card, .lp-metric-card, .profile-details, .pillar-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }
  .card h3, .pricing-card h3, .problem-card h3, .service-card h3, .testimonial-card h4 {
    font-size: 16px !important;
  }
  .card p, .pricing-card p, .problem-card p, .service-card p, .testimonial-card p {
    font-size: 14px !important;
  }

  /* ====================================================
     PRICING SECTION
     ==================================================== */
  .pricing-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }
  .pricing-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 16px !important;
  }
  .pricing-plan-name {
    font-size: 18px !important;
  }
  .pricing-amount {
    font-size: 26px !important;
  }
  .pricing-features li {
    font-size: 13px !important;
    line-height: 1.7 !important;
  }
  .pricing-badge, .recommended-badge, .highlight-badge {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }
  .original-price, .strikethrough {
    font-size: 13px !important;
  }

  /* ====================================================
     BUTTONS & CTAs
     ==================================================== */
  .btn, .button, input[type="submit"], button[type="submit"], .cta-btn, .btn-secure-plan, .checkout-btn-primary, .checkout-btn-pay-later {
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 48px !important;
    height: 48px !important;
    line-height: normal !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  /* Quick Contact Wrapper and buttons on mobile */
  .quick-contact-wrapper {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin-top: 1rem !important;
  }

  .btn.btn-quick-contact {
    flex: 1 !important;
    width: 0 !important; /* Forces equal 50% width distribution */
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    padding: 0 10px !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    line-height: normal !important;
  }

  .btn.btn-quick-contact svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
  .btn-group, .button-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  /* ====================================================
     ICONS & IMAGES
     ==================================================== */
  .btn svg, button[type="submit"] svg, .btn-secure-plan svg, .checkout-btn-primary svg, .btn i, button[type="submit"] i, .button svg, .button i {
    width: 18px !important;
    height: 18px !important;
    font-size: 18px !important;
  }
  .section-icon, .decorative-icon {
    max-width: 24px !important;
    max-height: 24px !important;
  }
  svg, i, img.icon {
    max-width: 32px !important;
    max-height: 32px !important;
  }
  
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  .card img, .problem-card img, .service-card img, .pricing-card img, .about-photo-card img, .contact-bio-card img {
    border-radius: 10px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }

  /* ====================================================
     GRIDS & FLEX LAYOUTS
     ==================================================== */
  [style*="grid-template-columns"],
  .grid,
  .pricing-grid,
  .services-grid,
  .areas-grid,
  .problem-solving-grid,
  .timeline-items,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* ====================================================
     FORMS & INPUT FIELDS
     ==================================================== */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    height: 48px !important;
    font-size: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  textarea {
    height: auto !important;
    min-height: 100px !important;
  }
  .form-group label, label {
    font-size: 14px !important;
  }
  input[type="submit"], button[type="submit"], .btn-submit {
    height: 48px !important;
    width: 100% !important;
    font-size: 14px !important;
  }

  /* ====================================================
     TESTIMONIALS / REVIEW SECTIONS
     ==================================================== */
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .testimonial-card {
    width: 100% !important;
    padding: 16px !important;
  }
  .reviewer-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    font-size: 0.95rem !important;
  }
  .reviewer-info h4, .reviewer-name {
    font-size: 14px !important;
    font-weight: 700 !important;
  }
  .testimonial-text {
    font-size: 13px !important;
    margin-bottom: 1rem !important;
  }
  .quote-icon {
    font-size: 3rem !important;
    top: 0.5rem !important;
    left: 1rem !important;
  }

  /* ====================================================
     FOOTER
     ==================================================== */
  .footer-top {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem 1.5rem !important;
  }
  .footer-about {
    grid-column: span 2 !important;
  }
  .footer-col {
    width: 100% !important;
  }
  .footer-col:last-child {
    grid-column: span 2 !important;
  }
  .footer-bottom, .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: flex-start !important;
  }
  .footer {
    padding: 32px 16px !important;
  }
  .footer-col h3 {
    margin-bottom: 1rem !important;
  }
  .footer-links, .footer-payment-icons {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .footer-payment-icons {
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }
  .footer, .footer-col, .footer-links a, .footer p {
    font-size: 13px !important;
  }

  /* ====================================================
     FLOATING BADGES OVER PORTRAIT IMAGES
     ==================================================== */
  div[style*="position: relative"] > img + div[style*="position: absolute"],
  .about-badge {
    position: absolute !important;
    bottom: 16px !important;
    right: 16px !important;
    left: auto !important;
    top: auto !important;
    padding: 12px 16px !important;
    min-width: 130px !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
    max-width: 150px !important;
  }
  
  div[style*="position: relative"] > img + div[style*="position: absolute"] div:first-child,
  .about-badge div:first-child {
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
  }
  
  div[style*="position: relative"] > img + div[style*="position: absolute"] div:last-child,
  .about-badge div:last-child {
    font-size: 10px !important;
    line-height: 1.2 !important;
    margin-top: 4px !important;
    letter-spacing: 0.05em !important;
  }

  /* ====================================================
     SIDE-BY-SIDE CTA BUTTONS
     ==================================================== */
  .about-ctas {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
  }
  .about-ctas .btn {
    flex: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    padding: 0 8px !important;
    white-space: nowrap !important;
    height: 44px !important;
    min-height: 44px !important;
  }
  .about-ctas .btn svg {
    margin-right: 4px !important;
  }

  /* ====================================================
     PROCESS STEPS & TIMELINE TIGHTENING
     ==================================================== */
  .steps-container {
    gap: 16px !important;
    margin-top: 1.5rem !important;
  }
  .step-number, .pillar-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.15rem !important;
    margin: 0 auto 10px !important;
    border-width: 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .step-card h3, .pillar-card h3 {
    margin-bottom: 8px !important;
  }
  .timeline-items {
    gap: 20px !important;
    margin-top: 1.5rem !important;
  }
  .timeline-number {
    width: 38px !important;
    height: 38px !important;
    font-size: 1rem !important;
    margin: 0 auto 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  /* ====================================================
     FIXED HEADER OFFSET, SIZING & NAV MENU
     ==================================================== */
  body {
    padding-top: 56px !important;
  }
  .header, header, .nav-bar, .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 56px !important;
    padding: 0 16px !important;
    z-index: 1000 !important;
    background-color: #1b3b5f !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .logo img, .navbar-brand img, .nav-bar img, header img, #logo img {
    height: 32px !important;
    max-height: 32px !important;
    width: auto !important;
  }
  .logo-text {
    font-size: 1.25rem !important;
  }
  .logo-tagline {
    font-size: 0.55rem !important;
    letter-spacing: 0.12em !important;
  }
  .nav-links {
    top: 56px !important;
    height: calc(100vh - 56px) !important;
    background-color: rgba(11, 25, 44, 0.98) !important; /* Premium dark background */
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 2rem !important;
  }
  .nav-links a.nav-link {
    color: rgba(255, 255, 255, 0.8) !important; /* Muted white links */
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    font-family: var(--font-sans) !important;
    padding: 0.6rem 2rem !important;
    display: inline-block !important;
    text-align: center !important;
    background: transparent !important;
    border-radius: 30px !important;
    transition: var(--transition-smooth) !important;
    border: 1px solid transparent !important;
    width: auto !important;
  }
  .nav-links a.nav-link.active {
    color: #ffffff !important;
    background: rgba(229, 169, 59, 0.15) !important; /* Gold tint active */
    border: 1px solid rgba(229, 169, 59, 0.4) !important; /* Gold border active */
  }
  .nav-links a.nav-link:active {
    background: rgba(255, 255, 255, 0.08) !important;
  }
  
  .nav-links .nav-cta-mobile {
    display: none !important;
  }
  
  .nav-links.open .nav-cta-mobile {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 320px !important;
    margin-top: 1.5rem !important;
    align-items: center !important;
  }
  
  .nav-cta-mobile .btn {
    width: 100% !important;
    height: 48px !important;
    line-height: 48px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
  }

  /* ====================================================
     PRICING CARD CAPPING
     ==================================================== */
  .pricing-card {
    width: 100% !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .pricing-discount-tag {
    align-self: flex-start !important;
    margin-bottom: 1.25rem !important;
    font-size: 11px !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
  }
  .pricing-features {
    margin-bottom: 1.25rem !important;
    padding-top: 1rem !important;
    gap: 0.75rem !important;
  }

  /* ====================================================
     FOOTER GRID LAYOUT
     ==================================================== */
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
  }
  .footer-col {
    width: 100% !important;
    margin-bottom: 0 !important;
  }
  .footer-col:first-child,
  .footer-col:last-child {
    grid-column: span 2 !important;
  }

  /* ====================================================
     INSTAGRAM BADGE / SMALL BADGE LOGOS SIZE FIX
     ==================================================== */
  .google-reviews-badge img {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
  }
}



