/**
 * Helen Blanchard Medical Aesthetics — brand layer over the Dermix template.
 *
 * Tokens (per design review):
 *   teal      #0e7c81   primary action / brand
 *   teal-dark #243032   display + body text
 *   bg        #f1f4f3   page background
 *   card      #ffffff
 *   border    #dfe9e8
 *   muted     #667576   secondary text (min 14px)
 *
 * Type: Fraunces (display) / Onest (body). Body 16px, line-height 1.7.
 */

:root {
  --accent-color: #0e7c81;
  --primary-color: #243032;
  --bg-color: #f1f4f3;
  --text-color: #243032;
  --muted-color: #667576;
  --divider-color: #dfe9e8;
  --card-color: #ffffff;
  --display-font: 'Fraunces', Georgia, serif;
}

/* ---------- Global readability ---------- */

body {
  font-size: 16px;
  line-height: 1.7;
}

p {
  line-height: 1.7;
}

h1 {
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.05;
}

h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
}

h1,
h2,
h3,
.section-title h1,
.section-title h2,
.page-header-box h1,
.sidebar-cta-content h2,
.page-category-list-title,
.service-item-content h2,
.footer-links h2,
.about-footer h2 {
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.page-header-box h1 {
  font-weight: 600;
}

.section-sub-title {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---------- Buttons: no circular icon (read as a close X) ---------- */

.btn-default {
  border-radius: 999px;
  padding: 14px 28px;
  line-height: 1.2;
}

.btn-default::before {
  display: none;
}

/* ---------- Topbar ---------- */

.topbar {
  min-height: 34px;
  display: flex;
  align-items: center;
}

.topbar .container {
  padding-left: 32px;
  padding-right: 32px;
}

.topbar-contact-info p,
.topbar-contact-info-list ul li a {
  font-size: 13px;
}

.topbar-contact-info p a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topbar-contact-info-list ul {
  gap: 22px;
}

.topbar-social-links ul {
  gap: 14px;
}

/* ---------- Header / navigation ---------- */

/*
 * The template floats .header-box over the hero (position: absolute) and
 * compensates with ~300px of hero padding. We keep the header in normal
 * flow with its own dark background instead, so heroes can be slim.
 */
.header-box {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
}

header.main-header .header-sticky {
  background: #09a8a9;
}

.main-header .navbar {
  min-height: 72px;
}

.navbar-nav .nav-link {
  font-size: 14px;
}

.header-btn .btn-default {
  height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #077c7d;
}

.header-btn .btn-default:hover {
  color: var(--primary-color);
}

.navbar-brand img,
.footer-logo img {
  height: 44px;
  width: auto;
  /* Teal wordmark reads poorly on the dark header/footer — render it white */
  filter: brightness(0) invert(1);
}

.footer-logo img {
  height: 50px;
}

/* ---------- Hero / page header ---------- */

.hero.dark-section.parallaxie {
  min-height: 72vh;
  padding: 110px 0 100px;
  background-image: linear-gradient(
      90deg,
      rgba(20, 35, 37, 0.82) 0%,
      rgba(20, 35, 37, 0.6) 45%,
      rgba(20, 35, 37, 0.32) 100%
    ),
    url('/FreshFacesBanner.jpg');
  background-size: cover;
  background-position: center;
}

.page-header.parallaxie {
  min-height: 200px;
  padding: 56px 0 48px;
  display: flex;
  align-items: flex-end;
  background-image: linear-gradient(
      90deg,
      rgba(20, 35, 37, 0.78) 0%,
      rgba(20, 35, 37, 0.55) 45%,
      rgba(20, 35, 37, 0.25) 100%
    ),
    url('/FreshFacesBanner.jpg');
  background-size: cover;
  background-position: center;
}

.page-header-box h1 {
  font-size: clamp(30px, 3.5vw, 42px);
}

/* Slim variant: breadcrumb only — the h1 lives in the page content */
.page-header.page-header-slim {
  min-height: 0;
  padding: 22px 0;
  align-items: center;
}

.page-header.page-header-slim.parallaxie {
  margin: 12px 90px;
  padding-left: 37px;
}

@media (max-width: 991px) {
  .page-header.page-header-slim.parallaxie {
    margin: 12px 16px;
    padding-left: 16px;
  }
}

.page-header .breadcrumb {
  font-size: 13px;
  margin: 0;
}

/* Embedded page title inside the content column */
.content-page-title {
  margin-bottom: 1.5rem;
}

.content-page-title .section-sub-title {
  display: block;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.content-page-title h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  color: var(--primary-color);
  margin: 0;
}

.content-page-title-center {
  text-align: center;
}

.index-page-intro {
  max-width: 680px;
  margin: 1rem auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
}

.book-appointment.bg-section.dark-section.parallaxie {
  background-image: linear-gradient(rgba(20, 35, 37, 0.92), rgba(20, 35, 37, 0.95)),
    url('/FreshFacesBanner.jpg');
  background-size: cover;
  background-position: center;
}

/* ---------- Chrome housekeeping ---------- */

body.app-ready .preloader {
  display: none !important;
}

@media (max-width: 991px) {
  .main-menu.show {
    display: block !important;
  }

  /* Dark slate panel below the teal navbar — white links stay legible */
  .header-sticky .navbar .main-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 10px 20px 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    z-index: 999;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .header-sticky .navbar .main-menu .navbar-nav {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .header-sticky .navbar .main-menu .nav-item {
    margin: 0;
    width: 100%;
  }

  /* Card-style rows: full width, soft panel, teal edge on the active page */
  .header-sticky .navbar .main-menu .nav-link {
    min-height: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 18px !important;
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
  }

  .header-sticky .navbar .main-menu .nav-link:hover,
  .header-sticky .navbar .main-menu .nav-link:focus {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white-color);
  }

  .header-sticky .navbar .main-menu .nav-link.active {
    background: rgba(9, 168, 169, 0.28);
    border-color: rgba(9, 168, 169, 0.6);
    box-shadow: inset 3px 0 0 #09a8a9;
  }

  /* Submenus rendered inline, indented, lighter rows */
  .header-sticky .navbar .main-menu .nav-item.submenu ul {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    box-shadow: none;
    padding: 8px 0 4px 20px;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    min-width: 0;
  }

  .header-sticky .navbar .main-menu .nav-item.submenu ul .nav-link {
    min-height: 44px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.05);
  }

  .header-sticky .navbar .main-menu .nav-item.submenu ul .nav-link:hover,
  .header-sticky .navbar .main-menu .nav-item.submenu ul .nav-link:focus {
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.12);
  }

  /* "Book consultation" as a full-width button at the bottom */
  .header-sticky .navbar .main-menu .highlighted-menu {
    border-bottom: none;
    margin-top: 12px;
  }

  .header-sticky .navbar .main-menu .highlighted-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    background: #ffffff;
    color: #077c7d;
    font-weight: 600;
    border-radius: 999px;
    padding: 0 22px;
  }
}

