/* ==========================================================================
   4 Feet Pedicure — stylesheet
   Palette: salie (sage), zand, zacht blauw op een mistwitte achtergrond.
   Signature: zachte contourlijnen (voetcontour / drukmeting) in de hero.
   ========================================================================== */

/* ---------- Fonts (self-hosted, geen externe requests) ---------- */
@font-face {
  font-family: 'Petrona';
  src: url('../assets/fonts/petrona-latin.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('../assets/fonts/karla-latin.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #23312a;
  --ink-soft: #4f6157;
  --ink-mute: #6f8177;

  --sage: #4f6f58;
  --sage-deep: #3b5443;
  --sage-tint: #dde7dd;
  --sage-wash: #eaf1ea;

  --sand: #efe4d3;
  --sand-deep: #d8c3a2;
  --blue: #6b8ca4;
  --blue-wash: #e6edf2;

  --mist: #f7f9f6;
  --white: #ffffff;
  --line: #e0e8df;

  --r: 20px;
  --r-sm: 12px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(35, 49, 42, .05), 0 4px 14px rgba(35, 49, 42, .05);
  --shadow-md: 0 2px 6px rgba(35, 49, 42, .06), 0 14px 34px rgba(35, 49, 42, .08);

  --wrap: 1120px;
  --gap: clamp(1.25rem, 3vw, 2rem);

  --display: 'Petrona', Georgia, 'Times New Roman', serif;
  --body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sage-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sage); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.4rem); }

p { margin: 0 0 1.1em; max-width: 68ch; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

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

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--sage-deep); color: #fff;
  padding: .8rem 1.2rem; z-index: 100; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.eyebrow {
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 .9rem;
}

.lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.2rem); color: var(--ink-soft); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 249, 246, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 76px;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; flex: 0 0 40px;
  border-radius: 50%;
  background: var(--sage-wash);
  border: 1px solid var(--sage-tint);
  display: grid; place-items: center;
}
.brand-mark svg { width: 25px; height: 25px; }
.brand-name {
  font-family: var(--display); font-size: 1.28rem; font-weight: 600;
  letter-spacing: -.015em; line-height: 1.1;
}
.brand-sub {
  display: block; font-family: var(--body); font-size: .7rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute);
}

.nav-toggle {
  display: none;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: .55rem .8rem;
  font: 500 .9rem/1 var(--body); color: var(--ink); cursor: pointer;
  align-items: center; gap: .5rem;
}
.nav-toggle:hover { border-color: var(--sage-tint); }
.nav-toggle-bars { display: inline-block; width: 16px; height: 10px; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span {
  content: ''; position: absolute; left: 0; right: 0; height: 1.6px;
  background: var(--ink); border-radius: 2px;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 4.2px; }
.nav-toggle-bars::after { bottom: 0; }

.site-nav ul {
  list-style: none; display: flex; align-items: center;
  gap: .3rem; margin: 0; padding: 0;
}
.site-nav a {
  display: block; padding: .5rem .78rem; border-radius: var(--r-pill);
  font-size: .95rem; font-weight: 500; color: var(--ink-soft); text-decoration: none;
}
.site-nav a:hover { background: var(--sage-wash); color: var(--sage-deep); }
.site-nav a[aria-current="page"] { background: var(--sage-tint); color: var(--sage-deep); }
.site-nav .nav-cta { margin-left: .5rem; }

/* De CTA in de navigatie is een knop, geen navigatielink. Deze regels moeten
   winnen van `.site-nav a` hierboven, dat een hogere specificiteit heeft. */
.site-nav .nav-cta a.btn {
  padding: .62rem 1.1rem;
  color: #fff;
  background: var(--sage);
  font-weight: 600;
}
.site-nav .nav-cta a.btn:hover { background: var(--sage-deep); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .82rem 1.4rem; border-radius: var(--r-pill);
  font: 600 1rem/1.2 var(--body); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--sage); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--sage-deep); color: #fff; box-shadow: var(--shadow-md); }

.btn-ghost { background: var(--white); color: var(--sage-deep); border-color: var(--sage-tint); }
.btn-ghost:hover { background: var(--sage-wash); color: var(--sage-deep); border-color: var(--sage); }

