* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #1f2937;
  background: #f8f6f1;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(800px, 92%);
}

.site-header {
  background: rgba(248, 246, 241, 0.92);
  border-bottom: 1px solid rgba(214, 211, 209, 0.8);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  gap: 24px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrap img {
  height: 150px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #374151;
}

.main-nav a:hover {
  color: #111827;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(10, 15, 25, 0.45), rgba(10, 15, 25, 0.55)),
    url("../img/hero-church.jpg") center center / cover no-repeat;
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(17, 24, 39, 0.55) 0%,
    rgba(17, 24, 39, 0.35) 45%,
    rgba(17, 24, 39, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 14px;
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  line-height: 1.35;
  margin: 0 0 20px;
}

.hero-text {
  max-width: 620px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-primary {
  background: #111827;
  color: white;
}

.btn-primary:hover {
  background: #1f2937;
}

.btn-secondary {
  border: 1px solid #cbd5e1;
  background: white;
  color: #111827;
}

.btn-secondary:hover {
  background: #f3f4f6;
}

.section {
  padding: 90px 0;
  background: white;
}

.section-alt {
  background: #f3f0ea;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b7280;
  margin-bottom: 14px;
}

.section h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.3;
  margin: 0 0 18px;
}

.section p {
  color: #4b5563;
  font-size: 1.05rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.card {
  background: white;
  border: 1px solid #ddd6ce;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.about-section {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-copy {
  max-width: 560px;
}

.about-copy p + p {
  margin-top: 18px;
}

.team-section {
  background: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 40px;
}

.team-card {
  display: block;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
  padding-bottom: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.08);
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.john-photo {
  width: 88% !important;
  height: 88% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.michael-photo {
  width: 88% !important;
  height: 88% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.team-card h3 {
  margin: 16px 20px 4px;
  font-size: 1.2rem;
  color: #111827;
}

.team-title {
  margin: 0 20px;
  font-weight: 600;
  color: #6b7280;
}

.team-bio {
  margin: 10px 20px 0;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font: inherit;
  background: white;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #9ca3af;
}

/* Footer */

.site-footer {
  background: #111827;
  color: #d1d5db;
  padding-top: 50px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
  padding-bottom: 30px;
}

.footer-brand img {
  height: 70px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
}

.footer-nav a {
  color: #d1d5db;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social img {
  width: 22px;
  height: 22px;
  opacity: 0.8;
}

.footer-social img:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0 30px;
  font-size: 0.85rem;
}

.copyright {
  margin: 0 0 8px 0;
}

.disclaimer {
  margin: 0;
  color: #9ca3af;
  max-width: 900px;
}

/* Home listings + listings page */

.featured-listings {
  background: #ffffff;
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}

.view-all-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
}

.view-all-link:hover {
  text-decoration: underline;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}

.listing-card {
  display: block;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.08);
}

.listing-image {
  height: 260px;
  overflow: hidden;
  background: #e5e7eb;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-content {
  padding: 20px;
}

.listing-status {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
}

.listing-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: #111827;
}

.listing-meta {
  margin: 0 0 6px;
  color: #4b5563;
  font-size: 0.98rem;
}

/* Listing detail pages */

.property-detail {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.property-location {
  font-size: 1.05rem;
  color: #6b7280;
  margin-bottom: 24px;
}

.property-hero-image {
  border-radius: 20px;
  overflow: hidden;
  background: #e5e7eb;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
  margin-bottom: 28px;
}

.property-hero-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.property-description h2 {
  margin-bottom: 14px;
}

.property-summary-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  position: sticky;
  top: 120px;
}

.property-summary-card h3 {
  margin: 0 0 16px;
  color: #111827;
}

.property-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.property-facts li {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
}

.property-facts li:last-child {
  border-bottom: none;
}

.property-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.btn-outline {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  background: transparent;
  color: #111827;
  text-align: center;
  transition: 0.2s ease;
}

.btn-outline:hover {
  background: #f3f4f6;
}

/* Team profile pages */

.team-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.team-detail-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.team-detail-image {
  border-radius: 22px;
  overflow: hidden;
  background: #e5e7eb;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
}

.team-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.team-detail-name {
  margin-bottom: 8px;
}

.team-detail-title {
  font-size: 1.05rem;
  color: #6b7280;
  margin-bottom: 24px;
}

.team-detail-copy p {
  margin-bottom: 18px;
  color: #374151;
  line-height: 1.8;
}

.team-credentials {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.team-credentials h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #111827;
}

.team-credentials ul {
  margin: 0;
  padding-left: 20px;
  color: #374151;
}

.team-credentials li {
  margin-bottom: 10px;
}

.team-contact-card {
  margin-top: 22px;
  padding: 22px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.team-contact-name {
  margin: 0;
  font-size: 1.25rem;
  color: #111827;
}

.team-contact-title {
  margin: 4px 0 6px;
  color: #6b7280;
  font-weight: 600;
}

.team-license {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 16px;
}

.team-contact-info p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #374151;
}

.team-contact-info a {
  color: #111827;
  text-decoration: none;
}

.team-contact-info a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image img {
    height: 420px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-detail {
    grid-template-columns: 1fr;
  }

  .property-summary-card {
    position: static;
  }

  .team-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    gap: 14px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .listing-grid {
    grid-template-columns: 1fr;
  }

  .featured-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 72vh;
    padding: 72px 0 64px;
  }

  .hero-content {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .logo-wrap img {
    height: 90px;
  }

  .about-image img {
    height: 340px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }
}
.bov-page {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.bov-form-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
}

.bov-form-card h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #111827;
}

@media (max-width: 980px) {
  .bov-page {
    grid-template-columns: 1fr;
  }
}
.contact-details {
  margin-bottom: 28px;
  font-size: 1rem;
  color: #374151;
}

.contact-details p {
  margin: 6px 0;
}

.contact-details a {
  color: #111827;
}

.contact-details a:hover {
  text-decoration: underline;
}
.about-caption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.4;
  text-align: left;
}
.about-clients {
  margin-top: 40px;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 20px;
  align-items: center;
}

.client-logos img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.85;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.about-caption {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.about-copy p {
  margin-bottom: 18px;
  line-height: 1.7;
}

.about-clients {
  margin-top: 36px;
}

.about-clients h3 {
  margin-bottom: 12px;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}

.client-logos img {
  width: 100%;
  max-width: 140px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
.about-reviews {
  margin-top: 30px;
}

.about-reviews h4 {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.review {
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 2px solid #ccc;
}

.review p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 6px;
  font-style: italic;
}

.review span {
  font-size: 0.85rem;
  color: #666;
}
.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo-img {
  max-width: 105px;
  height: auto;
  display: block;
}

.footer-copyright {
  margin-top: 8px;
  font-size: 0.75rem;
  opacity: 0.75;
  text-align: center;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer-powered {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  opacity: 0.85;
  margin-bottom: 8px;
}

.footer-duhs-logo {
  height: 16px;
  width: auto;
}

.footer-legal {
  font-size: 0.75rem;
  line-height: 1.5;
  opacity: 0.75;
}

.footer-legal p {
  margin: 4px 0;
}