/*
Theme Name: Ilyada Zorggroep
Theme URI: https://ilyada.nl
Author: Social Jolt
Author URI: https://socialjolt.nl
Description: Maatwerkthema voor Ilyada Zorggroep. Zachte pastelkleuren uit het logo, ronde vormen, volledig responsive.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ilyada
*/

/* 1. Tokens: kleuren uit het logo */
:root {
  --ily-pink: #EA93B5;
  --ily-pink-soft: #F7D3E0;
  --ily-pink-deep: #B85A80;
  --ily-blue: #97C1E6;
  --ily-blue-soft: #DCEAF7;
  --ily-blue-deep: #4F7FB4;
  --ily-lilac: #E5D7F0;
  --ily-lilac-soft: #F4EDF9;
  --ily-purple: #B2A2CB;
  --ily-purple-deep: #6F5C90;

  --ily-ink: #3B3452;
  --ily-ink-soft: #625B78;
  --ily-cream: #FFFCFD;
  --ily-mist: #F8F4FB;
  --ily-line: #EDE5F3;

  --ily-font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --ily-font-body: "Nunito", "Segoe UI", system-ui, sans-serif;

  --ily-r-xl: 40px;
  --ily-r-lg: 28px;
  --ily-r-md: 18px;
  --ily-r-pill: 999px;

  --ily-shadow: 0 18px 50px -24px rgba(111, 92, 144, 0.35);

  --ily-max: 1160px;
  --ily-gutter: clamp(20px, 4vw, 48px);
}

/* 2. Basis */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--ily-font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ily-ink);
  background: var(--ily-cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ily-pink-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ily-purple-deep); }
:focus-visible { outline: 3px solid var(--ily-blue-deep); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--ily-font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ily-ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: 0.35em; }

.ily-container { width: min(100% - 2 * var(--ily-gutter), var(--ily-max)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--ily-ink); color: #fff; padding: 10px 18px;
  border-radius: var(--ily-r-pill); font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 16px; color: #fff; }

/* 3. Knoppen */
.ily-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--ily-r-pill);
  font-family: var(--ily-font-display); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  line-height: 1.2;
}
.ily-btn--primary { background: var(--ily-pink); color: var(--ily-ink); box-shadow: 0 10px 24px -12px rgba(234,147,181,.9); }
.ily-btn--primary:hover { background: var(--ily-pink-deep); color: #fff; transform: translateY(-1px); }
.ily-btn--secondary { background: #fff; color: var(--ily-ink); border-color: var(--ily-lilac); }
.ily-btn--secondary:hover { background: var(--ily-lilac-soft); color: var(--ily-ink); }
.ily-btn svg { width: 18px; height: 18px; flex: none; }

/* 4. Header */
.ily-topbar { background: var(--ily-mist); font-size: .9rem; border-bottom: 1px solid var(--ily-line); }
.ily-topbar__inner {
  display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center;
  justify-content: space-between; min-height: 40px; padding-block: 6px;
}
.ily-topbar__contacts { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.ily-topbar__contacts li { margin: 0; }
.ily-topbar__contacts a { color: var(--ily-ink-soft); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.ily-topbar__contacts a:hover { color: var(--ily-pink-deep); }
.ily-topbar__contacts svg { width: 15px; height: 15px; color: var(--ily-pink-deep); }
.ily-topbar__tagline { color: var(--ily-purple-deep); font-family: var(--ily-font-display); font-weight: 500; }

.ily-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 252, 253, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ily-line);
}
.admin-bar .ily-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ily-header { top: 0; } }
.ily-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; }
.ily-brand { display: inline-flex; align-items: center; text-decoration: none; }
.ily-brand img { width: auto; height: 74px; }

.ily-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.ily-nav li { margin: 0; }
.ily-nav a {
  display: inline-block; padding: 10px 16px; border-radius: var(--ily-r-pill);
  font-family: var(--ily-font-display); font-weight: 500; text-decoration: none; color: var(--ily-ink);
  transition: background .15s;
}
.ily-nav a:hover { background: var(--ily-lilac-soft); color: var(--ily-ink); }
.ily-nav .current-menu-item > a, .ily-nav .current_page_item > a {
  background: var(--ily-blue-soft); color: var(--ily-blue-deep);
}
.ily-nav .ily-nav__cta > a { background: var(--ily-pink); margin-left: 8px; color: var(--ily-ink); }
.ily-nav .ily-nav__cta > a:hover { background: var(--ily-pink-deep); color: #fff; }

.ily-menu-toggle {
  display: none; align-items: center; gap: 10px;
  background: var(--ily-lilac-soft); border: 0; padding: 10px 16px; border-radius: var(--ily-r-pill);
  font-family: var(--ily-font-display); font-weight: 600; font-size: 1rem; color: var(--ily-ink); cursor: pointer;
}
.ily-menu-toggle .bars { width: 20px; height: 14px; position: relative; }
.ily-menu-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.ily-menu-toggle .bars span:nth-child(1) { top: 0; }
.ily-menu-toggle .bars span:nth-child(2) { top: 6px; }
.ily-menu-toggle .bars span:nth-child(3) { top: 12px; }
.ily-menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ily-menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.ily-menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .ily-topbar__tagline { display: none; }
  .ily-menu-toggle { display: inline-flex; }
  .ily-header__inner { position: static; }
  .ily-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ily-cream); border-bottom: 1px solid var(--ily-line);
    padding: 12px var(--ily-gutter) 20px; display: none;
    box-shadow: var(--ily-shadow);
  }
  .ily-nav.is-open { display: block; }
  .ily-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .ily-nav a { display: block; padding: 13px 18px; font-size: 1.05rem; }
  .ily-nav .ily-nav__cta > a { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 480px) {
  .ily-brand img { height: 60px; }
  .ily-header__inner { min-height: 76px; }
  .ily-topbar__contacts li:nth-child(3) { display: none; }
}

