/* Onward Paws — site stylesheet.
   Hand-written replacement for the BootstrapMade "Medilab" template + Bootstrap 5.
   Breakpoints follow the old Bootstrap grid so the layout matches: 576 / 768 / 992 / 1200 / 1400. */

:root {
  --pink: #f46869;
  --pink-strong: #ff6366;
  --pink-hover: #db4f4f;
  --pink-soft: #ffe3e3;
  --pink-wash: #ffefef;
  --text: #444;
  --text-dark: #424242;
  --heading-dark: #343a40;
  --muted: #848484;
  --grey: grey;
  --section-bg: #fcfcfd;
  --shadow-card: 0 2px 15px rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 2px 15px rgba(44, 73, 100, 0.08);
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-faq: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 24px;
  --header-h: 77px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.2;
}
p { margin: 0 0 1rem; }
img, svg { vertical-align: middle; }
img { max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--pink-hover); }

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
  flex: none;
}

.container {
  width: 100%;
  max-width: var(--container, none);
  margin: 0 auto;
  padding: 0 12px;
}
@media (min-width: 576px)  { .container { --container: 540px; } }
@media (min-width: 768px)  { .container { --container: 720px; } }
@media (min-width: 992px)  { .container { --container: 960px; } }
@media (min-width: 1200px) { .container { --container: 1140px; } }
@media (min-width: 1400px) { .container { --container: 1320px; } }

.center { text-align: center; }
.hide-xs { display: none !important; }
@media (min-width: 576px) { .hide-xs { display: inline-flex !important; } }

section { padding: 60px 0; overflow: hidden; }
.section-bg { background: var(--section-bg); }

.section-title { text-align: center; padding-bottom: 30px; }
.section-title h2 {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
  font-size: 32px;
  font-weight: 700;
  color: var(--pink-strong);
}
.section-title h2::before,
.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
}
.section-title h2::before { width: 120px; height: 1px; bottom: 1px; margin-left: -60px; background: #ddd; }
.section-title h2::after  { width: 40px;  height: 3px; bottom: 0;   margin-left: -20px; background: var(--pink); }
.section-title p { margin-bottom: 0; }

/* Bootstrap's fluid heading sizes, kept for the few headings that relied on them */
.h1-fluid { font-size: calc(1.375rem + 1.5vw); }
.h2-fluid { font-size: calc(1.325rem + 0.9vw); }
.h3-fluid { font-size: calc(1.3rem + 0.6vw); }
@media (min-width: 1200px) {
  .h1-fluid { font-size: 2.5rem; }
  .h2-fluid { font-size: 2rem; }
  .h3-fluid { font-size: 1.75rem; }
}

.pill-btn {
  display: inline-block;
  border: 1px solid var(--pink);
  border-radius: 50px;
  background: var(--pink);
  color: #fff;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.pill-btn:hover { background: var(--pink-soft); color: var(--pink); }

/* ---------- Top bar ---------- */
#topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 996;
  display: flex;
  align-items: center;
  height: 40px;
  background: #fff;
  font-size: 14px;
  transition: top 0.5s;
}
#topbar .container { display: flex; justify-content: space-between; align-items: center; }
#topbar .contact-info { display: flex; align-items: center; gap: 4px; color: var(--grey); }
#topbar .contact-info a { color: var(--grey); line-height: 1; transition: color 0.3s; }
#topbar .contact-info a:hover { color: var(--pink); }
#topbar .contact-info .icon + a + .icon { margin-left: 11px; }
#topbar .ooo { margin-left: 20px; font-weight: bolder; }
#topbar .tagline { font-style: italic; font-weight: 300; color: var(--pink); }
body.scrolled #topbar { top: -40px; }

/* ---------- Header + nav ---------- */
#header {
  position: fixed;
  top: 40px; left: 0; right: 0;
  z-index: 997;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0 2px 15px rgba(25, 119, 204, 0.1);
  transition: top 0.5s;
}
body.scrolled #header { top: 0; }
#header .container { display: flex; align-items: center; }
#header .logo { margin-right: auto; }
#header .logo img { width: 120px; }

