/* Perfect Wellness - single stylesheet. Mobile first. */
:root {
  --ink: #2f3a37;
  --ink-soft: #5c6a66;
  --brand: #2f6f5e;
  --brand-dark: #24574a;
  --accent: #c8a24b;
  --bg: #ffffff;
  --bg-soft: #f5f7f6;
  --line: #e3e8e6;
  --radius: 10px;
  --measure: 42rem;
  --serif: "Roboto Slab", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

h1, h2, h3 { font-family: var(--serif); color: #24352f; }
h1 { font-size: 1.9rem; line-height: 1.25; font-weight: 700; }
h2 { font-size: 1.4rem; line-height: 1.3; margin: 0 0 .9rem; font-weight: 600; }
h3 { font-size: 1.1rem; margin: 1.2rem 0 .4rem; font-weight: 600; }
@media (min-width: 46rem) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.7rem; }
}

/* Layout */
.wrap { max-width: 70rem; margin: 0 auto; padding: 0 1.25rem; }
main { display: block; }
.prose { max-width: var(--measure); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .6rem 1.2rem; padding-top: .8rem; padding-bottom: .8rem;
}
.logo { display: block; }
.logo img { height: 46px; width: auto; }
.site-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem;
  padding: .2rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand-dark); border-bottom-color: var(--accent); }

/* Hero */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 2.8rem; padding-bottom: 2.8rem; }
.hero h1 { margin: 0 0 .7rem; }
.hero p.lead { margin: 0; font-size: 1.18rem; color: var(--ink-soft); max-width: var(--measure); }

/* Sections */
section { padding: 2.4rem 0; }
section + section { border-top: 1px solid var(--line); }
ul.checks { list-style: none; padding: 0; margin: .5rem 0 0; max-width: var(--measure); }
ul.checks li { padding: .32rem 0 .32rem 1.7rem; position: relative; }
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: .78rem;
  width: .95rem; height: .5rem; border-left: 3px solid var(--brand);
  border-bottom: 3px solid var(--brand); transform: rotate(-45deg);
}

/* Two-column media rows on wide screens */
.split { display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 46rem) { .split { grid-template-columns: 1fr 1fr; } }
.split img { border-radius: var(--radius); }

/* Profile page hero band: small photo + name/contact side by side */
.profile-hero { display: flex; gap: 1.4rem; align-items: center; }
.profile-hero img.avatar {
  width: 120px; height: 120px; object-fit: cover; object-position: center 18%;
  border-radius: var(--radius); flex-shrink: 0;
}
@media (min-width: 46rem) { .profile-hero img.avatar { width: 150px; height: 150px; } }
.profile-hero h1 { margin: 0 0 .15rem; font-size: 1.7rem; }
@media (min-width: 46rem) { .profile-hero h1 { font-size: 2.1rem; } }
.profile-hero p.role { margin: 0 0 .45rem; color: var(--ink-soft); }
.contact-line { list-style: none; margin: 0 0 .7rem; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; font-size: .97rem; }
.profile-hero .btn { padding: .5rem 1.15rem; font-size: .93rem; }

/* Cards (rooms, practitioners) - whole card is clickable via stretched link */
.grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
@media (min-width: 34rem) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 54rem) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--bg); display: flex; flex-direction: column;
  transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: 0 6px 20px rgba(36, 53, 47, .13); transform: translateY(-2px); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card img.sq { aspect-ratio: 1 / 1; object-position: center 22%; }
.card .card-body { padding: 1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.1rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .95rem; flex: 1; }
.card a.more { font-weight: 600; text-decoration: none; margin-top: .55rem; }
.card a.more::after { content: ""; position: absolute; inset: 0; }

/* Gallery */
.gallery { display: grid; gap: .8rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 46rem) { .gallery { grid-template-columns: 1fr 1fr 1fr; } }
.gallery a { display: block; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); width: 100%; }

/* CSS-only lightbox via :target */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(18, 25, 22, .94); align-items: center; justify-content: center;
}
.lightbox:target { display: flex; }
.lightbox img {
  position: relative; z-index: 1; max-width: 92vw; max-height: 86vh;
  width: auto; height: auto; border-radius: 6px;
}
.lightbox .lb-bg { position: absolute; inset: 0; z-index: 0; }
.lb-prev, .lb-next, .lb-close {
  position: absolute; z-index: 2; color: #fff; text-decoration: none;
  font-size: 3rem; line-height: 1; padding: .8rem 1rem; font-family: var(--serif);
}
.lb-prev:hover, .lb-next:hover, .lb-close:hover { color: var(--accent); }
.lb-prev { left: .3rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .3rem; top: 50%; transform: translateY(-50%); }
.lb-close { top: .4rem; right: .8rem; font-size: 2.2rem; }

/* Pricing */
.price-cards { display: grid; gap: 1.2rem; grid-template-columns: 1fr; max-width: var(--measure); }
@media (min-width: 40rem) { .price-cards.two { grid-template-columns: 1fr 1fr; } }
.price {
  border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.price h3 { margin: 0 0 .2rem; }
.price .amount { font-size: 1.75rem; font-weight: 700; color: var(--brand-dark); font-family: var(--serif); }
.price .amount small { font-size: .95rem; font-weight: 400; color: var(--ink-soft); font-family: Roboto, sans-serif; }
.price ul { margin: .6rem 0 0; padding-left: 1.2rem; color: var(--ink-soft); font-size: .95rem; }

/* Buttons */
.btn {
  display: inline-block; background: var(--brand); color: #fff; text-decoration: none;
  padding: .68rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .97rem;
}
.btn:hover { background: var(--brand-dark); color: #fff; }

/* Enquiry form (native, styled; posts to Jotform) */
.enquiry-form { max-width: var(--measure); display: grid; gap: .9rem; }
.enquiry-form label { font-weight: 500; font-size: .95rem; display: block; margin-bottom: .25rem; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  width: 100%; padding: .65rem .8rem; font: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg);
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus {
  outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand);
}
.enquiry-form textarea { min-height: 8rem; resize: vertical; }
.enquiry-form button {
  justify-self: start; background: var(--brand); color: #fff; border: none; cursor: pointer;
  padding: .7rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 1rem; font-family: inherit;
}
.enquiry-form button:hover { background: var(--brand-dark); }
@media (min-width: 40rem) {
  .enquiry-form .row2 { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
}

/* Form embed fallback */
.form-embed iframe { width: 100%; border: none; min-height: 560px; border-radius: var(--radius); }

/* Contact cards */
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.contact-card h3 { margin: 0; }
.contact-card p.role { margin: 0 0 .5rem; color: var(--ink-soft); font-size: .93rem; }
.contact-card ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.contact-card li { padding: .12rem 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 2.5rem; }
.site-footer .wrap { padding-top: 2.2rem; padding-bottom: 2.2rem; display: grid; gap: 1.5rem; }
@media (min-width: 46rem) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.02rem; margin: 0 0 .5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .15rem 0; }
.site-footer a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: var(--brand-dark); text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--ink-soft); font-size: .95rem; }
.site-footer .fineprint { grid-column: 1 / -1; color: var(--ink-soft); font-size: .85rem; border-top: 1px solid var(--line); padding-top: 1rem; }

/* Inner page heading band */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 2.2rem; padding-bottom: 2.2rem; }
.page-head h1 { margin: 0; }
.page-head p { margin: .45rem 0 0; color: var(--ink-soft); max-width: var(--measure); }

/* Utility */
.muted { color: var(--ink-soft); }
table { border-collapse: collapse; }
.scroll-x { overflow-x: auto; }