.navbar-toggle-btn {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.navbar-toggle-btn span {
  display: block;
  height: 2px;
  background: var(--white-color);
  margin: 6px auto;
  width: 26px;
}

@media (max-width: 991px) {
  .navbar-toggle-btn {
    display: block;
  }

  .header-btn {
    display: none;
  }
}

/* ---------- Media fitting ---------- */

.service-cta-box-image img,
.sidebar-cta-image img,
.about-us-image img,
.faq-image img {
  object-fit: cover;
  width: 100%;
}

.page-single-image {
  border-radius: 14px;
  overflow: hidden;
  margin: 2rem 0;
}

.page-single-image img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

/* ---------- Content page grid ---------- */

.content-sticky-sidebar {
  position: sticky;
  top: 100px;
}

@media (max-width: 991px) {
  .content-page-row {
    display: flex;
    flex-direction: column;
  }

  /* Content first on mobile; treatment list follows it */
  .content-page-sidebar-col {
    order: 2;
  }

  .content-page-main-col {
    order: 1;
  }

  .content-sticky-sidebar {
    position: static;
  }
}

/* ---------- Sidebar: treatments list ---------- */

.content-sidebar-collapse {
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-color);
}

.content-sidebar-collapse > summary {
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  padding: 18px 20px;
  position: relative;
}

