/* ==========================================================
   Emmeline's PMU — stylesheet
   Colours are taken from the logo (plum + teal).
   ========================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(../fonts/cormorant.woff2) format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-italic.woff2) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/inter.woff2) format("woff2");
}

:root {
  --plum: #6b3466;
  --plum-dark: #4e2449;
  --plum-soft: #f3e9f1;
  --teal: #2a7b82;
  --teal-soft: #e3f1f1;
  --ink: #2b2329;
  --muted: #6f6470;
  --line: #e8e0e5;
  --bg: #fbf8f6;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --wrap: 1120px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
a:hover { color: var(--plum-dark); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .9rem;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--plum); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 500; font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--plum);
  transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-dark); border-color: var(--plum-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 246, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--ink);
}
.brand img { width: 46px; height: auto; }
.brand span { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.main-nav a {
  text-decoration: none; color: var(--ink); font-size: .97rem; font-weight: 500;
}
.main-nav a:hover { color: var(--plum); }
.main-nav .btn { padding: .55rem 1.15rem; font-size: .95rem; color: #fff; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

.main-nav a[aria-current="page"] { color: var(--plum); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.6rem;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li a:not(.btn) { display: block; padding: .85rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .main-nav li:last-child { margin-top: 1.2rem; }
  .main-nav .btn { width: 100%; justify-content: center; padding: .85rem; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
}
.hero h1 em, .page-hero h1 em { font-style: italic; font-weight: 500; color: var(--plum); display: block; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.hero .tagline {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: var(--teal); margin: .2rem 0 1rem; line-height: 1.3;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  list-style: none; padding: 0; margin: 2.2rem 0 0;
  font-size: .95rem; color: var(--muted);
}
.hero-facts li { display: flex; align-items: center; gap: .5rem; }
.hero-facts li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
}
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual::before {
  content: ""; position: absolute;
  width: 112%; aspect-ratio: 1; border-radius: 50%;
  background: var(--plum-soft);
}
.hero-visual::after {
  content: ""; position: absolute; right: 2%; bottom: 4%;
  width: 26%; aspect-ratio: 1; border-radius: 50%;
  background: var(--teal-soft);
}
.hero-visual img { position: relative; z-index: 1; width: min(100%, 380px); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-visual { order: -1; max-width: 190px; margin-inline: auto; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 2.8rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3.5rem; align-items: start; }
.about-text p:first-of-type { font-size: 1.15rem; }
.highlights { display: grid; gap: 1rem; }
.highlight {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.highlight strong {
  display: block; font-family: var(--serif); font-size: 2.1rem; line-height: 1.1;
  color: var(--plum); font-weight: 600;
}
.highlight span { color: var(--muted); font-size: .97rem; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Treatment overview cards */
.cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.1rem;
}
.card {
  display: flex; flex-direction: column; gap: .35rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; text-decoration: none; color: var(--ink);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--plum); transform: translateY(-3px); color: var(--ink); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--plum-soft); color: var(--plum); margin-bottom: .6rem;
}
.card:nth-child(even) .card-icon { background: var(--teal-soft); color: var(--teal); }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.45rem; margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.card .more { margin-top: auto; padding-top: .8rem; color: var(--plum); font-weight: 500; font-size: .93rem; }