.nav-cta { margin-left: 25px; padding: 8px 25px; font-size: 14px; }

#navbar ul { display: flex; align-items: center; }
#navbar li { padding: 8px 0 8px 20px; white-space: nowrap; }
#navbar a {
  display: block;
  padding: 5px 2px;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  color: var(--pink-strong);
  transition: color 0.3s, border-color 0.3s;
}
#navbar a:hover, #navbar a.active { color: var(--pink); border-color: var(--pink); }

.nav-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--pink-strong);
  font-size: 28px;
  line-height: 0;
  cursor: pointer;
}
.nav-toggle .i-close { display: none; }

@media (max-width: 991.98px) {
  #navbar { order: 3; }
  #navbar ul { display: none; }
  .nav-toggle { display: block; }

  #navbar.open {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(28, 47, 65, 0.9);
  }
  #navbar.open ul {
    display: block;
    position: absolute;
    inset: 55px 15px 15px 15px;
    padding: 10px 0;
    overflow-y: auto;
    background: #fff;
  }
  #navbar.open li { padding: 0; }
  #navbar.open a { padding: 10px 20px; border: 0; font-size: 15px; }
  #navbar.open .nav-toggle { position: absolute; top: 15px; right: 15px; color: #fff; }
  #navbar.open .i-menu { display: none; }
  #navbar.open .i-close { display: inline-block; }
}
@media (max-width: 768px) {
  .nav-cta { margin: 0 15px 0 0; padding: 6px 18px; }
}

/* ---------- Hero ---------- */
#home {
  display: flex;
  align-items: center;
  height: 100vh;
  padding: 0;
  overflow: visible;
  background: url("../img/hero-bg.jpg") top center / cover;
}
#home .container { position: relative; padding-bottom: 63px; }
#home h1 {
  margin: 0;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pink);
}
#home .sub { margin: 0; padding-left: 0.3em; font-family: var(--font-head); line-height: 1.2; color: var(--pink); }
#home .sub-1 { font-size: 20.8px; font-weight: 300; }
#home .sub-2 { padding-top: 5px; font-size: 24px; font-weight: 600; }
#home .serving { margin: 24px 0 0; font-weight: 700; color: var(--text-dark); }
#home .years { margin: 0; font-size: 15.36px; color: var(--text-dark); }
#home .pill-btn {
  margin-top: 30px;
  padding: 12px 35px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
@media (min-width: 993px) {
  #home { height: 90vh; margin-bottom: -200px; }
  #home .container { padding-bottom: 0; }
  #home h1 { font-size: 48px; line-height: 56px; }
}
@media (min-width: 1024px) {
  #home { background-attachment: fixed; }
}
@media (max-height: 600px) {
  #home { height: 110vh; }
}

