/* Hero Section with Background */
.hero-static {
  position: relative;
  height: 440px;
  min-height: 440px;
  background:
    linear-gradient(rgba(0,0,0,0.52), rgba(0,0,0,0.52)),
    url("images/hero-scanner.jpg") center center / cover no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px;
  overflow: hidden;
}

/* Header + Nav inside Hero */
.header-nav {
  text-align: center;
}
.header-nav h1 {
  margin: 0;
  font-size: 2.5rem;
}
.header-nav p {
  margin: 5px 0 15px;
  font-size: 1rem;
}
.header-nav nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s;
}
.header-nav nav a:hover,
.header-nav nav a.active {
  background: rgba(255,87,34,0.8);
}

/* Hero Content */
.hero-content {
  text-align: center;
  max-width: 920px;
  margin: 68px auto 0;
}
.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(0,0,0,0.6);
}
.hero-content .cta-buttons .btn {
  margin: 0 10px;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.btn.primary {
  background: #ff5722;
  color: #fff;
}
.btn.primary:hover {
  background: #e64a19;
}
.btn.secondary {
  background: #fff;
  color: #ff5722;
}
.btn.secondary:hover {
  background: #fbe9e7;
}

/* Main Sections */
.main-section {
  padding: 40px 20px;
  text-align: center;
}
.main-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.services, .locations {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.service-item, .location-item {
  background: #fff;
  padding: 20px;
  width: 280px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 4px;
}

/* Call-to-Action Button */
.cta-button {
  display: inline-block;
  margin: 20px auto;
  padding: 15px 30px;
  background: #28a745;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}
.cta-button:hover {
  background: #218838;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h2 { font-size: 1.8rem; }
  .hero-content p { font-size: 1rem; }
  .service-item, .location-item { width: 90%; }
}
.info-section {
  max-width: 1100px;
  margin: 48px auto;
  padding: 32px 24px;
}

.info-section h2 {
  margin-bottom: 16px;
  font-size: 2rem;
  line-height: 1.2;
}

.info-section p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.info-section ul {
  margin: 16px 0 0 24px;
  line-height: 1.7;
}

.pricing-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.pricing-card {
  padding: 22px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.pricing-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.pricing-card p {
  margin-bottom: 0;
  font-weight: 600;
}

@media (max-width: 900px) {
  .pricing-preview {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pricing-preview {
    grid-template-columns: 1fr;
  }

  .info-section {
    margin: 32px auto;
    padding: 24px 18px;
  }
}

/* Unified CTA button styles */
.btn,
.hero-content .btn,
.cta-strip .btn,
.main-section .btn,
.action-row .btn {
  display: inline-block;
  margin: 8px;
  padding: 12px 22px;
  border-radius: 6px;
  background: #ff5722;
  color: #ffffff !important;
  border: 1px solid #ff5722;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn.primary,
.hero-content .btn.primary,
.cta-strip .btn.primary,
.main-section .btn.primary,
.action-row .btn.primary {
  background: #ff5722;
  color: #ffffff !important;
  border-color: #ff5722;
}

.btn:hover,
.btn.primary:hover,
.hero-content .btn:hover,
.cta-strip .btn:hover,
.main-section .btn:hover,
.action-row .btn:hover {
  background: #e64a19;
  color: #ffffff !important;
  border-color: #e64a19;
}

.btn.secondary,
.hero-content .btn.secondary,
.cta-strip .btn.secondary,
.main-section .btn.secondary,
.action-row .btn.secondary {
  background: #ffffff;
  color: #ff5722 !important;
  border-color: #ff5722;
}

.btn.secondary:hover,
.hero-content .btn.secondary:hover,
.cta-strip .btn.secondary:hover,
.main-section .btn.secondary:hover,
.action-row .btn.secondary:hover {
  background: #fbe9e7;
  color: #e64a19 !important;
  border-color: #e64a19;
}

.hero-buttons,
.cta-strip,
.action-row {
  text-align: center;
}

@media (max-width: 600px) {
  .hero-buttons .btn,
  .cta-strip .btn,
  .action-row .btn {
    display: block;
    width: calc(100% - 32px);
    max-width: 320px;
    margin: 10px auto;
  }
}


/* Trust and authority sections */
.trust-section {
  margin: 42px 0;
  padding: 28px 0;
}

.trust-section h3 {
  margin-bottom: 18px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.trust-card {
  padding: 22px;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.trust-card h3,
.trust-card h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #222222;
}

.trust-card p {
  margin-bottom: 0;
  line-height: 1.6;
}

.appointment-privacy-note {
  margin: 28px 0;
  padding: 22px;
  border-left: 5px solid #ff5722;
  background: #fff7f4;
}

.appointment-privacy-note h3 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* Batch 9 technical polish */
.error-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 20px;
  text-align: center;
  line-height: 1.6;
}
.error-section h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* Batch 10 performance and hero spacing polish */
@media (max-width: 768px) {
  .hero-static {
    height: auto;
    min-height: 390px;
    padding: 16px;
    background-position: center center;
  }

  .header-nav h1 {
    font-size: 2rem;
  }

  .header-nav nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .header-nav nav a {
    margin: 0;
    padding: 7px 9px;
  }

  .hero-content {
    margin-top: 42px;
    margin-bottom: 16px;
  }

  .hero-content h2 {
    font-size: 2rem;
    line-height: 1.15;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.45;
  }

  .map-embed iframe,
  .main-section iframe {
    height: 300px;
  }
}

.map-embed iframe,
.main-section iframe {
  max-width: 100%;
  border: 0;
}