.content-sidebar-collapse > summary::-webkit-details-marker {
  display: none;
}

.content-sidebar-collapse > summary::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.content-sidebar-collapse[open] > summary::after {
  transform: translateY(-30%) rotate(225deg);
}

@media (min-width: 992px) {
  /* Desktop: static list header, not a toggle */
  .content-sidebar-collapse > summary {
    pointer-events: none;
    cursor: default;
  }

  .content-sidebar-collapse > summary::after {
    display: none;
  }
}

.page-category-list ul li a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-size: 14px;
  border-left: 3px solid transparent;
}

.page-category-list ul li a.active {
  color: var(--accent-color);
  font-weight: 700;
  background: #f2faf9;
  border-left-color: var(--accent-color);
}

/* ---------- Sidebar consultation card ---------- */

.sidebar-cta-trust .sidebar-cta-content p {
  font-size: 15px;
  line-height: 1.65;
}

.sidebar-cta-note {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 0.75rem;
}

.sidebar-cta-btn-full {
  display: block;
  width: 100%;
  text-align: center;
}

/* ---------- Forms ---------- */

.form-success {
  padding: 1.25rem;
  background: rgba(14, 124, 129, 0.12);
  border-radius: 10px;
  margin-bottom: 1rem;
}

.form-error {
  color: var(--error-color);
  font-size: 14px;
}

.appointmnet-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.appointmnet-form .form-control {
  min-height: 46px;
}

.form-consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
}

.form-consent input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent-color);
}

/* Dark booking section: lighter, readable form panel */

.book-appointment .book-appointment-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 36px;
}

.book-appointment .appointmnet-form label {
  color: rgba(255, 255, 255, 0.92);
}

.book-appointment .form-control {
  height: 46px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.book-appointment textarea.form-control {
  height: auto;
}

.book-appointment .form-control::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.book-appointment .form-control:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.book-appointment select.form-control option {
  color: var(--primary-color);
  background: #fff;
}

.book-appointment .appointment-hour-list ul li,
.book-appointment .appointment-hour-list ul li a {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.book-appointment .form-consent label {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Accordion (FAQ) ---------- */

details.accordion-item {
  border: 1px solid var(--divider-color);
  border-radius: 10px;
  padding: 0 20px;
  background: var(--card-color);
}

details.accordion-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary-color);
  list-style: none;
  position: relative;
  padding: 17px 2rem 17px 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  line-height: 1.5;
}

details.accordion-item summary::-webkit-details-marker {
  display: none;
}

details.accordion-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display-font);
  font-size: 1.4rem;
  color: var(--accent-color);
}

details.accordion-item[open] summary::after {
  content: '−';
}

details.accordion-item .accordion-body {
  padding: 0 0 17px;
  color: var(--muted-color);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Fully clickable service cards ---------- */

a.service-item-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.service-item-link:hover {
  text-decoration: none;
  color: inherit;
}

a.service-item-link .service-item-content h2 {
  color: var(--primary-color);
  transition: color 0.4s ease-in-out;
}

/* Template fills the card with teal on hover — all text must flip to white. */
a.service-item-link:hover .service-item-content h2,
a.service-item-link:hover .service-item-content p,
a.service-item-link:hover .service-item-arrow {
  color: var(--white-color);
}

.service-item-arrow {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  transition: color 0.4s ease-in-out;
}

.service-item-arrow::after {
  content: ' →';
}

/* ---------- Rich content layout (treatment / concern pages) ---------- */

/* Signature: the "clinical note" lead — serif, set off by a teal rule. */
.content-lead {
  font-family: var(--display-font);
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--primary-color);
  font-weight: 400;
  border-left: 3px solid var(--accent-color);
  padding-left: 1.25rem;
  margin: 0 0 1.75rem;
}

.service-entry p {
  font-size: 16px;
  line-height: 1.7;
}

