/* ==========================================================================
   Tidy-up styles for the homepage and services page.
   Uses the theme's own palette: blue #67c9e0, coral #f15b5a, charcoal #3a3c41,
   pale grey #f0f5f7, mid grey #999ca5, rule #dcdee4. Fonts come from main.css.
   ========================================================================== */

/* ---- shared section scaffolding ---- */
.tidy-section { padding: 55px 0; }
.tidy-section.tidy-white { background: #fff; }
.tidy-section.tidy-grey { background: #f0f5f7; }
.tidy-head { text-align: center; max-width: 760px; margin: 0 auto 35px; }
.tidy-head h2 { margin: 0 0 10px; font-size: 28px; }
.tidy-head p { margin: 0; font-size: 16px; line-height: 1.7; color: #999ca5; }
.tidy-actions { text-align: center; margin-top: 10px; }
.tidy-actions .read-more { margin: 4px; }
.tidy-grid { display: flex; flex-wrap: wrap; }
.tidy-grid > div { display: flex; margin-bottom: 30px; }
.sr-only-tidy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- photo cards (services page + team) ---- */
.svc-card { display: flex; flex-direction: column; width: 100%; background: #fff; margin: 0; }
.svc-card figure { margin: 0; overflow: hidden; }
.svc-card figure img { display: block; width: 100%; height: 200px; object-fit: cover; transition: transform .3s; }
.svc-card:hover figure img { transform: scale(1.04); }
.svc-card .contents { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 25px; }
.svc-card h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.35; }
.svc-card h3 a { color: #3a3c41; text-decoration: none; }
.svc-card h3 a:hover { color: #67c9e0; }
.svc-card p { flex: 1; margin: 0 0 20px; }
.svc-card .read-more { align-self: flex-start; }

/* ---- services page ---- */
.svc-intro { background: #fff; padding: 40px 0 30px; text-align: center; }
.svc-intro h1 { margin: 0 0 15px; font-size: 32px; }
.svc-intro p { max-width: 760px; margin: 0 auto 10px; font-size: 16px; line-height: 1.7; }
.svc-jump { list-style: none; padding: 0; margin: 25px 0 0; text-align: center; }
.svc-jump li { display: inline-block; margin: 4px; }
.svc-jump a { display: inline-block; padding: 8px 16px; border: 1px solid #67c9e0; color: #3a3c41; font-size: 13px; text-decoration: none; }
.svc-jump a:hover, .svc-jump a:focus { background: #67c9e0; color: #fff; }
.svc-group { padding: 45px 0 20px; }
.svc-group h2 { margin: 0 0 8px; font-size: 26px; }
.svc-group .svc-group-intro { margin: 0 0 25px; color: #999ca5; font-size: 15px; }
.svc-grid { display: flex; flex-wrap: wrap; }
.svc-grid > div { display: flex; margin-bottom: 30px; }

/* ---- call-to-action band (both pages) ---- */
.svc-cta { background: #3a3c41; color: #fff; text-align: center; padding: 45px 0; }
.svc-cta h2 { color: #fff; margin: 0 0 10px; }
.svc-cta p { color: #dcdee4; margin: 0 0 20px; font-size: 16px; }
.svc-cta a.svc-phone { color: #fff; font-size: 26px; font-weight: 700; text-decoration: none; display: inline-block; margin-bottom: 15px; }
.svc-cta a.svc-phone:hover { color: #67c9e0; }

/* ---- homepage: intro ---- */
.home-intro h1 { margin: 0 0 18px; font-size: 32px; line-height: 1.25; }
.home-intro .lead-text { font-size: 17px; line-height: 1.75; margin: 0 0 18px; }
.home-intro .booking-note { background: #f0f5f7; border-left: 4px solid #67c9e0; padding: 16px 20px; margin: 22px 0; }
.home-intro .booking-note p { margin: 0 0 6px; }
.home-intro .booking-note p:last-child { margin: 0; }
.home-intro .home-buttons .read-more { margin: 0 8px 8px 0; display: inline-block; }
.home-intro .read-more.big { font-size: 14px; padding: 13px 24px; }
.hours-card { background: #f0f5f7; padding: 25px 25px 15px; }
.hours-card h2 { font-size: 20px; margin: 0 0 15px; }
.hours-card ul { list-style: none; padding: 0; margin: 0 0 15px; }
.hours-card li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #dcdee4; font-size: 14px; }
.hours-card li:last-child { border-bottom: 0; }
.hours-card li span:last-child { font-weight: 600; color: #3a3c41; }
.hours-card .hours-contact { border-top: 2px solid #67c9e0; padding-top: 15px; font-size: 14px; }
.hours-card .hours-contact p { margin: 0 0 8px; }
.hours-card .hours-contact a { color: #3a3c41; font-weight: 600; }

/* ---- homepage: accreditation strip ---- */
.trust-strip { padding: 35px 0; background: #fff; border-top: 1px solid #dcdee4; }
.trust-strip .trust-row { margin-bottom: 20px; text-align: center; }
.trust-strip .trust-row:last-child { margin-bottom: 0; }
.trust-strip p { font-size: 14px; color: #999ca5; margin: 0 0 12px; }
.trust-strip img { max-width: 100%; height: auto; max-height: 80px; }

/* ---- homepage: icon service tiles ---- */
.icon-tile { display: flex; align-items: flex-start; width: 100%; background: #fff; padding: 22px; text-decoration: none; transition: box-shadow .2s; }
.icon-tile:hover, .icon-tile:focus { box-shadow: 0 4px 18px rgba(58, 60, 65, .12); text-decoration: none; }
.icon-tile img { flex: 0 0 56px; width: 56px; height: 56px; margin-right: 16px; }
.icon-tile h3 { margin: 4px 0 6px; font-size: 17px; color: #3a3c41; }
.icon-tile:hover h3 { color: #67c9e0; }
.icon-tile p { margin: 0; font-size: 14px; line-height: 1.6; color: #999ca5; }

/* ---- homepage: team ---- */
.team-card { width: 100%; background: #fff; text-align: center; }
.team-card figure { margin: 0; overflow: hidden; }
.team-card figure img { display: block; width: 100%; height: 230px; object-fit: cover; object-position: center 25%; transition: transform .3s; }
.team-card:hover figure img { transform: scale(1.04); }
.team-card .contents { padding: 18px 15px 22px; }
.team-card h3 { margin: 0 0 4px; font-size: 18px; }
.team-card h3 a { color: #3a3c41; text-decoration: none; }
.team-card h3 a:hover { color: #67c9e0; }
.team-card .role { margin: 0 0 4px; color: #67c9e0; font-weight: 600; font-size: 14px; }
.team-card .quals { margin: 0; color: #999ca5; font-size: 13px; }

/* ---- homepage: prices ---- */
.price-card { width: 100%; background: #fff; padding: 25px 25px 10px; }
.price-card h3 { margin: 0 0 15px; font-size: 20px; padding-bottom: 12px; border-bottom: 2px solid #67c9e0; }
.price-card table { width: 100%; margin-bottom: 15px; }
.price-card table, .price-card tbody, .price-card tr, .price-card td { border: 0; background: none; }
.price-card table td { padding: 11px 0; border-bottom: 1px solid #dcdee4; vertical-align: top; font-size: 14px; }
.price-card table tr:last-child td { border-bottom: 0; }
.price-card table td.price { text-align: right; font-weight: 700; color: #3a3c41; white-space: nowrap; padding-left: 15px; }
.price-card .item { color: #3a3c41; font-weight: 600; display: block; }
.price-card .note { color: #999ca5; font-size: 13px; }
.price-note { background: #fff; border-left: 4px solid #f15b5a; padding: 16px 20px; margin: 0 0 10px; }
.price-note p { margin: 0 0 4px; }
.price-note p:last-child { margin: 0; }

/* ---- homepage: first visit + reviews ---- */
.first-visit .toggle-main { max-width: 900px; margin: 0 auto; }
.review-card { width: 100%; background: #fff; padding: 30px; text-align: center; }
.review-card blockquote { border: 0; margin: 0 0 15px; padding: 0; font-size: 18px; line-height: 1.6; font-style: italic; color: #3a3c41; }
.review-card blockquote:before { content: "\201C"; display: block; font-size: 48px; line-height: 1; color: #67c9e0; font-style: normal; }
.review-card cite { color: #999ca5; font-style: normal; font-size: 14px; }

/* ---- homepage: stretches promo + location ---- */
.stretch-band { background: #67c9e0; color: #fff; padding: 40px 0; }
.stretch-band h2 { color: #fff; margin: 0 0 8px; }
.stretch-band p { color: #fff; margin: 0; font-size: 16px; }
.stretch-band .read-more { background: #3a3c41; display: inline-block; margin-top: 10px; }
.stretch-band .read-more:hover { background: #f15b5a; }
.location-card { background: #fff; padding: 25px; height: 100%; }
.location-card h3 { margin: 0 0 12px; font-size: 20px; }
.location-card address { font-style: normal; line-height: 1.8; margin: 0 0 15px; }
.location-card p { margin: 0 0 8px; }
.map-frame { width: 100%; height: 360px; border: 0; display: block; }

/* ---- clinic info page ---- */
.info-card { background: #fff; padding: 30px 30px 10px; margin-bottom: 30px; }
.info-card h2 { margin: 0 0 20px; font-size: 24px; padding-bottom: 12px; border-bottom: 2px solid #67c9e0; }
.info-item { padding: 0 0 18px; margin: 0 0 18px; border-bottom: 1px solid #dcdee4; }
.info-item:last-child { border-bottom: 0; margin-bottom: 0; }
.info-item h3 { margin: 0 0 8px; font-size: 18px; }
.info-item p { margin: 0 0 8px; line-height: 1.75; }
.info-quote { background: #fff; border-left: 4px solid #67c9e0; margin: 0 0 30px; padding: 25px 30px; }
.info-quote p { font-size: 18px; line-height: 1.6; font-style: italic; color: #3a3c41; margin: 0 0 12px; }
.info-quote cite { color: #999ca5; font-style: normal; font-size: 14px; }
.video-frame { position: relative; max-width: 860px; margin: 0 auto 25px; padding-bottom: 48.4%; height: 0; overflow: hidden; }
.video-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 992px) { .video-frame { padding-bottom: 0; height: 484px; } }

/* ---- contact page ---- */
.contact-card .contact-big { margin: 0 0 12px; }
.contact-card .contact-big a { font-size: 34px; font-weight: 700; color: #3a3c41; text-decoration: none; }
.contact-card .contact-big a:hover { color: #67c9e0; }
.contact-card p { line-height: 1.75; }
.contact-mini { width: 100%; padding: 25px; }
.contact-mini h3 { margin: 0 0 10px; font-size: 18px; }
.contact-mini address { font-style: normal; line-height: 1.8; margin: 0 0 10px; }
.contact-mini .contact-note { color: #999ca5; font-size: 14px; }
.contact-mini a { word-break: break-word; }
.contact-social { list-style: none; padding: 0; margin: 0; }
.contact-social li { display: inline-block; margin: 0 8px 8px 0; }
.contact-social a { display: inline-block; padding: 8px 14px; border: 1px solid #67c9e0; color: #3a3c41; text-decoration: none; font-size: 14px; }
.contact-social a:hover { background: #67c9e0; color: #fff; }
.contact-social .fa { margin-right: 5px; }
.tidy-grid .info-card { margin-bottom: 0; }
.contact-card .read-more { margin-top: 8px; display: inline-block; }
@media (max-width: 767px) { .tidy-grid > div { width: 100%; } }

@media (min-width: 768px) {
  .stretch-band .stretch-btn { text-align: right; }
}
@media (max-width: 991px) {
  .hours-card { margin-top: 30px; }
  .location-card { margin-top: 20px; }
}
@media (max-width: 767px) {
  .svc-intro h1, .home-intro h1 { font-size: 26px; }
  .svc-card figure img { height: 180px; }
  .tidy-section { padding: 40px 0; }
  .tidy-head h2 { font-size: 24px; }
  .map-frame { height: 280px; }
}
