/*
Theme Name: voetjewellc
Theme URI: https://voetjewell.nl
Description: Maatwerk klassiek PHP-thema voor Voet-je-well, mobiele pedicure aan huis. Content via SCF, SEO via SmartCrawl.
Author: BlueCT Site Factory
Version: 1.0.0
Text Domain: voetjewellc
*/

/* ============================================================
   Concept: "Warme verzorgende rust" - cream papier als canvas,
   elegante Yeseva One serif display, zachte sage groene actie-
   accenten en warm goud detail, royale kalme witruimte en zacht
   afgeronde fotokaders met een subtiele offset. Signature details:
   (1) zacht afgeronde fotokaders met een offset sage-frame achter
   het beeld, en (2) oversized index-cijfers ("01") op de stappen.
   ============================================================ */

:root {
  /* Palette (alle tekstkleuren WCAG-geverifieerd t.o.v. hun achtergrond) */
  --cream: #F6F5EF;        /* lichtste achtergrond */
  --surface: #EFEADD;      /* getinte sectie-achtergrond */
  --sand: #E3D4B8;         /* warm zand voor frames/banden */
  --sage: #B2D4B7;         /* zachte sage groen, CTA-vulling */
  --sage-soft: #CDE3D1;    /* lichte sage tint */
  --taupe: #8E8679;        /* taupe, alleen groot/borders/iconen (3:1) */
  --muted: #6B6457;        /* gedempte bodytekst (5.4:1 op cream) */
  --ink: #2E2A24;          /* hoofdtekst (13:1 op cream) */
  --dark: #3A352D;         /* donkere band (cream-tekst 11:1) */
  --gold: #A88A63;         /* warm goud accent, alleen groot/iconen */
  --accent-text: #7A5E38;  /* donker goud voor kleine accenttekst (5.5:1) */

  /* Knop-tokens */
  --btn-fill: var(--sage);
  --btn-fill-hover: #9CC8A4;
  --btn-label: var(--ink);

  /* Type */
  --font-display: "Yeseva One", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: clamp(0.875rem, 0.83rem + 0.2vw, 0.95rem);
  --step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.55rem, 1.35rem + 0.9vw, 1.95rem);
  --step-3: clamp(1.95rem, 1.6rem + 1.6vw, 2.7rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.4vw, 3.4rem);
  --step-5: clamp(2.6rem, 2rem + 3.4vw, 4.25rem);

  /* Spacing */
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 7rem;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px -24px rgba(46, 42, 36, 0.45);
  --container: 1280px;
  --measure: 760px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
::selection { background: var(--sage); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--space-s);
}
h1 { font-size: var(--step-5); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0 0 var(--space-s); }
ul, ol { margin: 0 0 var(--space-s); padding-left: 1.25rem; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--surface { background: var(--surface); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--dark); color: var(--cream); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark p { color: rgba(246, 245, 239, 0.88); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 var(--space-s);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--sage); }
.section--dark .eyebrow::before { background: var(--sage); }

.lead { font-size: var(--step-1); color: var(--muted); }
.section--dark .lead { color: rgba(246, 245, 239, 0.92); }
.muted { color: var(--muted); }