.btn-sm { padding: .55rem 1rem; font-size: .92rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.06rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 6vw, 5.5rem) 0; }
.section-tight { padding: clamp(2.4rem, 4vw, 3.6rem) 0; }
.section-sand { background: linear-gradient(180deg, var(--mist) 0%, var(--sand) 22%, var(--sand) 78%, var(--mist) 100%); }
.section-white { background: var(--white); border-block: 1px solid var(--line); }

.section-head { max-width: 62ch; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.section-head p { color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }

.hero-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
}

.hero h1 { margin-bottom: .5em; }
.hero .lead { max-width: 46ch; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem;
  list-style: none; padding: 0;
}
.hero-trust li {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: .38rem .85rem;
  font-size: .85rem; font-weight: 500; color: var(--ink-soft); margin: 0;
}
.hero-trust svg { width: 15px; height: 15px; color: var(--sage); flex: none; }

/* Signature: contourpaneel */
.hero-panel {
  position: relative; border-radius: 28px; overflow: hidden;
  background: linear-gradient(155deg, var(--sage-wash) 0%, var(--sand) 100%);
  border: 1px solid var(--sage-tint);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  min-height: 340px;
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow-md);
}
.hero-panel .contours {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.hero-panel .contours > * {
  fill: none; stroke: var(--sage); stroke-width: 1.2; opacity: .3;
}
.hero-panel .contours > *:nth-child(odd) { opacity: .18; }

.panel-card {
  position: relative; background: rgba(255, 255, 255, .93);
  border-radius: var(--r); padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm); width: 100%;
}
.panel-card h2 {
  font-size: 1.05rem; font-family: var(--body); font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: .8rem;
}
.panel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.panel-list li { display: flex; gap: .7rem; align-items: flex-start; margin: 0; font-size: .95rem; }
.panel-list svg { width: 17px; height: 17px; color: var(--sage); flex: none; margin-top: .28rem; }
.panel-list strong { display: block; font-weight: 600; }
.panel-list span { color: var(--ink-soft); }
.panel-list a { font-weight: 600; text-decoration: none; }
.panel-list a:hover { text-decoration: underline; }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 1.15rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); font-size: .97rem; }

.card-link { text-decoration: none; color: inherit; display: block; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sage-tint); color: inherit; }
.card-more { font-weight: 600; color: var(--sage-deep); font-size: .95rem; display: inline-flex; align-items: center; gap: .35rem; }
.card-link:hover .card-more { gap: .6rem; }

