/* =========================================================
   Salon Carolien — design system
   Warme editorial-spa: beige/zand + terracotta
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Kleuren */
  --cream:        #FBF6EE;
  --cream-2:      #F7EFE3;
  --sand:         #F1E4D3;
  --sand-deep:    #E7D5BF;
  --surface:      #FFFDFA;
  --terracotta:   #BC6A4C;
  --terracotta-700:#9E5238;
  --terracotta-300:#E3AD93;
  --clay:         #D98E6F;
  --sage:         #8A9A7B;
  --ink:          #3B2A20;
  --ink-soft:     #6E5A4C;
  --ink-faint:    #9A8676;
  --line:         #E8D8C5;
  --espresso:     #2C211A;

  /* Typografie */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "DM Sans", system-ui, -apple-system, sans-serif;

  /* Vorm */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 26px;
  --pill: 999px;

  /* Schaduw (warm) */
  --shadow-sm: 0 2px 10px rgba(59,42,32,.06);
  --shadow-md: 0 16px 34px -14px rgba(59,42,32,.20);
  --shadow-lg: 0 30px 60px -22px rgba(59,42,32,.28);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terracotta-700);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--terracotta);
  display: inline-block;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section--tint { background: var(--cream-2); }
.section--sand { background: var(--sand); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin-top: .8rem; }
.section-head p { margin-top: 1rem; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease);
  min-height: 48px;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--terracotta); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--terracotta-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--terracotta); color: var(--terracotta-700); transform: translateY(-2px); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,246,238,.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(251,246,238,.9); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand svg { width: 34px; height: 34px; color: var(--terracotta); flex: none; }
.brand .brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -.01em;
  line-height: 1;
}
.brand .brand-name span { color: var(--terracotta-700); }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  padding: .55rem .85rem;
  border-radius: var(--pill);
  font-weight: 500;
  font-size: .97rem;
  color: var(--ink-soft);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(188,106,76,.08); }
.nav-links a[aria-current="page"] { color: var(--terracotta-700); font-weight: 600; }
.nav-cta { margin-left: .6rem; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6rem); }
.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero-copy h1 { margin-top: 1.2rem; }
.hero-copy h1 em { font-style: italic; color: var(--terracotta-700); }
.hero-copy .lead { margin-top: 1.4rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  margin-top: 2.4rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta dt { font-family: var(--font-display); font-size: 1.5rem; color: var(--terracotta-700); }
.hero-meta dd { font-size: .85rem; color: var(--ink-faint); }

.hero-media { position: relative; }
.hero-media .media { aspect-ratio: 4 / 5; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute;
  left: -1rem; bottom: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: .9rem 1.1rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .7rem;
  max-width: 15rem;
}
.hero-badge .dot { width: 38px; height: 38px; border-radius: var(--pill); background: var(--sand); display: grid; place-items: center; color: var(--terracotta-700); flex: none; }
.hero-badge .dot svg { width: 20px; height: 20px; }
.hero-badge b { font-size: .92rem; display: block; color: var(--ink); }
.hero-badge span { font-size: .8rem; color: var(--ink-faint); }

/* ---------- Media (duotone foto-behandeling) ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--sand-deep);
}
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(.32) saturate(1.15) contrast(1.02) brightness(1.02);
  transition: transform .8s var(--ease);
}
.media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(188,106,76,.28), rgba(44,33,26,.18));
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.media--hover:hover img { transform: scale(1.04); }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sand-deep); }
.card .ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--cream-2);
  color: var(--terracotta-700);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .98rem; }

/* USP row */
.usp-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.usp {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.2rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.usp .ico { color: var(--terracotta-700); flex: none; margin-top: .1rem; }
.usp .ico svg { width: 24px; height: 24px; }
.usp h3 { font-size: 1.08rem; font-family: var(--font-body); font-weight: 600; }
.usp p { font-size: .9rem; margin-top: .2rem; }

/* Treatment list cards */
.treatment {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.treatment:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.treatment .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--terracotta-300);
  line-height: 1;
  flex: none;
  width: 2.2rem;
}
.treatment h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.treatment p { font-size: .97rem; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split .media { aspect-ratio: 5 / 6; box-shadow: var(--shadow-md); }
.split-copy h2 { margin-top: .8rem; }
.split-copy p + p { margin-top: 1rem; }
.split-copy .btn { margin-top: 1.6rem; }

/* ---------- Timeline (over) ---------- */
.timeline { position: relative; margin-top: 1rem; padding-left: 1.8rem; }
.timeline::before { content:""; position:absolute; left:6px; top:.4rem; bottom:.4rem; width:2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 1.8rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content:""; position:absolute; left:-1.8rem; top:.35rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--terracotta); border: 3px solid var(--cream);
}
.timeline .yr { font-family: var(--font-display); color: var(--terracotta-700); font-size: 1.15rem; }
.timeline h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; margin: .15rem 0; }
.timeline p { font-size: .95rem; }

/* ---------- Product cards ---------- */
.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product .media { aspect-ratio: 4/3; border-radius: 0; }
.product .product-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 1.15rem; }
.product p { font-size: .92rem; margin: .5rem 0 1rem; flex: 1; }
.product .price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--terracotta-700);
}
.tag {
  display: inline-block;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sage);
  background: rgba(138,154,123,.12);
  padding: .3rem .7rem; border-radius: var(--pill);
  margin-bottom: .8rem; align-self: flex-start;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(1.6rem, 4vw, 3rem); }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.contact-list { display: grid; gap: 1.1rem; margin-top: .5rem; }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; }
.contact-row .ico {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--cream-2); color: var(--terracotta-700);
  display: grid; place-items: center;
}
.contact-row .ico svg { width: 22px; height: 22px; }
.contact-row .lbl { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.contact-row a, .contact-row .val { font-size: 1.08rem; color: var(--ink); font-weight: 500; }
.contact-row a:hover { color: var(--terracotta-700); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

.reg-strip {
  display: flex; flex-wrap: wrap; gap: 1.2rem 2rem;
  margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.reg-strip div .lbl { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.reg-strip div .val { font-size: .98rem; color: var(--ink); }

/* Page hero (subpagina's) */
.page-hero { padding-block: clamp(2.6rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero p { margin-top: 1.1rem; max-width: 42rem; }
.crumbs { font-size: .85rem; color: var(--ink-faint); margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--terracotta-700); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--espresso); color: var(--cream); border-radius: var(--r-lg); padding: clamp(2.2rem, 6vw, 4rem); text-align: center; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: rgba(251,246,238,.72); max-width: 40rem; margin: 1rem auto 0; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: rgba(251,246,238,.7); padding-block: clamp(3rem, 7vw, 4.5rem) 2rem; margin-top: 0; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; }
.footer-brand .brand { color: var(--cream); }
.footer-brand .brand svg { color: var(--terracotta-300); }
.footer-brand p { color: rgba(251,246,238,.6); margin-top: 1rem; font-size: .95rem; max-width: 22rem; }
.footer-col h4 { color: var(--cream); font-family: var(--font-body); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a, .footer-col li { color: rgba(251,246,238,.7); font-size: .96rem; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between;
  margin-top: 2.6rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(251,246,238,.14);
  font-size: .85rem; color: rgba(251,246,238,.5);
}

/* ---------- Mobile menu ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.6rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { padding: .9rem 1rem; font-size: 1.05rem; }
  .nav-cta { margin-left: 0; margin-top: .6rem; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Breakpoints up ---------- */
@media (min-width: 600px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
}
@media (min-width: 880px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--rev .media { order: 2; }
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
  .usp-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

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