/* New England Wellness Solutions — Wicked Fast Web redesign */

:root {
  --navy: #0d2b52;
  --navy-deep: #081c38;
  --blue: #2f6fb0;
  --blue-soft: #6a9ccd;
  --blue-pale: #eaf3fb;
  --gold: #c9a24b;
  --gold-soft: #e4c98a;
  --cream: #faf8f4;
  --ink: #16233a;
  --slate: #5b6b82;
  --font-head: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-head);
  color: var(--navy-deep);
}

a { color: var(--blue); }

.text-gold { color: var(--gold); }
.bg-navy { background-color: var(--navy); }
.bg-blue-pale { background-color: var(--blue-pale); }
.bg-cream { background-color: var(--cream); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-pad { padding: 6rem 0; }
@media (max-width: 767px) {
  .section-pad { padding: 4rem 0; }
}

.section-heading {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
}

.section-lede {
  color: var(--slate);
  font-size: 1.08rem;
  max-width: 640px;
}

.btn-gold {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
}
.btn-gold:hover {
  background-color: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--navy-deep);
}

.btn-outline-light-navy {
  border: 1.5px solid rgba(255,255,255,0.65);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  background: transparent;
}
.btn-outline-light-navy:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.btn-navy-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 4px;
  background: transparent;
}
.btn-navy-outline:hover {
  background: var(--navy);
  color: #fff;
}

/* ---------- Navbar ---------- */
#mainNav {
  background: rgba(13, 43, 82, 0.0);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
  padding: 1.1rem 0;
}
#mainNav.scrolled {
  background: rgba(13, 43, 82, 0.97);
  box-shadow: 0 2px 18px rgba(0,0,0,0.18);
  padding: 0.6rem 0;
}
.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.navbar-brand-wrap img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}
.navbar-brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  color: #fff;
  line-height: 1.1;
}
.navbar-brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
#mainNav .nav-link {
  color: #f2f6fb !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem !important;
}
#mainNav .nav-link:hover { color: var(--gold-soft) !important; }
#mainNav .navbar-toggler {
  border: none;
  box-shadow: none;
  padding: 0.25rem 0.4rem;
}
#mainNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991px) {
  #mainNav .navbar-collapse {
    background: rgba(13, 43, 82, 0.98);
    margin-top: 1rem;
    padding: 1rem 1.25rem 1.5rem;
    border-radius: 8px;
  }
}
.nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  border-radius: 4px;
  padding: 0.5rem 1.1rem !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 30%/cover no-repeat;
  clip-path: ellipse(140% 100% at 50% 0%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 46%, rgba(8,28,56,0.55) 0%, rgba(8,28,56,0.30) 55%, rgba(8,28,56,0.20) 100%),
    linear-gradient(to bottom, rgba(8,28,56,0.75) 0%, rgba(20,50,90,0.55) 45%, rgba(8,28,56,0.85) 100%);
  filter: saturate(0.65);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 2.25rem 1.75rem;
  background: rgba(8,28,56,0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 14px;
}
.hero-eyebrow {
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  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 {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.08;
  margin: 0.6rem 0 0.5rem;
  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);
}
.hero-subtitle {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--gold-soft);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  margin-bottom: 0.85rem;
  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);
}
.hero-tagline {
  color: #eef3fa;
  font-size: 1.02rem;
  max-width: 560px;
  margin: 0 auto 1.75rem;
  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);
}
.hero-ctas {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Offer strip ---------- */
.offer-strip {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  padding: 1.5rem 0;
}
.offer-strip .offer-text {
  font-weight: 600;
  font-size: 1.05rem;
}
.offer-strip .offer-price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold-soft);
  font-size: 1.35rem;
}
.offer-strip .offer-was {
  text-decoration: line-through;
  opacity: 0.65;
  font-size: 0.92rem;
}