/* Trust strip */
.content-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.content-trust-strip li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
}

.content-trust-strip li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

/* At a glance */
.content-glance-box {
  background: #f7fbfa;
  border: 1px solid var(--divider-color);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 2rem;
}

.content-glance-box h2 {
  font-size: 1.3rem !important;
  margin-bottom: 1rem !important;
}

.content-glance-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 28px;
  margin: 0;
}

.content-glance-item dt {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-color);
  margin-bottom: 2px;
}

.content-glance-item dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.5;
}

/* Inline CTA after intro */
.content-inline-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: 2rem 0 0;
}

.content-inline-cta-alt {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-color);
}

/* Treatment options as cards */
.content-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.content-option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f7fbfa;
  border: 1px solid #dcebea;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.45;
}

.content-option-card::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--accent-color);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-position: center;
  background-size: 12px;
  background-repeat: no-repeat;
}

/* Checklist */
.content-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.8rem;
  font-size: 15px;
  line-height: 1.65;
}

.content-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
}

/* Benefit cards: full-width two-column grid */
.content-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

@media (max-width: 640px) {
  .content-benefit-grid {
    grid-template-columns: 1fr;
  }
}

.content-benefit-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card-color);
  border: 1px solid #e2eceb;
  border-radius: 14px;
  padding: 22px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-color);
  line-height: 1.6;
}

.content-benefit-card::before {
  content: '';
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background-color: rgba(14, 124, 129, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c81' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-position: center;
  background-size: 13px;
  background-repeat: no-repeat;
}

/* Journey / what to expect */
.content-journey-box {
  background: var(--card-color);
  border: 1px solid var(--divider-color);
  border-radius: 14px;
  padding: 36px;
  margin: 2.5rem 0;
}

.content-journey-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.content-journey-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.content-journey-steps .step-number {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.content-journey-steps .step-body h3 {
  font-size: 17px;
  font-family: var(--default-font);
  font-weight: 700;
  margin: 4px 0 4px;
  color: var(--primary-color);
}

.content-journey-steps .step-body p {
  margin: 0;
  font-size: 15px;
  color: var(--muted-color);
}

/* Before & after gallery */
.content-gallery-box {
  margin: 2.5rem 0;
}

.content-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 1.25rem;
}

@media (max-width: 767px) {
  .content-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.content-gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}

.content-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.content-gallery-disclaimer {
  font-size: 14px;
  color: var(--muted-color);
  margin-top: 1rem;
}

/* Related treatment cards */
.service-item-list-linked {
  margin-top: 1.5rem;
}

.service-item-list-linked .service-item {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card-color);
  border: 1px solid #e2eceb;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item-list-linked .service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(20, 35, 37, 0.08);
}

.service-item-list-linked .service-item .icon-box {
  margin-bottom: 0;
  flex-shrink: 0;
}

.service-item-list-linked .service-item .icon-box img {
  max-width: 30px;
}

.service-item-list-linked .service-item .service-item-content h2 {
  font-size: 18px;
  margin: 0 0 4px;
}

.service-item-list-linked .service-item .service-item-content p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: var(--muted-color);
}

.content-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Article rhythm */
.service-entry .service-types-box,
.service-entry .service-benefit-box,
.service-entry .content-journey-box,
.service-entry .content-gallery-box,
.service-entry .page-single-faqs {
  margin-top: 3.5rem;
}

.service-entry .service-types-box h2,
.service-entry .service-benefit-box h2,
.service-entry .content-journey-box h2,
.service-entry .content-gallery-box h2,
.service-entry .page-single-faqs h2 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
}

.service-entry .service-types-box > p,
.service-entry .content-journey-box > p {
  font-size: 15px;
  color: var(--muted-color);
}

/* ---------- Prose layout (about / clinic / legal) ---------- */

.content-prose h2 {
  margin: 2.25rem 0 1rem;
  font-size: 1.6rem;
}

.content-prose p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 1.15rem;
}

.content-prose-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--divider-color);
}

.content-prose-cta {
  margin-top: 2.5rem;
}

