/* ==========================================================
   clinic-additions.css
   Load AFTER css/style.css. Only styles the new clinic
   elements; nothing here overrides your existing design.
   Colours below match the teal in your current site.
   Change the three variables to re-colour everything here.
   ========================================================== */
:root {
  --cl-teal: #2d6e68;
  --cl-teal-dark: #1d4d4a;
  --cl-sage: #e4ece6;
  --cl-ink: #1f2d2b;
}

/* ---------- Hero: clinic info strip ---------- */
.hero-info {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 460px;
  font-size: 0.95rem;
  color: var(--cl-ink);
}
.hero-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.hero-info svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  stroke: var(--cl-teal);
}
.hero-info a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero chips: SVG icons instead of emoji ---------- */
.badge-chip svg {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 6px;
  stroke: var(--cl-teal);
}

/* ---------- WhatsApp / call buttons ---------- */
.btn-whatsapp {
  background: #1f8f55;
  color: #fff;
  border: 2px solid #1f8f55;
}
.btn-whatsapp:hover { background: #187444; border-color: #187444; color: #fff; }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- Clinic tour ---------- */
.clinic-tour { padding: 90px 0; }
.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
/* .tour-card {
  position: relative;
  margin: 0;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cl-sage), #cfdfd6);
}
.tour-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
} */
.tour-card {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #f7f4ee;
}

.tour-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.tour-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 18px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(to top, rgba(20, 45, 42, 0.75), transparent);
}
/* if a photo is missing, the image removes itself and the caption sits on sage */
.tour-card:not(:has(img)) figcaption {
  color: var(--cl-teal-dark);
  background: none;
  top: 50%;
  bottom: auto;
  text-align: center;
  padding: 0 18px;
}

/* ---------- Conditions we treat ---------- */
.conditions { padding: 80px 0; background: var(--cl-sage); }
.condition-list {
  list-style: none;
  margin: 36px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
}
.condition-list li {
  padding: 11px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(45, 110, 104, 0.25);
  color: var(--cl-teal-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq { padding: 90px 0; }
.faq-list { max-width: 780px; margin: 40px auto 0; }
.faq-list details {
  border-bottom: 1px solid rgba(31, 45, 43, 0.15);
  padding: 18px 4px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--cl-teal-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--cl-teal);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 12px 0 0; line-height: 1.65; max-width: 68ch; }
.faq-list summary:focus-visible { outline: 3px solid var(--cl-teal); outline-offset: 4px; }

/* ---------- Map ---------- */
.map-wrap {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(31, 45, 43, 0.12);
}
.map-wrap iframe { display: block; width: 100%; height: 260px; border: 0; }

/* ---------- Contact detail links ---------- */
.contact-details a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer address ---------- */
.footer-address { font-style: normal; line-height: 1.6; margin-top: 12px; }

/* ---------- Mobile sticky call / WhatsApp bar ---------- */
.mobile-cta { display: none; }

@media (max-width: 900px) {
  .tour-grid { grid-template-columns: 1fr; }
  .tour-card { min-height: 220px; }
}

@media (max-width: 768px) {
  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
  }
  .mobile-cta a {
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
  }
  .mobile-cta .mc-call { background: var(--cl-teal); }
  .mobile-cta .mc-wa { background: #1f8f55; }
  body { padding-bottom: 54px; }
  #backToTop { bottom: 70px; }
}