/* ---------- Pain point section ---------- */
.pain-section {
  background: var(--navy-deep);
  color: #eef3fa;
}
.pain-section h2 { color: #fff; }
.pain-section p.section-lede { color: #b9c8db; }

/* ---------- Service cards ---------- */
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  height: 100%;
  border: 1px solid rgba(13,43,82,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(13,43,82,0.12);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.service-card p {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Conditions grid ---------- */
.condition-tile {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(13,43,82,0.07);
}
.condition-tile i {
  font-size: 1.6rem;
  color: var(--blue);
  margin-bottom: 0.6rem;
  display: block;
}
.condition-tile span {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--navy-deep);
  line-height: 1.3;
  display: block;
}

/* ---------- Our Story ---------- */
.story-section { background: var(--blue-pale); }
.story-photo {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 4/5;
  box-shadow: 0 18px 40px rgba(13,43,82,0.18);
}
.story-quote {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
  line-height: 1.4;
}
.timeline-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 767px) {
  .timeline-row { grid-template-columns: repeat(2, 1fr); }
}
.timeline-item {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem 1.1rem;
  text-align: center;
  border-top: 3px solid var(--gold);
}
.timeline-item .t-year {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.timeline-item .t-label {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.4;
}

/* ---------- Providers ---------- */
.provider-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(13,43,82,0.08);
}
.provider-card img {
  width: 100%;
  aspect-ratio: 4/3.4;
  object-fit: cover;
  object-position: top center;
}
.provider-body { padding: 1.5rem 1.5rem 1.75rem; }
.provider-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.provider-creds {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: block;
}
.provider-body p {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 0;
}

/* ---------- First visit steps ---------- */
.step-card {
  text-align: center;
  padding: 1.5rem 1rem;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
}
.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step-card p {
  color: var(--slate);
  font-size: 0.92rem;
}
.refer-note {
  background: var(--blue-pale);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  font-size: 0.92rem;
  color: var(--navy-deep);
  margin-top: 1rem;
}

/* ---------- FAQ ---------- */
.accordion-button {
  font-weight: 700;
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-size: 1.02rem;
}
.accordion-button:not(.collapsed) {
  background-color: var(--blue-pale);
  color: var(--navy);
}
.accordion-button:focus { box-shadow: none; border-color: rgba(13,43,82,0.15); }
.accordion-item { border-color: rgba(13,43,82,0.1); margin-bottom: 0.6rem; border-radius: 8px !important; overflow: hidden; }

/* ---------- Reviews & Community ---------- */
.reviews-section { background: var(--navy-deep); color: #eef3fa; }
.reviews-section h2 { color: #fff; }
.reviews-section .section-lede { color: #b9c8db; }
.review-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-bottom: 3rem; }
.community-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  height: 100%;
}
.community-card i {
  font-size: 1.6rem;
  color: var(--gold-soft);
  margin-bottom: 0.75rem;
  display: block;
}
.community-card h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.community-card p {
  color: #b9c8db;
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ---------- Location ---------- */
.location-section { background: var(--cream); }
.info-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(13,43,82,0.08);
}
.info-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.info-card h3 i { color: var(--gold); }
.hours-table td {
  padding: 0.35rem 0;
  font-size: 0.92rem;
  color: var(--ink);
  border-bottom: 1px dashed rgba(13,43,82,0.12);
}
.hours-table td:last-child { text-align: right; color: var(--slate); }
.map-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(13,43,82,0.1);
  height: 100%;
  min-height: 340px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-deep);
  color: #cdd8e6;
  padding: 3.5rem 0 1.5rem;
}
.footer-logo-chip {
  background: #fdfaf3;
  border-radius: 10px;
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}
.footer-logo-chip img { width: 100%; height: 100%; object-fit: contain; }
footer.site-footer h4 {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
footer.site-footer a { color: #cdd8e6; text-decoration: none; }
footer.site-footer a:hover { color: var(--gold-soft); }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer ul li { margin-bottom: 0.55rem; font-size: 0.92rem; }
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.footer-social a:hover { background: var(--gold); color: var(--navy-deep); }
.footer-powered {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  text-align: center;
  color: #9fb0c4;
}
.footer-powered a {
  color: var(--gold-soft);
  font-weight: 700;
  text-decoration: none;
}
.footer-powered a:hover { text-decoration: underline; }
