/* Ann T. Kennon, DMD — Family & Cosmetic Dentistry, Taunton MA */

:root {
  --maroon: #5c2424;
  --maroon-dark: #431a1a;
  --maroon-light: #7a3434;
  --slate: #52555a;
  --slate-dark: #33363a;
  --cream: #faf6f0;
  --ivory: #fffdfb;
  --gold: #b08d57;
  --gold-light: #d9bd8a;
  --gold-deep: #8a6a34;
  --text: #2c2a28;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Playfair Display', Georgia, serif;
}

a { color: var(--maroon); }
a:hover { color: var(--gold); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-weight: 700;
  color: var(--maroon-dark);
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 680px;
  color: var(--slate);
  margin-bottom: 3rem;
}

.section-pad { padding: 5.5rem 0; }

.bg-cream { background: var(--cream); }
.bg-ivory { background: var(--ivory); }

/* ---------- Navbar ---------- */
.navbar-wfw {
  background: var(--ivory);
  box-shadow: 0 2px 14px rgba(92, 36, 36, 0.08);
  padding: 0.6rem 0;
}

.navbar-wfw .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.navbar-wfw .navbar-brand img {
  height: 42px;
  width: auto;
}

.navbar-wfw .navbar-brand-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--maroon-dark);
  line-height: 1.1;
}

.navbar-wfw .navbar-brand-text small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

.navbar-wfw .nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem !important;
  white-space: nowrap;
}

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

.btn-call {
  background: var(--maroon);
  color: #fff !important;
  border-radius: 30px;
  padding: 0.5rem 1.3rem !important;
  font-weight: 600;
  white-space: nowrap;
}

.btn-call:hover { background: var(--maroon-dark); color: #fff !important; }

/* ---------- Hero (split panel) ---------- */
.hero {
  display: flex;
  flex-wrap: wrap;
  min-height: 88vh;
}

.hero-panel {
  background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: #fff;
  flex: 1 1 46%;
  display: flex;
  align-items: center;
  padding: 4rem 3.5rem;
  position: relative;
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--gold);
}

.hero-photo {
  flex: 1 1 54%;
  min-height: 420px;
  background: url('img/hero.webp') center/cover no-repeat;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.9rem;
  color: #fff;
}

.hero-tagline {
  color: rgba(255,255,255,0.85);
  font-size: 1.02rem;
  max-width: 460px;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.btn-hero-primary {
  background: var(--gold);
  color: var(--maroon-dark);
  font-weight: 700;
  border-radius: 30px;
  padding: 0.75rem 1.7rem;
  border: none;
}

.btn-hero-primary:hover { background: var(--gold-light); color: var(--maroon-dark); }

.btn-hero-secondary {
  background: transparent;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: 0.75rem 1.7rem;
  border: 1.5px solid rgba(255,255,255,0.6);
}

.btn-hero-secondary:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- Awards strip ---------- */
.awards-strip {
  background: var(--ivory);
  padding: 2.75rem 0;
  border-bottom: 1px solid rgba(92,36,36,0.1);
}

.award-item { text-align: center; }
.award-item img { height: 92px; width: auto; margin-bottom: 0.6rem; }
.award-item span {
  display: block;
  font-size: 0.85rem;
  color: var(--slate);
  font-weight: 500;
}

/* ---------- About ---------- */
.about-quote-block {
  background: var(--maroon);
  color: #fff;
  border-radius: 14px;
  padding: 2.75rem 2.25rem;
  position: relative;
}

.about-quote-block .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.5rem;
}

.about-credentials {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.about-credentials li {
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: 0.7rem;
  color: var(--slate);
}

.about-credentials li::before {
  content: "\f26e";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ---------- Service cards ---------- */
.service-card {
  background: var(--ivory);
  border: 1px solid rgba(92,36,36,0.09);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(92,36,36,0.12);
}

.service-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(92,36,36,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.4rem;
  color: var(--maroon);
}

.service-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--maroon-dark);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--slate);
  margin-bottom: 0;
}

.service-card.filler {
  background: var(--maroon);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-card.filler .icon-wrap {
  background: rgba(255,255,255,0.15);
  color: var(--gold-light);
}

.service-card.filler h3 { color: #fff; }
.service-card.filler p { color: rgba(255,255,255,0.85); }

/* alternate section backgrounds */
.section-alt { background: var(--ivory); }

/* ---------- Technology / Comfort ---------- */
.tech-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(44,42,40,0.15);
}

.tech-list { list-style: none; padding: 0; margin: 0; }

.tech-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(92,36,36,0.1);
}

.tech-list li:last-child { border-bottom: none; }

.tech-list .icon-wrap {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(176,141,87,0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.tech-list h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon-dark);
  margin-bottom: 0.2rem;
}

.tech-list p {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 0;
}

/* ---------- Team ---------- */
.team-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 1.9rem 1.6rem;
  height: 100%;
  border-top: 3px solid var(--gold);
}

.team-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon-dark);
  margin-bottom: 0.1rem;
}

.team-card .role {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: block;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 0;
}

/* ---------- Patients ---------- */
.patient-card {
  text-align: center;
  padding: 2rem 1.25rem;
}

.patient-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  font-size: 1.5rem;
}

.patient-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon-dark);
  margin-bottom: 0.5rem;
}

.patient-card p {
  font-size: 0.9rem;
  color: var(--slate);
}

/* ---------- Location ---------- */
.location-panel {
  background: var(--maroon-dark);
  color: #fff;
  border-radius: 14px;
  padding: 2.5rem;
  height: 100%;
}

.location-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 1.3rem;
  color: var(--gold-light);
}

.location-detail {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
  align-items: flex-start;
}

.location-detail .bi {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-top: 0.15rem;
}

.location-detail strong { display: block; margin-bottom: 0.15rem; }
.location-detail span, .location-detail a { color: rgba(255,255,255,0.85); }

.map-frame {
  border-radius: 14px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 20px 40px rgba(44,42,40,0.18);
}

.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.service-towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.service-towns span {
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  font-size: 0.82rem;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--slate-dark);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 2rem;
}

footer.site-footer .footer-logo-chip {
  background: var(--ivory);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

footer.site-footer .footer-logo-chip img { height: 36px; width: auto; }

footer.site-footer h5 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

footer.site-footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
footer.site-footer a:hover { color: var(--gold-light); }

footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 0.55rem; font-size: 0.9rem; }

.footer-powered {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-powered a {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero { min-height: auto; }
  .hero-panel { flex: 1 1 100%; padding: 3.5rem 1.75rem; order: 2; }
  .hero-photo { flex: 1 1 100%; min-height: 340px; order: 1; }
  .section-pad { padding: 3.75rem 0; }
}

@media (max-width: 575.98px) {
  .hero-panel { padding: 2.75rem 1.25rem; }
  .about-quote-block { padding: 2rem 1.5rem; }
  .location-panel { padding: 1.75rem; }
}
