:root {
  --color-primary: #1b4d3e;
  --color-primary-light: #2a6b54;
  --color-primary-dark: #0f3329;
  --color-accent: #e8a838;
  --color-accent-light: #f5c56d;
  --color-background: #fafaf8;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-text-light: #8a8a8a;
  --color-border: #e5e5e3;
  --color-success: #22c55e;
  --font-display: "Fraunces", serif;
  --font-body: "DM Sans", sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 600px;
}

.section-subtitle-center {
  margin: 0 auto;
}

.section-header-center {
  text-align: center;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 15px;
  text-align: center;
  position: relative;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a.nav-link-two-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.05;
  min-height: 34px;
}

.nav-links a.nav-link-active {
  color: var(--color-primary);
}

.nav-links a.nav-link-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: var(--color-accent);
  filter: blur(1.5px);
  opacity: 0.9;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.btn-accent:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 18px 36px;
  font-size: 17px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 6px 0;
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--color-background) 0%, #f0f4f2 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(27, 77, 62, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-badge svg {
  color: var(--color-success);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--color-primary);
  position: relative;
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--color-accent);
  opacity: 0.4;
  z-index: -1;
}

.hero-description {
  font-size: 20px;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Full-width Search Section */
.hero-search-section {
  animation: fadeInUp 0.8s ease-out 0.2s both;
  margin-bottom: 60px;
}

.hero-search-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  box-shadow: var(--shadow-xl);
  max-width: 1000px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

/* Focus Mode Styles */
body.search-focused {
  overflow: hidden; /* Prevent page scroll when focused */
}

body.search-focused .hero .container {
  z-index: 1002; /* Bring hero content above overlay */
  position: relative;
  pointer-events: none; /* Let clicks pass through to overlay */
}

body.search-focused .hero-content,
body.search-focused .hero-floating-elements {
  opacity: 0.2;
  filter: blur(2px);
  transition: all 0.3s ease;
}

body.search-focused .hero-stats {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

body.search-focused .hero-search-card {
  transform: scale(1.02);
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.8), 0 30px 40px rgba(0,0,0,0.5);
  pointer-events: auto; /* Re-enable clicks for the card */
}

.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.page-overlay.active {
  opacity: 1;
  pointer-events: auto;
}


.about-team-card {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
  margin-top: 70px;
}

.about-team-image {
  width: 100%;
  height: auto;
  display: block;
  align-self: flex-end;
}

.hero-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hero-search-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-search-title-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-search-badge {
  background: linear-gradient(135deg, var(--color-success), #16a34a);
  color: white;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  opacity: 1;
}

.hero-search-badge.fade-out {
  opacity: 0;
  transform: translateY(-5px);
}

.hero-search-form {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.address-input-wrapper {
  flex: 1;
  position: relative;
}

.address-input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  pointer-events: none;
}

.address-input {
  width: 100%;
  padding: 10px 20px 10px 52px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 17px;
  font-family: var(--font-body);
  transition: all 0.2s;
}

.address-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(27, 77, 62, 0.1);
}

.address-input::placeholder {
  color: var(--color-text-light);
}



/* 
 * Style for the new Web Component (gmp-place-autocomplete)
 * Accesses the shadow DOM style hooks provided by the element
 */
.address-input {
  /* Enforce dark mode to match user preference */
  color-scheme: dark;
  
  /* Material Web / GMP Styling Hooks - Dark Mode Colors */
  --md-sys-color-surface: #1e1e1e;
  --md-sys-color-surface-container: #1e1e1e;
  --md-sys-color-surface-container-high: #1e1e1e;
  --md-sys-color-on-surface: #e3e3e3;
  --md-sys-color-on-surface-variant: #c4c7c5;
}

.address-input::part(input) {
  padding: 16px 0 16px 0;
  background-color: #1e1e1e;
  color: #e3e3e3;
}

.address-input::part(menu),
.address-input::part(list) {
  background-color: #1e1e1e;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md);
  opacity: 1 !important;
  /* Ensure opacity */
  --md-menu-container-color: #1e1e1e;
  --md-list-container-color: #1e1e1e;
}

.address-input::part(option) {
  background-color: #1e1e1e;
  color: #e3e3e3;
}

.address-input::part(option):hover,
.address-input::part(option):focus,
.address-input::part(option)[active] {
  background-color: #2c2c2c;
  color: var(--color-success); /* Matching the green highlights in image */
}

/* Ensure the underlying container is also solid in case shadow-dom leaks transparently */
gmp-place-autocomplete {
  background-color: #1e1e1e;
  position: relative;
  z-index: 1;
}

body.search-focused gmp-place-autocomplete {
  z-index: 1004;
}


.pac-item {
  border-top: 1px solid var(--color-border);
  cursor: pointer;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.4;
  display: flex !important; /* Force flex to ensure flexible content */
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}

.pac-item:first-child {
  border-top: none;
}

.pac-item:hover, .pac-item-selected {
  background-color: var(--color-background);
  border-color: var(--color-border); /* Keep border consistent */
}

/* Match query text style */
.pac-item-query {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  padding-right: 4px;
}

/* Secondary text */
.pac-item span {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Icon style - using pseudo-element or hiding if needed, but styling container first */
.pac-icon {
  margin-top: 0;
  margin-right: 0;
  flex-shrink: 0;
  /* You can replace the icon with a custom SVG background if desired later */
  opacity: 0.6;
}

/* Remove default Google logo if allowed/desired, otherwise position it */
.pac-logo::after {
  display: none; /* Often required to keep per TOS, check Google TOS. Usually styling it is safer than removing. */
  /* If hiding is not an option, ensure it fits the theme */
  margin: 10px;
}

.hero-search-form .btn {
  white-space: nowrap;
  padding: 20px 32px;
}

.hero-counties {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-muted);
}

.hero-counties strong {
  color: var(--color-text);
  font-weight: 600;
}

.hero-search-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.trust-item svg {
  color: var(--color-success);
}

/* Stats Section in Hero */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* Floating badges repositioned */
.hero-floating-elements {
  position: absolute;
  top: 180px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 100%);
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  justify-items: center;
  align-items: start;
  pointer-events: none;
  /* overflow: hidden; */
}

