:root {
  --pine: #1e3a32;
  --pine-dark: #14261f;
  --ivory: #faf6ee;
  --ivory-alt: #f1ead9;
  --brass: #c08a44;
  --brass-light: #d9ac6e;
  --charcoal: #2b2b26;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, .brand-text {
  font-family: 'Playfair Display', serif;
}

a { text-decoration: none; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brass);
  margin-bottom: 0.5rem;
}

.section-title {
  font-weight: 600;
  color: var(--pine);
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.lead-copy {
  color: #4a4a42;
  font-size: 1.08rem;
}

.section-py { padding: 5.5rem 0; }
.section-alt { background: var(--ivory-alt); }

/* Navbar */
#mainNav {
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 18px rgba(30, 58, 50, 0.08);
  padding: 0.65rem 0;
  transition: padding 0.25s ease;
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pine);
  letter-spacing: 0.01em;
}

.navbar-nav .nav-link {
  color: var(--charcoal);
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
}

.navbar-nav .nav-link:hover { color: var(--brass); }

.btn-cta {
  background: var(--pine);
  color: var(--ivory) !important;
  border: none;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 30px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-cta:hover { background: var(--pine-dark); transform: translateY(-1px); }

.btn-cta-light {
  background: var(--ivory);
  color: var(--pine) !important;
  border: none;
  font-weight: 600;
  border-radius: 30px;
  padding: 0.8rem 1.9rem;
}
.btn-cta-light:hover { background: var(--brass-light); color: var(--pine-dark) !important; }

.btn-cta-outline {
  background: transparent;
  color: var(--ivory) !important;
  border: 2px solid rgba(250,246,238,0.75);
  font-weight: 600;
  border-radius: 30px;
  padding: 0.78rem 1.9rem;
}
.btn-cta-outline:hover { background: rgba(250,246,238,0.15); border-color: var(--ivory); }

.btn-cta-outline-dark {
  background: transparent;
  color: var(--pine) !important;
  border: 2px solid var(--pine);
  font-weight: 600;
  border-radius: 30px;
}
.btn-cta-outline-dark:hover { background: var(--pine); color: var(--ivory) !important; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 30% 20%, #2a4a40 0%, var(--pine) 45%, var(--pine-dark) 100%);
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 3rem;
}

.hero-building-motif {
  position: absolute;
  inset: 0;
  background-image: url('img/hero-building.webp');
  background-repeat: no-repeat;
  background-position: center 82%;
  background-size: min(1500px, 96vw) auto;
  opacity: 0.9;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 24px;
  padding: 3rem 2.5rem;
}

.hero-eyebrow {
  color: var(--brass-light);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  color: var(--ivory);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  color: var(--ivory);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
  margin-bottom: 1.25rem;
}

.hero-tagline {
  color: #f0ece2;
  font-size: 1.02rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Value cards */
.core-values-title { color: var(--pine); font-weight: 600; }

.value-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 24px rgba(30,58,50,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(30,58,50,0.12); }
.value-card i { font-size: 2rem; color: var(--brass); margin-bottom: 0.75rem; display: block; }
.value-card h4 { color: var(--pine); font-size: 1.15rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.92rem; color: #55554d; margin-bottom: 0; }

/* Doctor cards */
.doctor-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(30,58,50,0.08);
}
.doctor-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.doctor-body { padding: 1.75rem; }
.doctor-body h3 { color: var(--pine); font-size: 1.3rem; margin-bottom: 0.75rem; }
.doctor-body p { font-size: 0.93rem; color: #4a4a42; margin-bottom: 0; }

/* Team cards */
.team-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  box-shadow: 0 6px 22px rgba(30,58,50,0.06);
  height: 100%;
}
.team-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 3px solid var(--ivory-alt);
}
.team-card h4 { color: var(--pine); margin-bottom: 0.15rem; font-size: 1.1rem; }
.team-card .role { color: var(--brass); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.65rem; }
.team-card p { font-size: 0.88rem; color: #55554d; margin-bottom: 0; }

.hiring-banner {
  background: var(--pine);
  color: var(--ivory);
  border-radius: 16px;
  padding: 1.1rem 1.5rem;
  font-weight: 500;
}
.hiring-banner i { color: var(--brass-light); margin-right: 0.5rem; }
.hiring-banner a { color: var(--brass-light); font-weight: 700; }
.hiring-banner a:hover { text-decoration: underline; }

/* Service / Treatment / Patient cards */
.service-card, .treatment-card, .patient-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  height: 100%;
  box-shadow: 0 6px 20px rgba(30,58,50,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover, .treatment-card:hover, .patient-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(30,58,50,0.1);
}
.service-card i, .treatment-card i, .patient-card i {
  font-size: 1.8rem;
  color: var(--brass);
  margin-bottom: 0.75rem;
  display: block;
}
.patient-card { text-align: center; }
.patient-card i { font-size: 1.7rem; }
.service-card h4, .treatment-card h4, .patient-card h4 {
  color: var(--pine);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.service-card p, .treatment-card p, .patient-card p {
  font-size: 0.9rem;
  color: #55554d;
  margin-bottom: 0;
}
.patient-card p a { color: var(--brass); font-weight: 600; }

/* Gallery */
.gallery-set {
  background: var(--white);
  border-radius: 16px;
  padding: 0.75rem;
  box-shadow: 0 6px 22px rgba(30,58,50,0.07);
  height: 100%;
}
.gallery-pair { display: flex; gap: 0.5rem; }
.gallery-img { position: relative; flex: 1; border-radius: 10px; overflow: hidden; height: 230px; }
.gallery-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-img span {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background: rgba(30,58,50,0.85);
  color: var(--ivory);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
}

/* Contact / Location */
.contact-block { margin-bottom: 1.75rem; }
.contact-block h4 {
  color: var(--pine);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-block h4 i { color: var(--brass); }
.contact-block p { margin-bottom: 0; color: #4a4a42; }
.contact-block a { color: var(--pine); font-weight: 600; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.3rem 0; color: #4a4a42; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--pine); }

.map-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(30,58,50,0.1);
  line-height: 0;
}

.city-pill {
  background: var(--white);
  border: 1px solid rgba(30,58,50,0.15);
  color: var(--pine);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 1rem;
  border-radius: 30px;
}
.city-pill i { color: var(--brass); margin-right: 0.3rem; }

/* Footer */
.site-footer {
  background: var(--pine-dark);
  color: #d8d3c4;
  padding: 4rem 0 1.75rem;
}
.site-footer h5 { color: var(--ivory); font-family: 'Inter', sans-serif; font-weight: 700; margin-bottom: 1rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer a { color: #d8d3c4; }
.site-footer a:hover { color: var(--brass-light); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }

.footer-logo-chip {
  background: var(--ivory);
  display: inline-block;
  padding: 0.75rem 1.1rem;
  border-radius: 14px;
}
.footer-logo-chip img { display: block; width: 220px; height: auto; }

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(216,211,196,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.social-icons a:hover { background: var(--brass); border-color: var(--brass); color: var(--pine-dark); }

.site-footer hr { border-color: rgba(216,211,196,0.15); margin: 2rem 0 1.25rem; }

.powered-by {
  font-weight: 600;
  color: var(--brass-light) !important;
  border: 1px solid rgba(217,172,110,0.4);
  padding: 0.4rem 1rem;
  border-radius: 30px;
}
.powered-by strong { color: var(--ivory); }
.powered-by:hover { background: rgba(217,172,110,0.12); }

/* Responsive tweaks */
@media (max-width: 1199.98px) {
  #mainNav .navbar-collapse {
    background: var(--ivory);
    margin-top: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(30,58,50,0.1);
  }
  .hero-content { padding: 2rem 1.5rem; }
}

@media (max-width: 575.98px) {
  .gallery-pair { flex-direction: column; }
  .gallery-img { flex: none; height: 220px; }
  .section-py { padding: 3.5rem 0; }
  .hero-building-motif {
    background-position: center 96%;
    background-size: 220vw auto;
  }
}