/* Treatment detail blocks */
.treatment {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  padding: 3rem 0; border-top: 1px solid var(--line);
}
.treatment:first-of-type { border-top: 0; padding-top: 0; }
.treatment-info h2, .treatment-info h3 { font-size: clamp(1.8rem, 3vw, 2.2rem); }
.treatment-info h2 .sub {
  display: block; font-style: italic; font-weight: 500; color: var(--plum);
  font-size: .72em; margin-top: .2rem;
}
.treatment-info .intro { font-weight: 500; color: var(--teal); }
.treatment-info .tag {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .4rem;
}
ul.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: .3rem; }
ul.checks li { padding-left: 1.6rem; position: relative; }
ul.checks li::before {
  content: ""; position: absolute; left: .2rem; top: .62em;
  width: .55rem; height: .3rem; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.cols-2 { columns: 2; column-gap: 1.5rem; }
@media (max-width: 480px) { .cols-2 { columns: 1; } }

details.more-info { margin-top: .4rem; }
details.more-info summary {
  cursor: pointer; color: var(--plum); font-weight: 500; list-style: none;
  display: inline-flex; align-items: center; gap: .4rem;
}
details.more-info summary::-webkit-details-marker { display: none; }
details.more-info summary::after { content: "+"; font-size: 1.2em; line-height: 1; }
details.more-info[open] summary::after { content: "–"; }
details.more-info[open] summary { margin-bottom: .8rem; }

.note {
  background: var(--teal-soft); border-radius: 10px; padding: .9rem 1.1rem;
  font-size: .95rem; margin-top: 1rem;
}

/* Price lists */
.prices {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; align-self: start;
}
.section-alt .prices { background: var(--bg); }
.prices h4 {
  font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--plum); margin: 1.4rem 0 .5rem;
}
.prices h4:first-child { margin-top: 0; }
.plist { list-style: none; margin: 0; padding: 0; }
.plist li {
  display: flex; align-items: baseline; gap: .6rem;
  padding: .4rem 0; line-height: 1.45;
}
.plist span { flex: 0 1 auto; }
.plist small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; margin-top: .1rem; }
.plist i { flex: 1 1 1rem; min-width: 1rem; border-bottom: 1px dotted #c9bcc5; }
.plist b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prices .foot { font-size: .88rem; color: var(--muted); margin: 1rem 0 0; }

@media (max-width: 880px) {
  .treatment { grid-template-columns: 1fr; gap: 1.6rem; padding: 2.4rem 0; }
}
@media (max-width: 480px) {
  .prices { padding: 1.2rem 1.1rem; }
  .plist li { font-size: .97rem; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; background: var(--plum-soft); color: var(--plum);
}
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; letter-spacing: .04em; }
.contact-list a { text-decoration: none; font-weight: 500; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }

.cta-box {
  background: var(--plum); color: #fff; border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}
.cta-box h3 { color: #fff; font-size: 2rem; }
.cta-box p { color: #eadbe7; }
.cta-box .btn { background: #fff; color: var(--plum); border-color: #fff; margin: .3rem .4rem .3rem 0; }
.cta-box .btn:hover { background: var(--plum-soft); border-color: var(--plum-soft); color: var(--plum-dark); }
.cta-box .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.cta-box .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.hours { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.2); font-size: .97rem; }
.hours strong { color: #fff; }

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 480px) { .cta-box .btn { width: 100%; justify-content: center; margin-right: 0; } }

/* ---------- Subpages ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero .wrap > * { max-width: 46rem; }
.page-hero .lead {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  color: var(--teal); line-height: 1.35;
}
.page-hero p { color: var(--muted); font-size: 1.08rem; }

.pull {
  font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1.3;
  color: var(--plum); border-left: 3px solid var(--teal); padding-left: 1.1rem; margin: 1.6rem 0;
}

/* Closing statement ("Mijn uitgangspunt") */
.statement { max-width: 46rem; margin-inline: auto; text-align: center; }
.statement p { font-size: 1.1rem; }
.statement .big {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3;
  color: var(--plum); font-style: italic;
}

/* Two-column text block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 1.6rem; } }

/* Price list page */
.price-group + .price-group { margin-top: 3.5rem; }
.price-group > h2 { margin-bottom: 1.2rem; }
.price-group > .sub { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--teal); margin-top: -.8rem; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; }
.price-grid .prices h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.price-grid .prices h3 small {
  display: block; font-family: var(--sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-top: .25rem;
}
.price-note { color: var(--muted); font-size: .95rem; margin-top: 1rem; max-width: 46rem; }

/* Call-to-action band at the bottom of subpages */
.cta-band { padding: 0 0 clamp(3.5rem, 8vw, 6rem); }
.cta-band.spaced { padding-top: clamp(3.5rem, 8vw, 6rem); }
.cta-band .cta-box { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.cta-band .cta-box p { margin: 0; }
.cta-band .cta-box h2 { color: #fff; font-size: 2rem; margin-bottom: .3rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cbbfc8; padding: 2.5rem 0; font-size: .93rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.socials { display: flex; gap: .8rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08);
}
.socials a:hover { background: var(--plum); text-decoration: none; }
.socials svg { width: 19px; height: 19px; }

/* Floating call button (mobile only) */
.float-call {
  display: none;
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--teal); color: #fff; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.float-call svg { width: 26px; height: 26px; }
@media (max-width: 880px) {
  .float-call { display: grid; }
  .site-footer { padding-bottom: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