.notfound-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- About page ---------- */

.about-hero {
  padding: 40px 0 64px;
}

.about-hero-images {
  position: relative;
  padding-bottom: 56px;
}

.about-hero-img-main {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}

.about-hero-img-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.about-hero-img-accent {
  position: absolute;
  right: -6px;
  bottom: 0;
  width: 46%;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 6px solid var(--bg-color);
  box-shadow: 0 18px 40px rgba(20, 35, 37, 0.18);
}

.about-hero-img-accent img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* Stats strip */
.about-stats {
  background: var(--primary-color);
  padding: 44px 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 767px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.about-stat-value {
  font-family: var(--display-font);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: #7fd4d5;
  line-height: 1;
}

.about-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.about-section-heading {
  font-size: clamp(26px, 3vw, 34px);
}

/* Team */
.about-team {
  padding: 72px 0 8px;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2.5rem;
}

@media (max-width: 991px) {
  .about-team-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
}

.about-team-card {
  background: var(--card-color);
  border: 1px solid #e2eceb;
  border-radius: 16px;
  padding: 30px 28px;
}

.about-team-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.about-team-monogram {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(9, 168, 169, 0.12);
  color: var(--accent-color);
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 600;
}

.about-team-head h3 {
  font-size: 20px;
  margin: 0 0 2px;
}

.about-team-role {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-color);
  margin: 0;
}

.about-team-highlight {
  display: inline-block;
  background: rgba(9, 168, 169, 0.1);
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.about-team-bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-color);
  margin-bottom: 0.9rem;
}

.about-team-bio:last-child {
  margin-bottom: 0;
}

/* Values */
.about-values {
  padding: 64px 0 8px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 2.5rem;
}

@media (max-width: 767px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }
}

.about-value-card {
  background: #f7fbfa;
  border: 1px solid #dcebea;
  border-radius: 16px;
  padding: 28px 30px;
}

.about-value-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.about-value-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-color);
  margin: 0;
}

/* Clinic page */
.clinic-equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 2.5rem;
}

@media (max-width: 767px) {
  .clinic-equipment-grid {
    grid-template-columns: 1fr;
  }
}

.clinic-equipment-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.clinic-equipment-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted-color);
  margin: 0;
}

.clinic-address-card {
  background: #f7fbfa;
  border: 1px solid #dcebea;
  border-radius: 16px;
  padding: 32px;
}

.clinic-address-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.clinic-address-card address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.clinic-address-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.clinic-address-card a {
  color: var(--accent-color);
  font-weight: 600;
}

.clinic-address-note {
  font-size: 14px;
  color: var(--muted-color);
}

/* Accreditation banner */
.about-accred {
  padding: 64px 0 24px;
}

.about-accred-box {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--card-color);
  border: 1px solid #e2eceb;
  border-radius: 20px;
  padding: 44px 48px;
}

@media (max-width: 767px) {
  .about-accred-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

.about-accred-content p {
  font-size: 15px;
  line-height: 1.75;
}

.about-accred-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.about-accred-logos img {
  max-height: 56px;
  max-width: 140px;
  object-fit: contain;
}

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

footer.main-footer.bg-section.dark-section {
  margin-top: 30px;
}

.main-footer .footer-links ul li a,
.main-footer .about-footer p,
.main-footer .footer-copyright-text p,
.main-footer .footer-copyright-text a {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.main-footer .footer-links ul li a:hover {
  color: #fff;
}

.main-footer .footer-links h2,
.main-footer .about-footer h2 {
  font-size: 17px;
  margin-bottom: 18px;
}

.main-footer .footer-links ul li {
  margin-bottom: 10px;
}

/* ---------- Mobile sticky CTA ---------- */

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 767px) {
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--divider-color);
    z-index: 998;
  }

  .mobile-sticky-cta .btn-default {
    display: block;
    width: 100%;
    text-align: center;
    min-height: 44px;
  }

  body:has(.mobile-sticky-cta) {
    padding-bottom: 76px;
  }
}

/* ---------- Accessibility & quality floor ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