.hero.hero-results-active .hero-floating-elements {
  display: none;
}

.floating-badge {
  position: relative;
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  pointer-events: none;
}

.floating-badge-1 {
  animation-name: float-1;
  animation-duration: 11s;
  animation-delay: 0s;
}

.floating-badge-2 {
  animation-name: float-2;
  animation-duration: 13.5s;
  animation-delay: 0.8s;
}

.floating-badge-3 {
  animation-name: float-3;
  animation-duration: 12.2s;
  animation-delay: 0.4s;
}

.floating-badge-4 {
  animation-name: float-4;
  animation-duration: 14.1s;
  animation-delay: 1.2s;
}

@keyframes float-1 {
  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  35% {
    transform: translateY(-22px) translateX(6px) rotate(-0.4deg);
  }
  70% {
    transform: translateY(-8px) translateX(-4px) rotate(0.3deg);
  }
}

@keyframes float-2 {
  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  30% {
    transform: translateY(-28px) translateX(-5px) rotate(0.5deg);
  }
  65% {
    transform: translateY(-12px) translateX(7px) rotate(-0.3deg);
  }
}

@keyframes float-3 {
  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  40% {
    transform: translateY(-20px) translateX(8px) rotate(0.2deg);
  }
  75% {
    transform: translateY(-14px) translateX(-6px) rotate(-0.5deg);
  }
}

@keyframes float-4 {
  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  25% {
    transform: translateY(-26px) translateX(4px) rotate(-0.4deg);
  }
  60% {
    transform: translateY(-10px) translateX(-7px) rotate(0.4deg);
  }
}

.floating-badge-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-badge-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.floating-badge-icon-accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
}

.floating-badge-text {
  font-size: 14px;
}

.floating-badge-text strong {
  display: block;
  font-size: 18px;
  color: var(--color-text);
}

@media (max-height: 1269px) {
  .hero-floating-elements {
    display: none;
  }
}

@media (max-width: 1044px) {
  .hero-floating-elements {
    display: none;
  }
}