.section-head { max-width: 56ch; margin-bottom: var(--space-xl); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1.1;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.btn--primary { background: var(--btn-fill); color: var(--btn-label); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--btn-fill-hover); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.section--dark .btn--ghost { color: var(--cream); border-color: rgba(246, 245, 239, 0.7); }
.section--dark .btn--ghost:hover { background: var(--cream); color: var(--ink); }
.btn .icon { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 245, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(142, 134, 121, 0.22);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding-block: 0.9rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand__mark { width: 46px; height: 46px; display: block; flex: none; }
.brand__mark svg, .brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__name { font-family: var(--font-display); font-size: var(--step-1); line-height: 1; color: var(--ink); }

.primary-nav { display: flex; align-items: center; gap: var(--space-l); }
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-m);
  margin: 0;
  padding: 0;
}
.primary-nav .nav-menu a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: var(--step-0);
  padding: 0.35rem 0;
  position: relative;
}
.primary-nav .nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.primary-nav .nav-menu a:hover::after,
.primary-nav .nav-menu .current-menu-item > a::after { width: 100%; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid rgba(142, 134, 121, 0.4);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-s);
    background: var(--cream);
    padding: var(--space-l) clamp(1rem, 5vw, 2rem) var(--space-xl);
    border-bottom: 1px solid rgba(142, 134, 121, 0.22);
    box-shadow: var(--shadow-soft);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .primary-nav.is-open { transform: translateY(0); }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav .nav-menu a { display: block; padding: 0.9rem 0; border-bottom: 1px solid rgba(142, 134, 121, 0.2); }
  .primary-nav .nav-menu a::after { display: none; }
  .primary-nav .btn { margin-top: var(--space-s); }
  body.nav-open { overflow: hidden; }
  .nav-toggle.is-active .nav-toggle__open { display: none; }
  .nav-toggle.is-active .nav-toggle__close { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero--home { min-height: 78vh; display: flex; align-items: center; color: var(--cream); }
.hero--home .hero__media { position: absolute; inset: 0; z-index: 0; }
.hero--home .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero--home .hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(46, 42, 36, 0.82) 0%, rgba(46, 42, 36, 0.55) 45%, rgba(46, 42, 36, 0.2) 100%);
}
.hero--home .container { position: relative; z-index: 2; padding-block: clamp(5rem, 12vw, 8rem); }
.hero__content { max-width: 40rem; }
.hero--home h1, .hero--home .eyebrow { color: var(--cream); }
.hero--home .eyebrow { color: var(--sage); }
.hero--home .hero__text { font-size: var(--step-1); color: rgba(246, 245, 239, 0.94); margin-bottom: var(--space-m); }
.hero__service-area {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(246, 245, 239, 0.14);
  border: 1px solid rgba(246, 245, 239, 0.3);
  color: var(--cream);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: var(--step--1);
  font-weight: 500;
  margin-bottom: var(--space-m);
}
.hero__service-area .icon { width: 18px; height: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-s); align-items: center; }
.hero__note { margin-top: var(--space-m); font-size: var(--step--1); color: rgba(246, 245, 239, 0.9); }
.hero__note strong { color: var(--sage); font-weight: 600; }

/* Page hero (interior pages) */
.page-hero { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); background: var(--surface); }
.page-hero .hero__content { max-width: 52rem; }
.page-hero .hero__text { font-size: var(--step-1); color: var(--muted); }

/* Phone link as text CTA */
.tel-cta { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--cream); text-decoration: none; padding: 0.7rem 0.5rem; }
.tel-cta .icon { width: 20px; height: 20px; }
.tel-cta:hover { text-decoration: underline; }
.section--dark .tel-cta { color: var(--cream); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: var(--space-l); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--cream);
  border: 1px solid rgba(142, 134, 121, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-l);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section--surface .card { background: #fff; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card__icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  background: var(--sage-soft);
  color: var(--accent-text);
  margin-bottom: var(--space-s);
}
.card__icon .icon { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.4rem; }
.card p { margin: 0; color: var(--muted); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__body { max-width: 38rem; }

/* Signature framed image */
.framed { position: relative; }
.framed::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--sage);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.framed img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
.framed--portrait img { aspect-ratio: 3 / 4; }

/* ---------- Steps (signature numerals) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-l); counter-reset: step; }
.step { position: relative; padding-top: var(--space-l); }
.step__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 0.8;
  color: var(--sage);
  display: block;
  margin-bottom: var(--space-xs);
}
.step h3 { margin-bottom: 0.35rem; }
.step p { margin: 0; color: var(--muted); }
.section--dark .step p { color: rgba(246, 245, 239, 0.85); }
.section--dark .step__num { color: var(--sage); }

/* ---------- Service list (detailed) ---------- */
.service-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-m);
  padding: var(--space-l) 0;
  border-bottom: 1px solid rgba(142, 134, 121, 0.22);
  align-items: start;
}
.service-row:last-child { border-bottom: none; }
.service-row__icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  background: var(--sage-soft);
  color: var(--accent-text);
}
.service-row__icon .icon { width: 28px; height: 28px; }
.service-row h3 { margin-bottom: 0.25rem; }
.service-row p { margin: 0; color: var(--muted); }