/* 5. Secties en hero */
.ily-section { padding-block: clamp(56px, 8vw, 104px); }
.ily-section--tint { background: var(--ily-mist); }
.ily-section__head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.ily-section__head p { color: var(--ily-ink-soft); font-size: 1.1rem; }

.ily-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px); }
.ily-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ily-hero h1 { max-width: 14ch; }
.ily-hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ily-ink-soft); max-width: 46ch; margin-bottom: 1.8em; }
.ily-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ily-hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.ily-hero__art {
  position: relative; aspect-ratio: 1 / 1.05; max-width: 460px; margin-inline: auto; width: 100%;
  border-radius: 48% 52% 46% 54% / 52% 44% 56% 48%;
  background: linear-gradient(150deg, var(--ily-lilac-soft) 0%, var(--ily-lilac) 55%, var(--ily-blue-soft) 100%);
  display: grid; place-items: center; box-shadow: var(--ily-shadow);
}
.ily-hero__art img { width: 60%; }
.ily-hero__art::before, .ily-hero__art::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.ily-hero__art::before { width: 38%; aspect-ratio: 1; background: var(--ily-pink-soft); top: -8%; right: -6%; }
.ily-hero__art::after  { width: 26%; aspect-ratio: 1; background: var(--ily-blue-soft); bottom: -4%; left: -8%; }
.ily-hero__blob { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(60px); opacity: .55; }
.ily-hero__blob--1 { width: 520px; height: 520px; background: var(--ily-pink-soft); left: -200px; top: -160px; }
.ily-hero__blob--2 { width: 420px; height: 420px; background: var(--ily-blue-soft); right: -120px; bottom: -200px; }

.ily-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--ily-r-pill);
  background: #fff; border: 1px solid var(--ily-line); font-size: .9rem; font-weight: 700; color: var(--ily-ink-soft);
}
.ily-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--ily-pink); display: inline-block; }
.ily-pill--blue i { background: var(--ily-blue); }
.ily-pill--purple i { background: var(--ily-purple); }

@media (max-width: 820px) {
  .ily-hero__grid { grid-template-columns: 1fr; }
  .ily-hero__art { max-width: 260px; aspect-ratio: 1; order: -1; }
  .ily-hero h1 { max-width: none; }
}

/* Pagina-kop (subpagina's) */
.ily-page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(44px, 6vw, 80px);
  background: linear-gradient(120deg, var(--ily-lilac-soft), var(--ily-blue-soft));
  border-radius: 0 0 var(--ily-r-xl) var(--ily-r-xl);
}
.ily-page-hero::after {
  content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; border-radius: 50%;
  background: var(--ily-pink-soft); right: -120px; top: -160px; opacity: .8; filter: blur(30px);
}
.ily-page-hero__inner { max-width: 720px; }
.ily-page-hero h1 { margin-bottom: .3em; }
.ily-page-hero p { color: var(--ily-ink-soft); font-size: 1.15rem; margin: 0; }
.ily-breadcrumb { font-size: .9rem; color: var(--ily-ink-soft); margin-bottom: 14px; }
.ily-breadcrumb a { color: var(--ily-purple-deep); text-decoration: none; }

/* 6. Over: tekst met lijstje */
.ily-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ily-split__figure { border-radius: var(--ily-r-xl); padding: clamp(28px, 4vw, 48px); background: var(--ily-blue-soft); }
.ily-split__figure ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ily-split__figure li {
  background: #fff; border-radius: var(--ily-r-md); padding: 14px 18px; display: flex; gap: 12px; align-items: flex-start;
  font-weight: 600; margin: 0;
}
.ily-split__figure li svg { width: 22px; height: 22px; flex: none; color: var(--ily-pink-deep); margin-top: 2px; }
@media (max-width: 820px) { .ily-split { grid-template-columns: 1fr; } }