/* ---------- Why us ---------- */
.why-us .grid { display: grid; gap: var(--gutter); }
.why-us .content {
  padding: 30px;
  border-radius: 4px;
  background: var(--pink);
  color: #fff;
}
.why-us .content h3 { margin-bottom: 30px; font-size: 34px; font-weight: 700; }
.why-us .content p { margin-bottom: 24px; }
.why-us .content p:last-child { margin-bottom: 30px; }
.why-us .content a { color: #fff; }
.why-us .content .phone { font-size: 105%; }
.why-us .content .email { font-size: 95%; }
.why-us .boxes { display: grid; gap: var(--gutter); align-content: center; }
.why-us .box {
  padding: 40px 30px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.why-us .box .icon { font-size: 48px; color: var(--pink); }
.why-us .box h4 { margin: 0 0 30px; font-size: 20px; font-weight: 700; }
.why-us .box p { font-size: 15px; color: var(--muted); }
@media (min-width: 992px) {
  .why-us .grid { grid-template-columns: 1fr 2fr; }
}
@media (min-width: 1200px) {
  .why-us .boxes { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Services ---------- */
.intro {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
}
.intro .photo { grid-column: 2 / span 5; }
.intro .photo img { width: 225px; border-radius: 5%; }
.intro .text { grid-column: 7 / span 6; }
.intro p { margin-bottom: 24px; }
.intro h3 { margin-bottom: 15px; font-size: 28px; font-weight: 700; color: var(--pink-strong); }
@media (min-width: 768px) {
  .intro .photo { grid-column: 2 / span 3; }
  .intro .text { grid-column: 5 / span 7; }
}

.service-list {
  display: grid;
  column-gap: var(--gutter);
  margin-left: 8.333%;
  padding-left: 12px;
}
.service {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 21px;
  align-items: start;
  width: 91.667%;
  margin-top: 40px;
}
.service .badge {
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--pink-soft);
  border-radius: 50%;
  color: var(--pink);
}
.service .badge .fa { font-size: 32px; }
.service .badge .mi { font-size: 48px; }
.service h4 { margin-bottom: 10px; font-size: 18px; font-weight: 700; }
.service p { margin: 0; font-size: 14px; line-height: 24px; }
@media (min-width: 768px) {
  .service-list { grid-template-columns: repeat(3, 1fr); }
  .service { width: auto; }
}

/* ---------- Hours + prices ---------- */
.hours .serving { margin-bottom: 0.5rem; text-align: center; }
.hours .hug { display: block; width: 200px; margin: 0 auto; border-radius: 50%; }
.schedule { margin: 48px auto 0; max-width: 83.333%; text-align: center; }
.schedule p { margin: 0 0 24px; }
.schedule .lead { font-size: 110%; }
.accent { font-weight: 700; color: var(--pink); }
.schedule .contact a { color: var(--grey); }
.schedule .contact .phone { font-size: 105%; }
.schedule .contact .email { font-size: 95%; }

.packages-title { margin: 40px 0 0; font-family: var(--font-body); font-size: 32px; font-weight: 400; color: var(--pink); text-align: center; }
.packages {
  display: grid;
  gap: 10px;
  width: 66.667%;
  margin: 10px auto 0;
}
.package {
  display: flex;
  flex-direction: column;
  padding: 15px 0 5px;
  border: 1px solid var(--pink);
  background: #fffcfc;
  box-shadow: 4px 4px rgba(0, 0, 0, 0.1);
  color: var(--pink);
  text-align: center;
}
.package.featured { background: #fff4f4; }
.package h3 { margin: 0; font-family: var(--font-body); font-size: 105%; font-weight: 700; line-height: 1.5; }
.package h3 small { font-size: 50%; }
.package .prices {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0 24px;
}
.price-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.price-row .weight { padding-right: 5px; font-size: 75%; text-align: right; }
.price-row .amount { padding-left: 5px; text-align: left; }
.price-row.single { grid-template-columns: 1fr; }
.price-row.single .amount { padding: 0; text-align: center; }
.amount { font-weight: 300; }
.amount sup { font-size: 100%; }
.amount span { font-size: 175%; }
.package hr { margin: 20px 12px 10px; border: 0; border-top: 1px solid currentColor; opacity: 0.25; }
.package ul { font-size: 80%; }
.package li { line-height: 1.5; }
.package ul { margin-bottom: 1rem; }
@media (min-width: 768px) {
  .packages { grid-template-columns: repeat(3, 1fr); gap: 0; width: auto; margin: 10px -12px 0; }
}

.footnotes { margin: 0 auto 1rem; padding-top: 15px; max-width: 83.333%; font-size: 75%; text-align: center; }
.sub-title { margin: 0 0 20px; font-family: var(--font-body); font-size: 24px; font-weight: 400; color: var(--pink); text-align: center; }

.checklists { text-align: center; }
.checklist {
  display: inline-block;
  padding: 15px;
  text-align: left;
  vertical-align: top;
}
.checklist li::before { content: "✓\00a0\00a0"; }
.plain-list { display: inline-block; padding: 15px; }

.keepsakes-title { margin: 0 0 20px; font-size: 90%; color: var(--pink); text-align: center; }
.keepsakes { text-align: center; }
.keepsakes img { width: 350px; padding: 5px; border-radius: 30px; }

.payments { margin: 25px auto 30px; width: 300px; }
.payments-note { padding-top: 50px; margin-bottom: 0; text-align: center; }

/* ---------- Contact / appointments ---------- */
.contact-intro { margin: 0 auto; max-width: 66.667%; }
.contact-intro .contact-links { font-size: 120%; }
.contact-intro .email { font-size: 95%; }
.contact-intro .or { margin-top: 24px; font-size: 120%; }
.calendar-title { color: var(--pink); text-align: center; }
.ooo-banner { color: var(--grey); font-family: Arial, Helvetica, sans-serif; text-align: center; }
.calendar { width: 83.333%; margin: 0 auto; }
@media (min-width: 576px) {
  .calendar { width: auto; }
}

/* ---------- Doctor ---------- */
.member {
  max-width: 856px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}
.member .pic {
  width: 120px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 50%;
}
.member .pic img { display: block; transition: transform 0.3s ease-in-out; }
.member:hover .pic img { transform: scale(1.1); }
.member h4 { margin-bottom: 5px; font-size: 20px; font-weight: 700; color: var(--pink-strong); }
.member .role {
  position: relative;
  margin: 0;
  padding-bottom: 10px;
  font-size: 15px;
}
.member .role::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 1px;
  background: #b2c8dd;
}
.member .bio { margin-top: 10px; font-size: 14px; }
.member .bio p { margin: 0 0 21px; }
.certs { display: flex; flex-wrap: wrap; align-items: center; }
.certs img { padding: 10px; }
@media (min-width: 576px) {
  .member { display: flex; align-items: flex-start; }
  .member .pic { flex: none; width: 108px; margin: 0; }
  .member .info { padding-left: 30px; }
}

.peek { display: block; width: 50%; }

/* ---------- FAQ + resources (native <details> accordions) ---------- */
.faq-columns { display: grid; gap: 0 var(--gutter); }
@media (min-width: 576px) {
  .faq-columns { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) {
  .faq-columns { padding: 0 100px; }
}

.qa { position: relative; padding: 20px; border-radius: 4px; background: #fff; }
.qa + .qa { margin-top: 15px; }
.faq-columns > div { margin-bottom: 1rem; }
.qa summary {
  position: relative;
  display: block;
  padding: 0 30px;
  font-family: var(--font-faq);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--heading-dark);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover, .qa[open] summary { color: var(--pink); }
.qa summary .lead-icon { position: absolute; left: 0; top: 3px; font-size: 18px; color: var(--pink); }
.qa summary .chevron { position: absolute; right: 0; top: 4px; font-size: 16px; transition: transform 0.2s; }
.qa[open] summary .chevron { transform: rotate(180deg); }
.qa .answer { padding-top: 10px; }
.qa .answer p { margin: 0 0 1rem; }
.qa .answer p:last-child { margin-bottom: 0; }
.qa .answer a { display: inline-block; }
.qa .answer h5 { margin: 0 0 4px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.5; }

.loss .grid { display: grid; gap: var(--gutter); }
.loss .text p { margin-bottom: 24px; }
.loss .qa { margin-bottom: 1rem; }
.loss .qa + .qa { margin-top: 0; }
.link-list a { display: block; }
@media (min-width: 768px) {
  .loss .grid { grid-template-columns: repeat(12, 1fr); }
  .loss .text { grid-column: 2 / span 4; }
  .loss .resources { grid-column: 6 / span 7; }
}
@media (min-width: 1200px) {
  .loss .resources { padding: 0 100px; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 10px 0 30px;
  background: var(--pink-wash);
  color: var(--pink);
  text-align: center;
}
.site-footer .tagline { margin-bottom: 40px; font-style: italic; font-weight: 300; }
.site-footer .copyright { font-size: 80%; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--pink);
  border-radius: 4px;
  background: var(--pink);
  color: #fff;
  font-size: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s, background 0.3s, color 0.3s;
}
.back-to-top:hover { background: var(--pink-soft); color: var(--pink); }
body.scrolled .back-to-top { opacity: 1; visibility: visible; }