/* Trust Bar */
.trust-bar {
  background: white;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-bar-label {
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-logo {
  opacity: 0.6;
  transition: opacity 0.2s;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.trust-logo:hover {
  opacity: 1;
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--color-background);
  border-radius: var(--radius-md);
}

.google-rating-stars {
  display: flex;
  gap: 2px;
  color: #fbbc04;
}

.google-rating-text {
  font-size: 14px;
}

.google-rating-text strong {
  font-weight: 600;
  color: var(--color-text);
}

/* How It Works */
.how-it-works {
  background: white;
}

.how-it-works .container {
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.process-step {
  text-align: center;
  padding: 40px 30px;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 60px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: white;
  box-shadow: 0 8px 24px rgba(27, 77, 62, 0.3);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.process-step:hover .step-number {
  animation: step-pulse 1.1s ease-in-out infinite;
  box-shadow: 0 12px 28px rgba(27, 77, 62, 0.35);
}

@keyframes step-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}

.step-description {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Features Section */
.features {
  background: linear-gradient(180deg, var(--color-background) 0%, white 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.feature-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 15px 25px;
  transition: all 0.3s ease;
  text-align: left;
}

.feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.1), rgba(27, 77, 62, 0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-description {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  padding: 6px 0;
  text-align: justify;
}

/* Pricing Examples */
.pricing-cards .feature-title {
  text-align: center;
  line-height: 1.2;
}

.pricing-example .feature-title {
  margin-bottom: 25px;
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
  min-height: 3.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-example .section-label {
  margin-bottom: 5px;
}

.pricing-table {
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  align-items: baseline;
}

.pricing-row-center {
  align-items: center;
}

.pricing-head {
  font-weight: 600;
  color: var(--color-text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.pricing-rule {
  height: 1px;
  background: var(--color-border);
  margin: 4px 0 6px;
}

.pricing-label {
  color: var(--color-text-muted);
  text-align: left;
  line-height: 1.2;
}

.pricing-value {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}

.pricing-total {
  border-top: 1px solid var(--color-border);
  padding-top: 8px;
  margin-top: 6px;
  font-weight: 600;
}

.pricing-total .pricing-label,
.pricing-total .pricing-value {
  color: var(--color-text);
}

.pricing-summary .pricing-value:last-child {
  font-size: 21px;
}

.pricing-explainer {
  margin-top: 24px;
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0px 30px 30px;
  text-align: left;
}

.pricing-explainer-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 18px 0 10px;
  text-align: left;
}

.pricing-explainer-text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: 10px;
  text-align: left;
}

.pricing-explainer-highlight {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 30px;
  margin-bottom: 10px;
  text-align: left;
  font-family: var(--font-display);
}

.pricing-explainer-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.pricing-explainer-label {
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.pricing-explainer-content {
  line-height: 1.3;
  text-align: justify;
}

.pricing-definitions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.pricing-definition-card {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.pricing-definition-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.pricing-definition-text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.4;
  text-align: justify;
}

.pricing-definition-subtitle {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text);
  margin-top: 20px;
  margin-bottom: 4px;
  line-height: 1.4;
}

.pricing-definition-list {
  padding-left: 18px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-left: 15px;
}

.pricing-definition-list li {
  margin-bottom: 6px;
}

@media (max-width: 600px) {
  .pricing-definitions-grid {
    grid-template-columns: 1fr;
  }
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--color-background) 0%, #f0f4f2 100%);
}

.stats-section .container {
  position: relative;
  z-index: 1;
}

/* Overrides removed to use standard section colors */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.stats-card {
  text-align: center;
  padding: 32px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.stats-card-value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.stats-card-label {
  font-size: 15px;
  opacity: 0.9;
}

.stats-card-description {
  margin-top: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.stats-tagline {
  margin-top: 28px;
  font-size: 16px;
  color: var(--color-text);
  text-align: center;
}

/* Testimonials */
.testimonials {
  background: white;
}

.testimonials .container {
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--color-background);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.leadership-avatar {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  aspect-ratio: 1 / 1;
  flex: 0 0 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 18px;
}

.testimonial-name {
  font-weight: 600;
  font-size: 15px;
}

.testimonial-location {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Leadership */
.leadership-section {
  background: white;
}

.leadership-section .container {
  text-align: center;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.leadership-card {
  background: var(--color-background);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
  transition: all 0.3s ease;
}

.leadership-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.leadership-author {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: column;
  text-align: center;
}

.leadership-name {
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
}

.leadership-title {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.3;
  margin-bottom: 10px;
}
.leadership-title-2 {
  font-size: 14px;
  line-height: 1.3;
}
.leadership-license {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.3;
}
.leadership-description {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  padding: 6px 0;
  text-align: justify;
  margin-top: 15px;
}


/* Counties Section */
.counties {
  background: linear-gradient(135deg, var(--color-background) 0%, #f0f4f2 100%);
}

.counties-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  margin-top: 35px;
}

.counties-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.county-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: white;
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.county-tag:hover {
  background: var(--color-primary);
  color: white;
  transform: translateX(4px);
}

.county-tag svg {
  color: var(--color-primary);
}

.county-tag:hover svg {
  color: white;
}

.texas-map {
  position: relative;
}

.texas-map svg {
  width: 100%;
  height: auto;
  fill: var(--color-primary);
  opacity: 0.1;
}

.texas-illustration {
  text-align: center;
  padding: 60px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.texas-illustration::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://storage.googleapis.com/propertytax/website_images/texas_flag.webp") center/cover no-repeat;
  opacity: 0.12;
  z-index: 0;
}

.texas-illustration > * {
  position: relative;
  z-index: 1;
}

.texas-illustration-icon {
  width: 204px;
  height: auto;
  margin-bottom: 20px;
}

.texas-illustration-flag {
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.4));
}

.grc-logo {
  width: 110px;
  height: 110px;
  background-color: #7a6c00;
  -webkit-mask-image: url('https://storage.googleapis.com/propertytax/website_images/GRC-icon-black.png');
  mask-image: url('https://storage.googleapis.com/propertytax/website_images/GRC-icon-black.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  mask-repeat: no-repeat;
  margin: 0 auto;
}

.texas-illustration h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 12px;
}

.texas-illustration p {
  color: var(--color-text-muted);
}

/* FAQ Section */
.faq {
  background: white;
}

.faq-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--color-primary);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  background: white;
  transition: all 0.2s;
}

.faq-question:hover {
  background: var(--color-background);
}

.faq-question svg {
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: fit-content;
}

.faq-answer-content {
  padding: 0 24px 24px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -25%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -50%;
  right: -25%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  font-size: 15px;
  opacity: 0.9;
}

.cta-guarantee svg {
  color: var(--color-accent);
}

/* Footer */
.footer {
  background: var(--color-text);
  color: white;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 20px;
}

.footer-brand .logo-icon {
  background: white;
  color: var(--color-primary);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--color-primary);
}

.footer-column h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: white;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .hero-search-card {
    padding: 24px 28px;
  }

  .hero-search-form {
    flex-direction: column;
  }

  .hero-search-form .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 32px;
  }

  .floating-badge-1 {
    left: 4%;
  }

  .floating-badge-2 {
    left: 28%;
  }

  .floating-badge-3 {
    left: 52%;
  }

  .floating-badge-4 {
    left: 76%;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .counties-content {
    grid-template-columns: 1fr;
  }

  .faq-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body.search-focused .multiple-results-card {
    display: flex;
    flex-direction: column;
  }

  body.search-focused .multiple-results-card .results-list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: clamp(140px, 34vh, 260px);
    overflow-y: auto;
  }

  body.search-focused .multiple-results-card .result-actions {
    flex-shrink: 0;
    margin-top: 12px !important;
  }

  .desktop-only {
    display: none !important;
  }

  .nav-links {
    display: none;
  }

  .nav-cta .btn-secondary {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero-description {
    font-size: 17px;
    margin-bottom: 32px;
  }

  .hero-search-card {
    padding: 20px;
  }

  .hero-search-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-search-title {
    font-size: 16px;
  }

  /* Hide icon on mobile and reset padding */
  .address-input-icon {
    display: none;
  }

  .address-input {
    padding: 16px; 
    font-size: 16px;
  }

  .hero-search-footer {
    gap: 16px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat-item {
    flex: 1 1 40%;
  }

  .stat-value {
    font-size: 32px;
  }

  .floating-badge {
    display: none;
  }

  .trust-bar .container {
    flex-direction: column;
    text-align: center;
  }

  .trust-logos {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .counties-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.counter {
  display: inline-block;
}

/* Pricing Page Specifics */
.pricing-hero-highlight {
  margin-bottom: 20px;
}

.pricing-big-number {
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 150px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.pricing-big-text {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: -10px;
  margin-bottom: 10px;
}

/* Property Search Results Styles */
.property-search-results {
  border-top: 1px solid var(--color-border);
  /* padding-top: 24px; */
  animation: fadeInUp 0.5s ease-out;
}

.results-card, .multiple-results-card {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 24px;
}

.result-header {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0px;
}

.result-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-primary);
  margin: 0;
}

.match-badge {
  background: var(--color-success);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.result-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.result-details-grid.has-map {
  grid-template-columns: minmax(280px, 1.1fr) 1fr;
  align-items: start;
}

.result-details-grid.has-map .result-data-column {
  grid-column: 2;
}

.result-details-grid:not(.has-map) .result-data-column {
  grid-column: 1 / -1;
}

.result-item label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-light);
  margin-bottom: 0px;
  line-height: 1.3;
}

.result-item .value {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  word-break: break-word;
}

.result-map-slot {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
}

.result-data-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.result-data-column.no-map-two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "address county"
    "owner cad";
}

.result-data-column.no-map-two-col .property-address-item {
  grid-area: address;
}

.result-data-column.no-map-two-col .owner-name-item {
  grid-area: owner;
}

.result-data-column.no-map-two-col .county-item {
  grid-area: county;
}

.result-data-column.no-map-two-col .cad-account-item {
  grid-area: cad;
}

.result-extra-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.result-details-grid:not(.has-map) .result-extra-grid {
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}

.result-map-placeholder {
  width: 100%;
  min-height: 160px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.result-map-image {
  width: 100%;
  height: 100%;
  min-height: 160px;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 25px;
}

.result-actions button {
    cursor: pointer;
}

.result-actions .btn {
  padding: 8px 16px;
  font-size: 13px;
  min-height: auto;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain; /* Prevent scroll chaining to parent */
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: white;
}

.results-list-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.results-list-item:hover {
  background-color: rgba(27, 77, 62, 0.05); /* Very light green */
}

.list-item-main {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.list-item-address {
  font-weight: 600;
  color: var(--color-text);
  font-size: 15px;
}

.list-item-owner {
  font-size: 13px;
  color: var(--color-text-muted);
}

.list-item-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.list-item-meta .badg {
  background: var(--color-border);
  color: var(--color-text-muted);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
}
.list-item-meta .account-num {
    font-size: 12px;
    font-family: monospace;
    color: var(--color-text-light);
}

@media (max-width: 768px) {
  /* Ensure symmetric container padding on mobile */
  .container {
      padding-left: 5px;
      padding-right: 5px;
  }

  /* 
     Fix for Hero Search Card Alignment:
     1. width: auto allows it to fill the container (minus padding).
     2. margin: 0 removes any centering/offset.
     3. border-radius adjusted maybe? No, keep it.
  */
  .hero-search-card {
      width: auto; 
      margin: 0;
      padding: 24px 20px;
      /* Ensure no fixed width from desktop leaks in */
      max-width: none; 
  }
}


@media (max-width: 600px) {
  /* Hide the animated pill (badge) when search results are active on mobile 
     to save vertical space.
  */
  .search-results-active .hero-search-badge {
      display: none;
  }

  .result-header h3 {
    line-height: 1;
  }

  .result-item label {
    margin-bottom: 0px;
    line-height: 1;
  }

  .result-details-grid {
    grid-template-columns: 1fr;
  }

  .result-extra-grid {
    grid-template-columns: 1fr;
  }

  .result-details-grid.has-map .result-data-column {
    grid-column: auto;
  }

  .result-data-column.no-map-two-col {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .result-data-column.no-map-two-col .property-address-item,
  .result-data-column.no-map-two-col .owner-name-item,
  .result-data-column.no-map-two-col .county-item,
  .result-data-column.no-map-two-col .cad-account-item {
    grid-area: auto;
  }

  /* Hide map on mobile */
  .result-map-slot {
    display: none !important;
  }

  /* Flex order for single result card to move buttons up */
  .results-card {
    display: flex;
    flex-direction: column;
  }

  .result-header {
    order: 1;
  }

  .result-actions {
    order: 2;
    margin-top: 0px;
    margin-bottom: 20px;
    flex-direction: column;
  }

  .result-details-grid {
    order: 3;
  }
  
  .result-actions .btn, 
  .result-actions button {
    width: 100%;
  }

  .results-list-item {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
  }

  .list-item-main {
      width: 100%;
  }

  .list-item-meta {
      width: 100%;
      align-items: flex-start;
      text-align: left;
      flex-direction: row;
      justify-content: space-between;
      border-top: 1px solid var(--color-border);
      padding-top: 8px;
      margin-top: 4px;
  }
}

@media (max-width: 480px) {
  .results-card, 
  .multiple-results-card {
    padding: 16px;
  }
  
  .hero-search-card {
     padding: 20px 16px; 
  }
}

@media (max-width: 768px) {
  /* Remove modal-like behavior on mobile */
  body.search-focused {
    overflow: auto !important;
  }

  body.search-focused .hero-content,
  body.search-focused .hero-floating-elements {
    opacity: 1 !important;
    filter: none !important;
  }

  body.search-focused .hero .container {
    pointer-events: auto !important;
  }

  body.search-focused .hero-search-card {
    transform: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  }

  .page-overlay.active {
    display: none !important;
  }
}