/* 7. Diensten */
.ily-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ily-service {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--ily-line); border-radius: var(--ily-r-lg);
  padding: 28px 26px 26px; text-decoration: none; color: var(--ily-ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ily-service:hover { transform: translateY(-3px); box-shadow: var(--ily-shadow); border-color: transparent; color: var(--ily-ink); }
.ily-service__icon {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex: none;
  background: var(--ily-pink-soft); color: var(--ily-pink-deep);
}
.ily-service__icon svg { width: 28px; height: 28px; }
.ily-icon--blue { background: var(--ily-blue-soft); color: var(--ily-blue-deep); }
.ily-icon--lilac { background: var(--ily-lilac); color: var(--ily-purple-deep); }
.ily-service:nth-child(3n+2) .ily-service__icon { background: var(--ily-blue-soft); color: var(--ily-blue-deep); }
.ily-service:nth-child(3n) .ily-service__icon { background: var(--ily-lilac); color: var(--ily-purple-deep); }
.ily-service h3 { margin: 0; }
.ily-service p { color: var(--ily-ink-soft); margin: 0; }
.ily-service__wet { margin-top: auto; padding-top: 8px; font-size: .85rem; font-weight: 700; color: var(--ily-purple-deep); }
@media (max-width: 900px) { .ily-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ily-services { grid-template-columns: 1fr; } }

/* 8. Kernwaarden */
.ily-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ily-value { border-radius: var(--ily-r-xl) var(--ily-r-md) var(--ily-r-xl) var(--ily-r-xl); padding: clamp(26px, 3vw, 36px); background: var(--ily-lilac-soft); }
.ily-value:nth-child(2) { background: var(--ily-pink-soft); }
.ily-value:nth-child(3) { background: var(--ily-blue-soft); }
.ily-value h3 { max-width: 14ch; }
.ily-value p { color: var(--ily-ink-soft); }
@media (max-width: 820px) { .ily-values { grid-template-columns: 1fr; } }

/* 9. Partners */
.ily-partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.ily-partners li {
  background: #fff; border: 1px solid var(--ily-line); border-radius: var(--ily-r-md);
  height: 132px; display: grid; place-items: center; padding: 20px 24px; margin: 0;
}
.ily-partners img { max-height: 84px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 900px) { .ily-partners { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ily-partners { grid-template-columns: repeat(2, 1fr); gap: 12px; } .ily-partners li { height: 104px; padding: 14px; } .ily-partners img { max-height: 64px; } }

/* 10. CTA-band */
.ily-cta {
  border-radius: var(--ily-r-xl); padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(120deg, var(--ily-pink-soft), var(--ily-lilac) 60%, var(--ily-blue-soft));
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center;
}
.ily-cta h2 { margin-bottom: .3em; }
.ily-cta p { color: var(--ily-ink-soft); margin: 0; }
.ily-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 760px) { .ily-cta { grid-template-columns: 1fr; } .ily-cta__actions { justify-content: flex-start; } }

/* 11. Inhoudspagina's met zij-navigatie */
.ily-page { padding-block: clamp(40px, 6vw, 72px); }
.ily-page__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ily-page__grid--single { grid-template-columns: minmax(0, 1fr); max-width: 780px; }
.ily-toc { position: sticky; top: 112px; background: #fff; border: 1px solid var(--ily-line); border-radius: var(--ily-r-lg); padding: 20px 18px; }
.ily-toc__title { font-family: var(--ily-font-display); font-weight: 600; font-size: 1rem; color: var(--ily-purple-deep); margin: 0 0 10px 8px; }
.ily-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ily-toc li { margin: 0; }
.ily-toc a { display: block; padding: 9px 12px; border-radius: 12px; text-decoration: none; color: var(--ily-ink); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.ily-toc a:hover { background: var(--ily-lilac-soft); }
.ily-toc a.is-active { background: var(--ily-blue-soft); color: var(--ily-blue-deep); }
@media (max-width: 900px) {
  .ily-page__grid { grid-template-columns: 1fr; }
  .ily-toc { position: static; }
  .ily-toc ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .ily-toc a { background: var(--ily-lilac-soft); border-radius: var(--ily-r-pill); padding: 8px 14px; }
}

.ily-prose { max-width: 70ch; }
.ily-prose h2 { margin-top: 2.2em; scroll-margin-top: 120px; }
.ily-prose h3 { margin-top: 1.6em; scroll-margin-top: 120px; }
.ily-prose > *:first-child, .ily-prose > *:first-child > *:first-child { margin-top: 0; }
.ily-prose ul li::marker { color: var(--ily-pink-deep); }
.ily-prose p:empty { display: none; }

/* Blokken in de pagina-inhoud */
.ily-card { background: #fff; border: 1px solid var(--ily-line); border-radius: var(--ily-r-lg); padding: clamp(22px, 3vw, 32px); margin: 1.4em 0; }
.ily-card--tint { background: var(--ily-lilac-soft); border-color: transparent; }
.ily-card--pink { background: var(--ily-pink-soft); border-color: transparent; }
.ily-card--blue { background: var(--ily-blue-soft); border-color: transparent; }
.ily-card h2, .ily-card h3 { margin-top: 0; }
.ily-card > :last-child { margin-bottom: 0; }
.ily-note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; margin: 1.4em 0; border-radius: var(--ily-r-md); background: var(--ily-blue-soft); }
.ily-note::before { content: "i"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ily-blue-deep); color: #fff; display: grid; place-items: center; font-family: var(--ily-font-display); font-weight: 700; margin-top: 2px; }
.ily-service-detail { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; margin-top: 2.6em; scroll-margin-top: 120px; }
.ily-prose > .ily-service-detail:first-child { margin-top: 0; }
.ily-service-detail h2 { margin-top: 0; }
.ily-service-detail > p { display: contents; }
.ily-lang { display: flex; flex-wrap: wrap; gap: 8px; margin: .6em 0 0; padding: 0; list-style: none; }
.ily-lang li { background: #fff; border: 1px solid var(--ily-line); border-radius: var(--ily-r-pill); padding: 5px 13px; font-size: .9rem; font-weight: 700; color: var(--ily-purple-deep); margin: 0; }
.ily-checklist { list-style: none; padding: 0; display: grid; gap: 10px; }
.ily-checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.ily-checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px;
  background: var(--ily-pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B85A80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.ily-checklist--x li::before {
  background: var(--ily-lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236F5C90' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.ily-person { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: start; }
.ily-person > p { display: contents; }
.ily-person__photo {
  aspect-ratio: 4/5; border-radius: 36px 36px 36px 12px; overflow: hidden;
  background: linear-gradient(160deg, var(--ily-pink-soft), var(--ily-lilac));
  display: grid; place-items: center;
  color: var(--ily-purple-deep); font-family: var(--ily-font-display); font-weight: 600; font-size: 2.6rem; letter-spacing: .04em;
}
.ily-person__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .ily-person { grid-template-columns: 1fr; } .ily-person__photo { max-width: 160px; } .ily-service-detail { grid-template-columns: 1fr; gap: 10px; } }

/* Contact */
.ily-contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.ily-contact__info { display: grid; gap: 14px; margin-top: 28px; }
.ily-contact__item {
  display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--ily-line);
  border-radius: var(--ily-r-md); padding: 16px 20px; text-decoration: none; color: var(--ily-ink);
}
a.ily-contact__item:hover { border-color: var(--ily-pink); color: var(--ily-ink); }
.ily-contact__item .ily-service__icon { width: 44px; height: 44px; border-radius: 14px; }
.ily-contact__item .ily-service__icon svg { width: 22px; height: 22px; }
.ily-contact__item strong { display: block; font-family: var(--ily-font-display); font-weight: 600; line-height: 1.3; }
.ily-contact__item small { color: var(--ily-ink-soft); font-size: .92rem; }
.ily-map { border-radius: var(--ily-r-lg); overflow: hidden; border: 1px solid var(--ily-line); }
.ily-map iframe { width: 100%; height: 280px; border: 0; display: block; }
@media (max-width: 820px) { .ily-contact { grid-template-columns: 1fr; } }

.ily-form { background: var(--ily-lilac-soft); border-radius: var(--ily-r-xl); padding: clamp(24px, 4vw, 40px); }
.ily-form h2 { margin-top: 0; }
.ily-form__row { margin-bottom: 18px; }
.ily-form label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.ily-form input[type="text"], .ily-form input[type="email"], .ily-form textarea {
  width: 100%; border: 2px solid transparent; background: #fff; border-radius: var(--ily-r-md);
  padding: 14px 16px; font: inherit; color: var(--ily-ink); transition: border-color .15s;
}
.ily-form textarea { min-height: 150px; resize: vertical; }
.ily-form input:focus, .ily-form textarea:focus { outline: none; border-color: var(--ily-blue-deep); }
.ily-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ily-form__msg { border-radius: var(--ily-r-md); padding: 14px 18px; margin-bottom: 18px; font-weight: 600; }
.ily-form__msg--ok { background: var(--ily-blue-soft); color: var(--ily-blue-deep); }
.ily-form__msg--err { background: var(--ily-pink-soft); color: var(--ily-pink-deep); }
.ily-form__note { color: var(--ily-ink-soft); font-size: .9rem; margin-top: 14px; }

/* 12. Footer */
.ily-footer { margin-top: clamp(40px, 6vw, 80px); background: var(--ily-ink); color: #E8E2F1; border-radius: var(--ily-r-xl) var(--ily-r-xl) 0 0; }
.ily-footer a { color: #fff; text-decoration: none; }
.ily-footer a:hover { color: var(--ily-pink); }
.ily-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-block: clamp(44px, 6vw, 72px) 40px; }
.ily-footer__brand img { height: 92px; width: auto; background: #fff; border-radius: 20px; padding: 10px; }
.ily-footer__brand p { color: #C4BCD4; margin-top: 16px; max-width: 34ch; }
.ily-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.ily-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ily-footer li { margin: 0; }
.ily-footer__quality { display: inline-flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ily-footer__quality img { width: 88px; height: 88px; border-radius: 18px; }
.ily-footer__quality span { font-weight: 700; }
.ily-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.ily-footer__contact svg { width: 16px; height: 16px; flex: none; color: var(--ily-pink); margin-top: 6px; }
.ily-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px; font-size: .9rem; color: #C4BCD4;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}
.ily-footer__bottom a { color: #E8E2F1; }
@media (max-width: 900px) { .ily-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ily-footer__grid { grid-template-columns: 1fr; gap: 28px; } }

.ily-totop {
  position: fixed; right: 18px; bottom: 18px; z-index: 800; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--ily-pink); color: var(--ily-ink); box-shadow: var(--ily-shadow);
  display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .2s, transform .2s;
}
.ily-totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.ily-totop svg { width: 20px; height: 20px; }

/* 13. WordPress-standaard */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: .9rem; color: var(--ily-ink-soft); text-align: center; margin-top: .5em; }
.ily-prose img { border-radius: var(--ily-r-lg); }

/* ==========================================================================
   14. Merk: beeldmerk in tegel + naam
   ========================================================================== */
.ily-brand { gap: 12px; }
.ily-brand__mark {
  width: 58px; height: 58px; border-radius: 18px; background: #fff; flex: none;
  display: grid; place-items: center; border: 1px solid var(--ily-line);
  box-shadow: 0 8px 20px -12px rgba(111, 92, 144, .55);
}
.ily-brand .ily-brand__mark img { width: 42px; height: auto; }
.ily-brand__name { display: flex; flex-direction: column; line-height: 1; font-family: var(--ily-font-display); }
.ily-brand__name strong { font-size: 1.45rem; font-weight: 600; letter-spacing: .14em; color: var(--ily-blue-deep); }
.ily-brand__name span { margin-top: 5px; font-size: .74rem; font-weight: 600; letter-spacing: .26em; color: var(--ily-purple-deep); }
@media (max-width: 480px) {
  .ily-brand__mark { width: 50px; height: 50px; border-radius: 15px; }
  .ily-brand .ily-brand__mark img { width: 36px; }
  .ily-brand__name strong { font-size: 1.25rem; }
}

/* ==========================================================================
   15. Header over de fotohero (homepagina)
   ========================================================================== */
.ily-has-photo-hero .ily-masthead { position: absolute; top: 0; left: 0; right: 0; z-index: 900; }
.admin-bar.ily-has-photo-hero .ily-masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar.ily-has-photo-hero .ily-masthead { top: 46px; } }
.ily-has-photo-hero .ily-topbar { background: transparent; border-bottom-color: rgba(255, 255, 255, .16); }
.ily-has-photo-hero .ily-topbar__contacts a { color: rgba(255, 255, 255, .88); }
.ily-has-photo-hero .ily-topbar__contacts a:hover { color: #fff; }
.ily-has-photo-hero .ily-topbar__contacts svg { color: var(--ily-pink-soft); }
.ily-has-photo-hero .ily-topbar__tagline { color: #fff; }
@media (max-width: 767px) { .ily-has-photo-hero .ily-topbar { display: none; } }

.ily-has-photo-hero .ily-header { position: relative; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.ily-has-photo-hero .ily-header:not(.is-fixed) .ily-brand__name strong { color: #fff; }
.ily-has-photo-hero .ily-header:not(.is-fixed) .ily-brand__name span { color: var(--ily-pink-soft); }
.ily-has-photo-hero .ily-header:not(.is-fixed) .ily-menu-toggle { background: rgba(43, 37, 62, .82); color: #fff; }
@media (min-width: 961px) {
  .ily-has-photo-hero .ily-header:not(.is-fixed) .ily-nav a { color: #fff; }
  .ily-has-photo-hero .ily-header:not(.is-fixed) .ily-nav a:hover { background: rgba(255, 255, 255, .14); }
  .ily-has-photo-hero .ily-header:not(.is-fixed) .ily-nav .ily-nav__cta > a { color: var(--ily-ink); }
}
.ily-has-photo-hero .ily-header.is-fixed {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255, 252, 253, .96); border-bottom-color: var(--ily-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -22px rgba(59, 52, 82, .6);
  animation: ily-drop .28s ease both;
}
.admin-bar.ily-has-photo-hero .ily-header.is-fixed { top: 32px; }
@media (max-width: 782px) { .admin-bar.ily-has-photo-hero .ily-header.is-fixed { top: 0; } }
@keyframes ily-drop { from { transform: translateY(-100%); } to { transform: none; } }

/* ==========================================================================
   16. Fotohero
   ========================================================================== */
.ily-photo-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; text-align: center; color: #fff;
  padding-block: 132px 60px;
  background: linear-gradient(150deg, var(--ily-purple-deep), var(--ily-ink));
}
@media (min-width: 961px) { .ily-photo-hero { min-height: min(100svh, 880px); padding-block: 190px 100px; } }
.ily-photo-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; }
.ily-photo-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(110% 70% at 100% 0%, rgba(234, 147, 181, .34), transparent 60%),
    linear-gradient(180deg, rgba(59, 52, 82, .58) 0%, rgba(59, 52, 82, .52) 38%, rgba(64, 50, 92, .84) 100%);
}
.ily-photo-hero__inner { max-width: 820px; }
.ily-photo-hero__eyebrow { font-family: var(--ily-font-display); font-weight: 500; font-size: clamp(1rem, 1.6vw, 1.15rem); letter-spacing: .04em; color: var(--ily-pink-soft); margin: 0 0 18px; }
.ily-photo-hero h1 { color: #fff; font-size: clamp(2.5rem, 7vw, 4.4rem); line-height: 1.08; max-width: 15ch; margin: 0 auto .45em; text-wrap: balance; }
.ily-photo-hero__lead { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.6; color: rgba(255, 255, 255, .92); max-width: 50ch; margin: 0 auto 2em; text-wrap: pretty; }
.ily-photo-hero__actions { display: grid; gap: 22px; justify-items: center; max-width: 460px; margin: 0 auto; }
.ily-btn--hero {
  width: 100%; justify-content: center; background: var(--ily-cream); color: var(--ily-ink);
  border-radius: 20px; padding: 20px 28px; font-size: 1.15rem;
  box-shadow: inset 6px 0 0 var(--ily-pink), 0 16px 34px -16px rgba(0, 0, 0, .5);
}
.ily-btn--hero:hover { background: var(--ily-pink-soft); color: var(--ily-ink); }
.ily-photo-hero__link {
  display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%;
  padding-bottom: 16px; border-bottom: 2px solid rgba(255, 255, 255, .5);
  color: #fff; text-decoration: none; font-family: var(--ily-font-display); font-weight: 600; font-size: 1.1rem;
}
.ily-photo-hero__link:hover { color: #fff; border-bottom-color: var(--ily-pink); }
.ily-photo-hero__link svg { width: 20px; height: 20px; }
.ily-photo-hero__note { margin: 26px 0 0; font-size: .98rem; color: rgba(255, 255, 255, .85); }
.ily-photo-hero__note a { color: #fff; font-weight: 700; }

/* Paginakop met foto */
.ily-page-hero--photo { background: var(--ily-ink); padding-block: clamp(72px, 10vw, 128px); }
.ily-page-hero--photo::after { display: none; }
.ily-page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ily-page-hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(59, 52, 82, .9) 0%, rgba(59, 52, 82, .66) 55%, rgba(111, 92, 144, .38) 100%);
}
.ily-page-hero--photo h1 { color: #fff; }
.ily-page-hero--photo p { color: rgba(255, 255, 255, .92); }
.ily-page-hero--photo .ily-breadcrumb { color: rgba(255, 255, 255, .8); }
.ily-page-hero--photo .ily-breadcrumb a { color: var(--ily-pink-soft); }

/* ==========================================================================
   17. Over Ilyada met foto, doelgroepen, stappen, foto's in de inhoud
   ========================================================================== */
.ily-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.ily-about__photo { position: relative; isolation: isolate; margin: 0; }
.ily-about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px 40px 40px; }
.ily-about__photo::before { content: ""; position: absolute; inset: 26px -20px -20px 26px; z-index: -1; background: var(--ily-lilac); border-radius: 220px 220px 40px 40px; }
.ily-about__badge {
  position: absolute; left: -14px; bottom: 32px; background: #fff; border-radius: 18px; padding: 14px 20px;
  box-shadow: var(--ily-shadow); text-align: left; margin: 0;
}
.ily-about__badge strong { display: block; font-family: var(--ily-font-display); font-weight: 600; font-size: 1.25rem; color: var(--ily-pink-deep); line-height: 1.2; }
.ily-about__badge span { font-size: .92rem; color: var(--ily-ink-soft); }
@media (max-width: 820px) {
  .ily-about { grid-template-columns: 1fr; }
  .ily-about__photo { max-width: 400px; margin-inline: auto; width: calc(100% - 20px); }
  .ily-about__badge { left: -10px; }
}
.ily-chips { list-style: none; padding: 0; margin: 1.2em 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ily-chips li { display: inline-flex; align-items: center; gap: 8px; margin: 0; background: var(--ily-blue-soft); border-radius: var(--ily-r-pill); padding: 8px 15px; font-weight: 700; font-size: .95rem; }
.ily-chips svg { width: 16px; height: 16px; color: var(--ily-pink-deep); }

.ily-audience { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ily-audience li { display: flex; gap: 16px; align-items: flex-start; margin: 0; background: #fff; border: 1px solid var(--ily-line); border-radius: var(--ily-r-lg); padding: 22px; }
.ily-audience h3 { margin: 4px 0 4px; font-size: 1.15rem; }
.ily-audience p { margin: 0; color: var(--ily-ink-soft); }
@media (max-width: 700px) { .ily-audience { grid-template-columns: 1fr; } }

.ily-steps { list-style: none; counter-reset: ily-step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ily-steps li { counter-increment: ily-step; position: relative; margin: 0; background: #fff; border-radius: var(--ily-r-lg); padding: 70px 22px 24px; }
.ily-steps li::before {
  content: counter(ily-step); position: absolute; top: 22px; left: 22px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ily-pink); color: var(--ily-ink); display: grid; place-items: center;
  font-family: var(--ily-font-display); font-weight: 700;
}
.ily-steps h3 { margin: 0 0 6px; font-size: 1.15rem; }
.ily-steps p { margin: 0; color: var(--ily-ink-soft); }
@media (max-width: 960px) { .ily-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ily-steps { grid-template-columns: 1fr; } }

.ily-figure { margin: 1.4em 0 0; }
.ily-figure img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--ily-r-lg); }
.ily-funding { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 1.2em 0; }
.ily-funding .ily-card { margin: 0; }
.ily-funding h3 { font-size: 1.1rem; margin-bottom: .3em; }
@media (max-width: 640px) { .ily-funding { grid-template-columns: 1fr; } }
/* ==========================================================================
   18. Uitsnede per scherm
   ========================================================================== */
.ily-photo-hero__bg, .ily-page-hero__bg, .ily-contact-hero__bg { object-position: var(--focus, 50% 40%); }
@media (max-width: 767px) {
  .ily-photo-hero__bg, .ily-page-hero__bg, .ily-contact-hero__bg { object-position: var(--focus-m, var(--focus, 50% 40%)); }
}

/* ==========================================================================
   19. Contact: fotobanner met formulier
   ========================================================================== */
.ily-contact-hero { position: relative; isolation: isolate; color: #fff; padding-top: clamp(40px, 6vw, 88px); }
.ily-contact-hero__media {
  position: absolute; inset: 0 0 clamp(80px, 12vw, 150px) 0; z-index: -1; overflow: hidden;
  border-radius: 0 0 var(--ily-r-xl) var(--ily-r-xl);
  background: linear-gradient(150deg, var(--ily-purple-deep), var(--ily-ink));
}
.ily-contact-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 0% 100%, rgba(234, 147, 181, .30), transparent 60%),
    linear-gradient(100deg, rgba(59, 52, 82, .92) 0%, rgba(59, 52, 82, .72) 50%, rgba(64, 50, 92, .5) 100%);
}
.ily-contact-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ily-contact-hero__grid { display: grid; grid-template-columns: 1fr minmax(0, 500px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ily-contact-hero__text { padding-block: clamp(8px, 3vw, 40px) 40px; }
.ily-contact-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: .3em; }
.ily-contact-hero .ily-breadcrumb { color: rgba(255, 255, 255, .8); }
.ily-contact-hero .ily-breadcrumb a { color: var(--ily-pink-soft); }
.ily-contact-hero__lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: rgba(255, 255, 255, .92); max-width: 36ch; margin-bottom: 1.6em; }
.ily-contact-hero__quick { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 420px; }
.ily-contact-hero__quick li { margin: 0; }
.ily-contact-hero__quick a {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; text-decoration: none; transition: background .2s, transform .2s;
}
.ily-contact-hero__quick small { display: block; font-size: .85rem; color: rgba(255, 255, 255, .78); }
.ily-contact-hero__quick strong { font-family: var(--ily-font-display); font-weight: 600; font-size: 1.15rem; }
.ily-contact-hero__icon { width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--ily-pink); color: var(--ily-ink); }
.ily-contact-hero__icon svg { width: 20px; height: 20px; }
.ily-contact-hero__form .ily-form {
  background: #fff; color: var(--ily-ink); border-radius: 32px;
  box-shadow: 0 30px 70px -30px rgba(43, 37, 62, .55), 0 0 0 1px var(--ily-line);
}
.ily-contact-hero__form .ily-form input[type="text"],
.ily-contact-hero__form .ily-form input[type="email"],
.ily-contact-hero__form .ily-form textarea { background: var(--ily-mist); }
.ily-contact-hero__form .ily-form input:focus, .ily-contact-hero__form .ily-form textarea:focus { background: #fff; }
.ily-contact-hero__form .ily-btn { width: 100%; justify-content: center; }
.ily-contact-more { padding-top: clamp(48px, 6vw, 80px); }
.ily-contact-more__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ily-contact-cards { display: grid; gap: 14px; }
.ily-contact-card {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--ily-r-md);
  background: #fff; border: 1px solid var(--ily-line); text-decoration: none; color: var(--ily-ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ily-contact-card small { display: block; color: var(--ily-ink-soft); font-size: .9rem; }
.ily-contact-card strong { font-family: var(--ily-font-display); font-weight: 600; line-height: 1.3; }
.ily-contact-card .ily-service__icon { width: 46px; height: 46px; border-radius: 14px; }
.ily-contact-card .ily-service__icon svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .ily-contact-hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .ily-contact-hero__text { padding-bottom: 16px; }
  .ily-contact-hero__media { inset: 0 0 clamp(140px, 30vw, 260px) 0; }
  .ily-contact-more__grid { grid-template-columns: 1fr; }
}

/* Moderne kaart */
.ily-mapcard {
  position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(36px, 5vw, 56px);
  height: clamp(380px, 46vw, 500px); border-radius: 32px; background: var(--ily-lilac-soft);
  box-shadow: 0 24px 60px -34px rgba(59, 52, 82, .55);
}
.ily-mapcard iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) saturate(.85) contrast(1.03); transition: filter .5s ease; }
.ily-mapcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(229, 215, 240, .35), rgba(220, 234, 247, .25) 55%, rgba(247, 211, 224, .35));
  mix-blend-mode: multiply; transition: opacity .5s ease;
}
.ily-mapcard:not(.is-active) iframe { pointer-events: none; }
.ily-mapcard.is-active iframe { filter: none; }
.ily-mapcard.is-active::after { opacity: 0; }
.ily-mapcard__activate {
  position: absolute; top: 16px; right: 16px; z-index: 2; border: 0; cursor: pointer;
  padding: 10px 16px; border-radius: var(--ily-r-pill); font: 600 .92rem var(--ily-font-display);
  background: rgba(255, 255, 255, .88); color: var(--ily-ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px -12px rgba(59, 52, 82, .5); transition: opacity .3s, transform .3s;
}
.ily-mapcard.is-active .ily-mapcard__activate { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.ily-mapcard__panel {
  position: absolute; left: 20px; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  max-width: calc(100% - 40px); padding: 18px 20px; border-radius: 24px; background: #fff;
  box-shadow: 0 20px 50px -24px rgba(43, 37, 62, .55);
}
.ily-mapcard__pin {
  width: 50px; height: 50px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--ily-pink); color: var(--ily-ink); animation: ily-pulse 2.4s ease-out infinite;
}
.ily-mapcard__pin svg { width: 24px; height: 24px; }
.ily-mapcard__addr strong { display: block; font-family: var(--ily-font-display); font-weight: 600; font-size: 1.1rem; }
.ily-mapcard__addr span { color: var(--ily-ink-soft); line-height: 1.45; }
@keyframes ily-pulse { 0% { box-shadow: 0 0 0 0 rgba(234, 147, 181, .6); } 80%, 100% { box-shadow: 0 0 0 16px rgba(234, 147, 181, 0); } }
@media (max-width: 600px) {
  .ily-mapcard { height: 460px; border-radius: 26px; }
  .ily-mapcard__panel { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .ily-mapcard__panel .ily-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   20. Beweging: binnenkomst, scrollen, hover
   ========================================================================== */
@keyframes ily-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ily-zoom { from { scale: 1.12; } to { scale: 1; } }
@keyframes ily-fade { from { opacity: 0; } to { opacity: 1; } }

.ily-photo-hero__bg, .ily-page-hero__bg, .ily-contact-hero__bg { animation: ily-zoom 2.4s cubic-bezier(.2, .7, .2, 1) both; will-change: translate, scale; }
.ily-photo-hero__inner > *, .ily-page-hero__inner > *, .ily-contact-hero__text > * { animation: ily-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.ily-photo-hero__inner > :nth-child(1), .ily-page-hero__inner > :nth-child(1), .ily-contact-hero__text > :nth-child(1) { animation-delay: .15s; }
.ily-photo-hero__inner > :nth-child(2), .ily-page-hero__inner > :nth-child(2), .ily-contact-hero__text > :nth-child(2) { animation-delay: .28s; }
.ily-photo-hero__inner > :nth-child(3), .ily-page-hero__inner > :nth-child(3), .ily-contact-hero__text > :nth-child(3) { animation-delay: .42s; }
.ily-photo-hero__inner > :nth-child(4), .ily-contact-hero__text > :nth-child(4) { animation-delay: .56s; }
.ily-photo-hero__inner > :nth-child(5) { animation-delay: .7s; }
.ily-contact-hero__form { animation: ily-rise 1s cubic-bezier(.2, .7, .2, 1) .45s both; }
.ily-masthead { display: contents; }
.ily-has-photo-hero .ily-masthead { display: block; animation: ily-fade .8s ease .1s both; }

html.ily-anim .ily-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
html.ily-anim .ily-reveal.is-in { opacity: 1; transform: none; }

.ily-btn svg, .ily-photo-hero__link svg { transition: transform .25s ease; }
.ily-service__icon { transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), background .3s; }
.ily-value, .ily-audience li, .ily-steps li, .ily-partners li, .ily-card, .ily-figure img, .ily-about__photo img { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.ily-steps li::before { transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), background .3s, color .3s; }
.ily-figure { overflow: hidden; border-radius: var(--ily-r-lg); }
.ily-partners img { transition: transform .3s ease; }

@media (hover: hover) and (pointer: fine) {
  .ily-btn:hover svg { transform: translateX(4px); }
  .ily-photo-hero__link:hover svg { transform: translateX(6px); }
  .ily-service:hover .ily-service__icon { transform: rotate(-8deg) scale(1.1); }
  .ily-value:hover { transform: translateY(-5px); box-shadow: var(--ily-shadow); }
  .ily-audience li:hover { transform: translateY(-4px); border-color: var(--ily-pink); box-shadow: var(--ily-shadow); }
  .ily-audience li:hover .ily-service__icon { transform: scale(1.08); }
  .ily-steps li:hover { transform: translateY(-4px); box-shadow: var(--ily-shadow); }
  .ily-steps li:hover::before { transform: scale(1.15); background: var(--ily-pink-deep); color: #fff; }
  .ily-partners li:hover { transform: translateY(-4px); box-shadow: var(--ily-shadow); }
  .ily-partners li:hover img { transform: scale(1.06); }
  .ily-figure:hover img { transform: scale(1.04); }
  .ily-about__photo:hover img { transform: scale(1.015); }
  .ily-contact-card:hover { transform: translateY(-3px); border-color: var(--ily-pink); box-shadow: var(--ily-shadow); }
  .ily-contact-hero__quick a:hover { background: rgba(255, 255, 255, .2); transform: translateX(4px); }
  .ily-footer a { transition: color .2s, padding .2s; }
}
.ily-btn:active, .ily-service:active, .ily-contact-card:active, .ily-contact-hero__quick a:active, .ily-audience li:active { transform: scale(.98); }

/* Mobiel menu: zacht openen */
@media (max-width: 960px) {
  .ily-nav {
    display: block; opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .ily-nav.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .25s ease, transform .25s ease; }
  .ily-nav.is-open li { animation: ily-rise .45s cubic-bezier(.2, .7, .2, 1) both; }
  .ily-nav.is-open li:nth-child(2) { animation-delay: .04s; }
  .ily-nav.is-open li:nth-child(3) { animation-delay: .08s; }
  .ily-nav.is-open li:nth-child(4) { animation-delay: .12s; }
  .ily-nav.is-open li:nth-child(5) { animation-delay: .16s; }
  .ily-nav.is-open li:nth-child(6) { animation-delay: .2s; }
}

@media (prefers-reduced-motion: reduce) {
  html.ily-anim .ily-reveal { opacity: 1; transform: none; }
  .ily-mapcard__pin { animation: none; }
}
/* ==========================================================================
   21. Footer zonder logo
   ========================================================================== */
.ily-footer__brand p { margin-top: 0; }

/* ==========================================================================
   22. Mobiel menu schermvullend
   ========================================================================== */
.ily-nav__contact { display: none; }
@media (max-width: 960px) {
  .ily-brand, .ily-menu-toggle { position: relative; z-index: 2; }
  .ily-nav {
    position: fixed; inset: 0; z-index: 1; top: 0; left: 0; right: 0;
    display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 150px 28px 36px; border: 0; box-shadow: none;
    background:
      radial-gradient(70% 45% at 100% 0%, rgba(247, 211, 224, .95), transparent 70%),
      radial-gradient(70% 45% at 0% 100%, rgba(220, 234, 247, .95), transparent 70%),
      var(--ily-cream);
  }
  .ily-nav ul { gap: 0; }
  .ily-nav li { border-bottom: 1px solid var(--ily-line); }
  .ily-nav a, .ily-has-photo-hero .ily-header .ily-nav a {
    display: block; padding: 16px 4px; border-radius: 0; background: none;
    font-family: var(--ily-font-display); font-weight: 600; font-size: clamp(1.6rem, 7vw, 2.1rem); line-height: 1.2; color: var(--ily-ink);
  }
  .ily-nav .current-menu-item > a, .ily-nav .current_page_item > a { background: none; color: var(--ily-pink-deep); }
  .ily-nav li.ily-nav__cta { border-bottom: 0; }
  .ily-nav .ily-nav__cta > a, .ily-has-photo-hero .ily-header .ily-nav .ily-nav__cta > a {
    margin: 24px 0 0; padding: 18px 24px; border-radius: var(--ily-r-pill); text-align: center;
    font-size: 1.2rem; background: var(--ily-pink); color: var(--ily-ink);
  }
  .ily-nav__contact { display: grid; gap: 10px; margin-top: auto; padding-top: 32px; }
  .ily-nav__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--ily-ink); font-weight: 700; text-decoration: none; }
  .ily-nav__contact svg { width: 18px; height: 18px; color: var(--ily-pink-deep); }
  .ily-nav__contact span { color: var(--ily-purple-deep); font-family: var(--ily-font-display); }
  html.ily-menu-open, html.ily-menu-open body { overflow: hidden; }
  html.ily-menu-open .ily-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.ily-menu-open .ily-has-photo-hero .ily-header:not(.is-fixed) .ily-brand__name strong { color: var(--ily-blue-deep); }
  html.ily-menu-open .ily-has-photo-hero .ily-header:not(.is-fixed) .ily-brand__name span { color: var(--ily-purple-deep); }
  html.ily-menu-open .ily-menu-toggle { background: var(--ily-ink); color: #fff; }
}

/* ==========================================================================
   23. Mobiel: foto volledig bovenaan op subpagina's en contact
   ========================================================================== */
@media (max-width: 767px) {

  .ily-page-hero--photo { padding: 0 0 40px; background: #3a3150; }
  .ily-page-hero--photo .ily-page-hero__bg { position: relative; inset: auto; z-index: 0; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; translate: none !important; }
  .ily-page-hero--photo::before { inset: auto; top: 0; left: 0; right: 0; height: calc(100vw * 2 / 3 + 2px); z-index: 1; background: linear-gradient(180deg, rgba(58, 49, 80, 0) 50%, #3a3150 100%); }
  .ily-page-hero--photo .ily-container { position: relative; z-index: 2; margin-top: -20px; }

  .ily-contact-hero { padding-top: 0; background: linear-gradient(180deg, #3a3150 0, #3a3150 calc(100% - 170px), transparent calc(100% - 170px)); }
  .ily-contact-hero__media { position: relative; inset: auto; border-radius: 0; aspect-ratio: 3 / 2; }
  .ily-contact-hero__bg { translate: none !important; }
  .ily-contact-hero__media::after { background: linear-gradient(180deg, rgba(58, 49, 80, 0) 50%, #3a3150 100%); }
  .ily-contact-hero__grid { position: relative; margin-top: -20px; }
}
/* ==========================================================================
   24. Homepagina-hero mobiel: schermvullende foto, tekst erover
   ========================================================================== */
@media (max-width: 767px) {
  .ily-photo-hero {
    display: flex; align-items: center; min-height: 100vh; min-height: 100svh;
    padding: 112px 0 44px; background: #2f2842;
  }
  .ily-photo-hero__bg {
    position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
    object-fit: cover; object-position: var(--focus-m, 50% 50%); translate: none !important;
  }
  .ily-photo-hero::before {
    inset: 0; z-index: -1;
    background:
      radial-gradient(90% 50% at 100% 0%, rgba(234, 147, 181, .22), transparent 70%),
      linear-gradient(180deg, rgba(34, 28, 50, .62) 0%, rgba(34, 28, 50, .5) 40%, rgba(34, 28, 50, .58) 70%, rgba(40, 32, 60, .82) 100%);
  }
  .ily-photo-hero__inner { position: relative; margin-top: 0; }
  .ily-photo-hero__eyebrow { font-size: 1.02rem; margin-bottom: 14px; color: #fff; opacity: .92; }
  .ily-photo-hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.2rem); line-height: 1.06; text-shadow: 0 2px 24px rgba(20, 16, 32, .35); }
  .ily-photo-hero__lead { font-size: 1.1rem; line-height: 1.55; margin-bottom: 1.8em; text-shadow: 0 1px 14px rgba(20, 16, 32, .4); }
  .ily-photo-hero__actions { gap: 26px; }
  .ily-btn--hero { padding: 21px 24px; font-size: 1.15rem; border-radius: 18px; }
  .ily-photo-hero__note { margin-top: 22px; font-size: .95rem; }
}

/* 25. Foto bestuurder */
.ily-person__photo:has(img) { box-shadow: var(--ily-shadow); }
.ily-person__photo img { object-position: 50% 28%; }
@media (max-width: 600px) { .ily-person__photo:has(img) { max-width: 220px; } }