.card-icon {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--sage-wash); color: var(--sage-deep);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card-icon.is-blue { background: var(--blue-wash); color: var(--blue); }
.card-icon.is-sand { background: var(--sand); color: #8a6a3f; }

/* ---------- Benefits (genummerd zonder nummers) ---------- */
.benefit { background: transparent; border: 0; box-shadow: none; padding: 0; }
.benefit h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
.benefit p { font-size: .95rem; }

/* ---------- Stappen (behandelplan) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: .9rem; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 2.1rem 1fr; gap: .95rem; align-items: baseline;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: .9rem 1.1rem; margin: 0;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--body); font-size: .82rem; font-weight: 600;
  color: var(--sage); letter-spacing: .04em;
}
.steps strong { grid-column: 2; font-weight: 600; }
/* De tekst hoort onder de titel in dezelfde kolom, niet in de nummerkolom. */
.steps span { grid-column: 2; display: block; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Tarieven ---------- */
/* Twee brede kolommen: de tabellen hebben ruimte nodig voor lange
   behandelnamen naast de prijs. */
.rate-grid { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); align-items: start; }
@media (max-width: 520px) {
  .rate-grid { grid-template-columns: 1fr; }
}

.rate-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.rate-card h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.rate-card h3 svg { width: 20px; height: 20px; color: var(--sage); flex: none; }

.rate-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.rate-table caption { text-align: left; color: var(--ink-mute); font-size: .88rem; padding-bottom: .7rem; }
.rate-table th { text-align: left; font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.rate-table th:last-child, .rate-table td:last-child { text-align: right; white-space: nowrap; }
.rate-table td { padding: .72rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.rate-table tr:last-child td { border-bottom: 0; }
.rate-table .price { font-family: var(--display); font-size: 1.12rem; font-weight: 600; color: var(--ink); }

.table-scroll { overflow-x: auto; }

/* ---------- Callout / afspraakblok ---------- */
.callout {
  background: var(--sage-deep); color: #fff;
  border-radius: 26px; padding: clamp(1.8rem, 4vw, 3rem);
  display: grid; gap: 1.6rem; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center; box-shadow: var(--shadow-md);
}
.callout h2 { color: #fff; margin-bottom: .4em; }
.callout p { color: rgba(255, 255, 255, .85); margin-bottom: 0; }
.callout .btn-primary { background: #fff; color: var(--sage-deep); }
.callout .btn-primary:hover { background: var(--sand); color: var(--sage-deep); }
.callout .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.callout .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.callout-actions { display: grid; gap: .7rem; }
.callout-actions .btn { justify-content: center; }
.callout-note { font-size: .88rem; color: rgba(255, 255, 255, .72); margin-top: .3rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: start; }

.nap { font-style: normal; display: grid; gap: 1.1rem; }
.nap-item { display: flex; gap: .85rem; align-items: flex-start; }
.nap-item svg { width: 20px; height: 20px; color: var(--sage); flex: none; margin-top: .28rem; }
.nap-item .label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.nap-item a, .nap-item .value { font-size: 1.08rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.nap-item a:hover { color: var(--sage); text-decoration: underline; }

.map-link {
  display: block; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: var(--white);
  text-decoration: none; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.map-link:hover { box-shadow: var(--shadow-md); border-color: var(--sage-tint); }
.map-link img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.map-link .map-placeholder {
  aspect-ratio: 16 / 9; background: var(--sage-wash);
  display: grid; place-items: center; color: var(--ink-mute); font-size: .95rem;
}
.map-link span.map-cta {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .85rem 1.1rem; font-weight: 600; color: var(--sage-deep); font-size: .95rem;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; max-width: 74ch; }
.faq details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 0 1.2rem;
}
.faq details[open] { border-color: var(--sage-tint); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 2rem 1.05rem 0;
  font-weight: 600; font-size: 1.02rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: .15rem; top: 1.45rem;
  width: 9px; height: 9px; border-right: 1.8px solid var(--sage);
  border-bottom: 1.8px solid var(--sage); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-body { padding: 0 0 1.1rem; }
.faq .faq-body p { color: var(--ink-soft); margin-bottom: .6em; font-size: .97rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 1.1rem 0 0; font-size: .88rem; color: var(--ink-mute); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; gap: .4rem; }
.breadcrumb li + li::before { content: '/'; color: var(--sage-tint); }
.breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--sage); text-decoration: underline; }

/* ---------- Page hero (subpagina's) ---------- */
.page-hero { padding: clamp(1.6rem, 3vw, 2.6rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero .lead { max-width: 58ch; }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul li::marker { color: var(--sage); }

.note {
  background: var(--blue-wash); border-left: 3px solid var(--blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1rem 1.2rem; font-size: .95rem; color: var(--ink-soft);
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: rgba(255, 255, 255, .78);
  padding: clamp(2.8rem, 5vw, 4rem) 0 1.8rem; margin-top: 0;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.site-footer h2 {
  color: #fff; font-family: var(--body); font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sand); text-decoration: underline; }
.site-footer p { color: rgba(255, 255, 255, .72); font-size: .95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer li { margin: 0; font-size: .95rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { max-width: 34ch; }
.footer-bottom {
  margin-top: 2.4rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .85rem; color: rgba(255, 255, 255, .6);
}
.footer-bottom p { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { min-height: 280px; }
  .callout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: .8rem 1.25rem 1.2rem; box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .site-nav a { padding: .8rem .9rem; border-radius: var(--r-sm); font-size: 1rem; }
  .site-nav .nav-cta { margin: .6rem 0 0; }
  .site-nav .btn { width: 100%; justify-content: center; }
  .site-header { position: relative; }
  body { font-size: 16.5px; }
  .btn-row .btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .btn:hover, .card-link:hover { transform: none; }
}

@media print {
  .site-header, .callout, .btn-row, .nav-toggle { display: none; }
  body { background: #fff; }
}