/* ---------- Stat / note strip ---------- */
.note-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-m);
  background: var(--sage-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-l);
}
.note-strip__icon {
  width: 54px; height: 54px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--accent-text);
}
.note-strip h3 { margin: 0 0 0.2rem; }
.note-strip p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; }
.faq details {
  border-bottom: 1px solid rgba(142, 134, 121, 0.3);
  padding: var(--space-s) 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-s);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-1);
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--accent-text); transition: transform 0.3s ease; flex: none; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { margin: var(--space-s) 0 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .container { max-width: 52rem; }
.cta-band h2 { font-size: var(--step-4); }
.cta-band p { font-size: var(--step-1); color: rgba(246, 245, 239, 0.9); margin-bottom: var(--space-l); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-s); justify-content: center; align-items: center; }

/* ---------- Long-form prose (centered 760px measure) ---------- */
.prose--longform {
  max-width: var(--measure);
  margin-inline: auto;
  text-align: left;
}
.prose--longform h2 { margin-top: var(--space-xl); }
.prose p, .prose--longform p { margin-bottom: var(--space-m); }
.prose a, .prose--longform a { color: var(--accent-text); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: grid; gap: var(--space-m); }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-s); align-items: start; }
.contact-item__icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  background: var(--sage-soft);
  color: var(--accent-text);
}
.contact-item h3 { margin: 0 0 0.15rem; font-size: var(--step-0); }
.contact-item a { color: var(--accent-text); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
.contact-item p { margin: 0; color: var(--muted); }
.contact-card {
  background: #fff;
  border: 1px solid rgba(142, 134, 121, 0.22);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}
.form-promise { color: var(--muted); margin-bottom: var(--space-m); }
.form-placeholder {
  border: 1.5px dashed rgba(142, 134, 121, 0.5);
  border-radius: var(--radius);
  padding: var(--space-l);
  color: var(--muted);
  text-align: center;
}

/* ---------- Forminator styling (ships unstyled otherwise) ---------- */
.forminator-custom-form input[type="text"],
.forminator-custom-form input[type="email"],
.forminator-custom-form input[type="tel"],
.forminator-custom-form input[type="url"],
.forminator-custom-form input[type="number"],
.forminator-custom-form textarea,
.forminator-custom-form select {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(142, 134, 121, 0.5);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
}
.forminator-custom-form textarea { min-height: 8rem; }
.forminator-custom-form input:focus,
.forminator-custom-form textarea:focus,
.forminator-custom-form select:focus {
  outline: none;
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px rgba(178, 212, 183, 0.55);
}
.forminator-custom-form label,
.forminator-custom-form .forminator-label { font-weight: 600; color: var(--ink); }
.forminator-custom-form .forminator-button,
.forminator-custom-form button[type="submit"] {
  background: var(--btn-fill);
  color: var(--btn-label);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-0);
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.95rem 1.75rem;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.forminator-custom-form .forminator-button:hover,
.forminator-custom-form button[type="submit"]:hover { background: var(--btn-fill-hover); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(246, 245, 239, 0.82); padding-block: clamp(3rem, 7vw, 5rem) var(--space-l); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-xl); padding-bottom: var(--space-xl); border-bottom: 1px solid rgba(246, 245, 239, 0.16); }
.footer-brand { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: var(--space-s); text-decoration: none; }
.footer-brand .brand__mark { width: 42px; height: 42px; }
.footer-brand .brand__name { color: var(--cream); }
.site-footer h4 { color: var(--cream); font-family: var(--font-body); font-weight: 700; font-size: var(--step-0); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--space-s); }
.site-footer a { color: rgba(246, 245, 239, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-contact { display: grid; gap: 0.5rem; }
.footer-contact div { display: flex; gap: 0.5rem; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--sage); flex: none; margin-top: 3px; }
.footer-cta { margin-top: var(--space-m); }
/* re-assert button label inside footer's scoped link colour (specificity guard) */
.site-footer .btn--primary { color: var(--btn-label); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-s); padding-top: var(--space-l); font-size: var(--step--1); color: rgba(246, 245, 239, 0.6); }
.footer-bottom a { color: rgba(246, 245, 239, 0.7); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Focus ---------- */
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .grid--3, .grid--2, .footer-top { grid-template-columns: 1fr; align-items: stretch; }
  .hero__actions, .cta-band__actions { align-items: stretch; }
  .hero__actions .btn, .cta-band__actions .btn { width: 100%; }
  .framed::before { inset: 12px -12px -12px 12px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
