/* ==========================================================================
   Cumming Acupuncture — site stylesheet
   ========================================================================== */

:root {
  --color-heading: #333333;
  --color-body: #666666;
  --color-accent: #be393e;      /* rose/brick red — links, subtitles */
  --color-nav-bg: #544147;      /* dark plum-maroon — nav bar */
  --color-gold: #d0b59e;        /* tan/gold — icon accents */
  --color-topbar-bg: #f4f3f2;
  --color-section-alt: #f7f6f6;
  --color-footer-bg: #2e2528;
  --color-footer-text: #b3aaac;
  --font-heading: "Heuristica", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6em;
  color: var(--color-body);
  background: #ffffff;
}

img { max-width: 100%; display: block; }

a {
  color: var(--color-heading);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--color-accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 400;
  margin: 0 0 0.5em;
}
h1 { font-size: 2.75em; line-height: 1.1em; }
h2 { font-size: 2.1em; line-height: 1.15em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.15em; }

p { margin: 0 0 1.2em; }

ul { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: 0.5em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 5em 0; }
.section--alt { background: var(--color-section-alt); }
.section--tight { padding: 3em 0; }

.section-head { text-align: center; margin-bottom: 3em; }
.section-subtitle {
  display: block;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85em;
  margin-bottom: 0.6em;
}
.section-title { margin-bottom: 0.3em; }
.section-descr { color: var(--color-body); }

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 1.5em 0;
}
.divider::before, .divider::after {
  content: "";
  width: 90px;
  border-top: 1px dotted #c9b7a4;
}
.divider__ornament {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-gold);
  opacity: 0.6;
}

.btn {
  display: inline-block;
  padding: 0.85em 2em;
  border: 1px solid var(--color-heading);
  color: var(--color-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85em;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}
.btn--accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}
.btn--accent:hover {
  background: #a32e33;
  border-color: #a32e33;
  color: #ffffff;
}
.btn--small { padding: 0.6em 1.4em; font-size: 0.75em; }

/* ---------------- Header / Top bar ---------------- */

.top-bar {
  background: var(--color-topbar-bg);
  font-size: 0.85em;
  color: var(--color-body);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 10px;
}
.top-bar__links { display: flex; gap: 28px; flex-wrap: wrap; }
.top-bar__links a { color: var(--color-body); }
.top-bar__links a:hover { color: var(--color-accent); }
.top-bar__icon { color: var(--color-accent); margin-right: 6px; }
.top-bar__cta a { color: var(--color-heading); font-weight: 600; }

.site-header {
  text-align: center;
  padding: 24px 0;
  position: relative;
}
.site-logo img { max-height: 120px; margin: 0 auto; }
.site-logo__word {
  font-family: "Brush Script MT", cursive, var(--font-heading);
  font-size: 1.4em;
  margin-top: 6px;
}

.main-nav {
  background: var(--color-nav-bg);
}
.main-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.main-nav__list li {
  margin: 0;
  position: relative;
}
.main-nav__list a {
  display: block;
  padding: 18px 20px;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 1px;
}
.main-nav__list a:hover,
.main-nav__list li.is-current > a {
  color: var(--color-gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  left: 24px;
  top: 24px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-heading);
  margin: 5px 0;
}

/* ---------------- Hero slider (home) ---------------- */

.hero-slider {
  position: relative;
  overflow: hidden;
  height: 420px;
  background: #eee;
}
.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slider__slide.is-active { opacity: 1; }
.hero-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slider__dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-slider__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
}
.hero-slider__dots button.is-active { background: #fff; }

/* ---------------- Page title banner (subpages) ---------------- */

.page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 5em 0;
  text-align: center;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 20, 0.55);
}
.page-banner__title {
  position: relative;
  color: #ffffff;
  margin: 0;
}

/* ---------------- Welcome / intro section ---------------- */

.welcome { text-align: center; }

/* ---------------- Three-card grid ---------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card {
  background: #ffffff;
  text-align: center;
}
.card__img { aspect-ratio: 1 / 1; overflow: hidden; margin-bottom: 1.2em; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__category {
  text-transform: uppercase;
  font-size: 0.75em;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 0.5em;
}
.card__title { margin-bottom: 1em; }

/* ---------------- Testimonials ---------------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.testimonial {
  background: #ffffff;
  border: 1px solid #ececec;
  padding: 2em;
  text-align: center;
}
.testimonial__avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1em;
}
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial__quote { font-style: italic; margin-bottom: 1em; }
.testimonial__author { font-weight: 600; color: var(--color-heading); }

/* ---------------- Content / prose pages ---------------- */

.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul li::marker { color: var(--color-accent); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.icon-list { list-style: none; padding: 0; }
.icon-list li {
  padding-left: 1.8em;
  position: relative;
}
.icon-list li::before {
  content: "\2022";
  color: var(--color-gold);
  position: absolute;
  left: 0;
  font-size: 1.4em;
  line-height: 0.8em;
}

.cta-strip {
  text-align: center;
  padding-top: 2em;
  margin-top: 2em;
  border-top: 1px solid #ececec;
}
.cta-strip p { margin-bottom: 1em; }

/* ---------------- Pricing tables ---------------- */

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2em;
}
.pricing-table caption {
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15em;
  color: var(--color-heading);
  margin-bottom: 0.6em;
}
.pricing-table td {
  padding: 0.7em 0;
  border-bottom: 1px solid #ececec;
}
.pricing-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}

.note-box {
  background: var(--color-section-alt);
  border-left: 3px solid var(--color-accent);
  padding: 1.4em 1.8em;
  margin: 1.5em 0;
}

/* ---------------- Contact page ---------------- */

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: center;
  margin-bottom: 3em;
}
.contact-info__item .icon { color: var(--color-accent); font-size: 1.4em; display:block; margin-bottom: 0.4em; }

.map-embed { width: 100%; }
.map-embed iframe { width: 100%; height: 450px; border: 0; }

.social-icons { display: flex; gap: 12px; justify-content: center; }
.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  color: var(--color-heading);
}
.social-icons a:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 4em 0 2em;
}
.site-footer h5 {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.95em;
  letter-spacing: 1px;
  margin-bottom: 1.2em;
}
.site-footer a { color: var(--color-footer-text); }
.site-footer a:hover { color: var(--color-gold); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.7em; padding-left: 1.6em; position: relative; }
.footer-grid li .icon { color: var(--color-gold); position: absolute; left: 0; }

.footer-bottom {
  background: var(--color-nav-bg);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom img { height: 60px; }

/* ---------------- Responsive ---------------- */

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid li { padding-left: 0; }
  .footer-grid li .icon { position: static; display: block; margin-bottom: 4px; }
}

@media (max-width: 800px) {
  .top-bar__links { justify-content: center; }
  .top-bar .container { justify-content: center; text-align: center; }
  .top-bar__cta { display: none; }

  .nav-toggle { display: block; }

  .main-nav { display: none; }
  .main-nav.is-open {
    display: block;
    position: absolute;
    z-index: 50;
    left: 0;
    right: 0;
  }
  .main-nav__list { flex-direction: column; }
  .main-nav__list a { padding: 14px 24px; }

  .site-header { padding-top: 60px; }

  h1 { font-size: 2.1em; }
  h2 { font-size: 1.6em; }

  .hero-slider { height: 260px; }
  .page-banner { padding: 3em 0; }
}
