/* ==========================================================================
   Pedicure Barbara — gespecialiseerde voetverzorging
   Palette and scale transcribed from the Claude Design canvas.
   ========================================================================== */

:root {
  --bg:            #FAF7F3;
  --bg-sand:       #F3EDE5;
  --bg-dark:       #24211E;

  --ink:           #24211E;
  --ink-soft:      #4A443E;
  --muted:         #6B635B;
  --faint:         #8C8177;

  --line:          #E8E0D6;
  --line-strong:   #D8CEC2;
  --line-dark:     #3A3630;

  --accent:        #C1876B;
  --accent-dark:   #A96D51;
  --accent-light:  #D9A487;

  --on-dark:       #F5F0E9;
  --on-dark-soft:  #E7E1D8;
  --on-dark-muted: #C9C1B7;
  --on-dark-faint: #A79C90;

  --shell:  1180px;
  --gutter: 40px;

  --font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --radius:     4px;
  --radius-pill: 999px;
}

/* --------------------------------------------------------------- reset -- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
a:hover { color: var(--accent-dark); }

h1, h2, h3, p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { overflow-wrap: break-word; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
  color: var(--bg);
}

/* -------------------------------------------------------------- layout -- */

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: 104px; padding-bottom: 104px; }

/* Offset anchor targets so the sticky header never covers a heading. */
[id] { scroll-margin-top: 96px; }

.eyebrow {
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 600;
}

.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------------------------------------------------- media -- */

/* Placeholder frames. Drop an <img> inside to replace: the caption chip is
   hidden automatically once a real image is present. */
.photo {
  position: relative;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #EFE7DC 0 12px, #E7DDD0 12px 24px);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  overflow: hidden;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo:has(img) .photo__note { display: none; }

.photo__note {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--faint);
  background: var(--bg);
  padding: 8px 12px;
  border-radius: 3px;
}

.photo--dark {
  background: repeating-linear-gradient(135deg, #302C27 0 12px, #38332D 12px 24px);
}
.photo--dark .photo__note {
  color: var(--on-dark-faint);
  background: var(--bg-dark);
}

.photo--wide     { height: 460px; }
.photo--portrait { height: 520px; }
.photo--tall     { height: 560px; }

/* -------------------------------------------------------------- buttons -- */

.btn {
  display: inline-block;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover,
.btn--primary:focus-visible { background: var(--accent-dark); color: #fff; }

.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover,
.btn--ghost:focus-visible { border-color: var(--ink); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 243, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand:hover { color: var(--ink); }
.brand__name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.brand__tag {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
}
.site-nav a { color: var(--ink-soft); }
.site-nav a:hover { color: var(--ink); }

.site-nav .nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}
.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible { background: var(--accent); color: var(--bg); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 9px 16px;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--ink); }
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  content: '';
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -5px; }
.nav-toggle__bars::after  { position: absolute; top: 5px; }

/* ----------------------------------------------------------------- hero -- */

.hero { padding-top: 96px; padding-bottom: 88px; }

.hero__title {
  font-size: clamp(38px, 6.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 600;
  max-width: 15ch;
}

.hero__body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: end;
  margin-top: 48px;
}
.hero__intro {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-figure { padding-bottom: 96px; }

/* ----------------------------------------------------------------- pill -- */

.pillars {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pillar { padding: 40px; }
.pillar:not(:last-child) { border-right: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; }
.pillar:last-child  { padding-right: 0; }

.pillar__value {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -.02em;
}
.pillar__note {
  margin-top: 8px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
}

/* ----------------------------------------------------------- treatments -- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
}
.split__intro .section-title { max-width: 18ch; }
.split__intro .lede { margin-top: 24px; max-width: 34ch; }

.treatments { display: flex; flex-direction: column; }

.treatment {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.treatment__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  padding-top: 5px;
}
.treatment__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.treatment__body {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}

/* ------------------------------------------------------------- diabetes -- */

.diabetes {
  background: var(--bg-dark);
  color: var(--on-dark);
}
.diabetes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.diabetes .eyebrow { color: var(--accent-light); }
.diabetes .section-title { max-width: 20ch; }
.diabetes__intro {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--on-dark-muted);
  max-width: 44ch;
}

.checklist {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checklist li {
  font-size: 16px;
  color: var(--on-dark-soft);
  border-top: 1px solid var(--line-dark);
  padding-top: 14px;
}

/* ----------------------------------------------------------------- over -- */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 72px;
  align-items: start;
}
.about .section-title { max-width: 20ch; }
.about__text {
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 48ch;
}
.about__text + .about__text { margin-top: 20px; }
.about__body .section-title + .about__text { margin-top: 28px; }

/* -------------------------------------------------------- terugbetaling -- */

.refunds {
  border-top: 1px solid var(--line);
  background: var(--bg-sand);
}
.refunds .section-title { max-width: 24ch; margin-bottom: 48px; }

.refund-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.refund-card {
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius);
}
.refund-card h3 { font-size: 20px; font-weight: 600; }
.refund-card p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.footnote {
  margin-top: 32px;
  font-size: 14px;
  color: var(--faint);
}

/* -------------------------------------------------------------- contact -- */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.contact .section-title { max-width: 16ch; }
.contact__intro {
  margin: 24px 0 32px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 40ch;
}

.phone {
  display: inline-block;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.phone:hover, .phone:focus-visible { color: var(--accent); }

.contact__actions { margin-top: 32px; }

.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.location__name {
  margin-bottom: 16px;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}
.location__address {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  font-style: normal;
}

.hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
}
.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.hours dt, .hours dd { margin: 0; white-space: nowrap; }

/* --------------------------------------------------------------- footer -- */

.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
  font-size: 14px;
  color: var(--faint);
}

/* ---------------------------------------------------------- responsive -- */

@media (max-width: 1000px) {
  .hero__body,
  .split,
  .diabetes__grid,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__body { align-items: start; }
  .about__grid { gap: 44px; }
  .about__grid .photo { order: 2; }
  .about__body { order: 1; }
  .refund-grid { grid-template-columns: 1fr 1fr; }
  .photo--tall, .photo--portrait { height: 420px; }
}

@media (max-width: 900px) {
  :root { --gutter: 28px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
  }
  .site-header[data-nav-open='true'] .site-nav { display: flex; }
  .site-nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: 17px;
  }
  .site-nav .nav-cta {
    margin-top: 16px;
    border-top: 0;
    text-align: center;
    padding: 14px 20px;
  }

  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding-top: 64px; padding-bottom: 56px; }
  .hero-figure { padding-bottom: 64px; }

  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { padding: 28px 0; border-right: 0; }
  .pillar:not(:last-child) { border-bottom: 1px solid var(--line); }

  .photo--wide { height: 300px; }
  .photo--tall, .photo--portrait { height: 360px; }
}

@media (max-width: 640px) {
  .refund-grid,
  .locations { grid-template-columns: 1fr; }

  .brand__tag { display: none; }

  .treatment { grid-template-columns: 32px 1fr; gap: 16px; }

  .btn, .btn--primary, .btn--ghost { width: 100%; text-align: center; }
  .btn-row { flex-direction: column; }

  .site-footer__inner { flex-direction: column; gap: 8px; }
}

/* ------------------------------------------------------------- printing -- */

@media print {
  .site-header, .nav-toggle, .btn-row, .photo { display: none; }
  body { background: #fff; }
  .section { padding: 24px 0; }
}

/* ==========================================================================
   Subpages — annulatievoorwaarden
   ========================================================================== */

.page-hero {
  padding-top: 88px;
  padding-bottom: 56px;
}
.page-hero__title {
  font-size: clamp(30px, 5vw, 58px);
  hyphens: auto;
  line-height: 1.06;
  letter-spacing: -.03em;
  font-weight: 600;
  max-width: 16ch;
}
.page-hero__intro {
  margin-top: 28px;
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
}
.page-hero__meta {
  margin-top: 24px;
  font-size: 14px;
  color: var(--faint);
}

/* The three-row summary of what a cancellation costs. */
.terms {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.term {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.term:last-child { border-bottom: 1px solid var(--line); }

.term__when {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.term__what { margin: 0; }

.term__cost {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
}
.term__cost--free {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink-soft);
}
.term__cost--full {
  background: var(--ink);
  color: var(--bg);
}

.term__note {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 48ch;
}

/* Running policy text. */
.prose { max-width: 62ch; }
.prose h3 {
  margin-top: 40px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.prose > h3:first-child { margin-top: 0; }
.prose p {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.callout {
  background: var(--bg-sand);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.callout__title {
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 600;
  max-width: 20ch;
}
.callout__note {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 44ch;
}

/* Policy links in the contact section and footer. */
.contact__policy {
  margin-top: 20px;
  font-size: 15px;
  color: var(--muted);
}
.contact__policy a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}
.contact__policy a:hover { color: var(--accent); text-decoration-color: currentColor; }

.site-footer__links a { color: var(--faint); }
.site-footer__links a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .page-hero { padding-top: 56px; padding-bottom: 40px; }

  .term { grid-template-columns: 1fr; gap: 14px; }
  .term__what { margin-top: 0; }

  .callout { grid-template-columns: 1fr; padding: 32px; }
}

/* ==========================================================================
   Carousel — auto-advancing, order-preserving photo sequence
   ========================================================================== */

.carousel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.carousel__frame {
  position: relative;
  height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  /* Doubles as the backdrop while the photos are still loading. */
  background: repeating-linear-gradient(135deg, #302C27 0 12px, #38332D 12px 24px);
}

.carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.carousel__slide[data-active] {
  opacity: 1;
  pointer-events: auto;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  line-height: 1.5;
  color: var(--on-dark-soft);
  background: rgba(36, 33, 30, .84);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 10px 14px;
  border-radius: 3px;
}

.carousel__dots {
  display: flex;
  gap: 8px;
}
.carousel__dot {
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--line-dark);
  cursor: pointer;
  transition: background .2s ease;
}
.carousel__dot:hover { background: var(--on-dark-faint); }
.carousel__dot[aria-selected='true'] { background: var(--accent-light); }

/* Without the script the slides stack instead of overlapping, so every photo
   stays reachable in its original order. */
.carousel:not([data-ready]) .carousel__frame {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.carousel:not([data-ready]) .carousel__slide {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
  height: 520px;
}
.carousel:not([data-ready]) .carousel__dots { display: none; }

@media (max-width: 900px) {
  .carousel__frame,
  .carousel:not([data-ready]) .carousel__slide { height: 360px; }
}
