/* =============================================================
   Skydent — Homepage sections
   Rendered by [sk_*] shortcodes (inc/home-sections.php), placed
   inside Elementor HTML widgets. Loaded only on the front page.
   ============================================================= */

/* ---------- HERO (Skydent (3): full-bleed background image + overlay) ---------- */
.sk-hero { position: relative; min-height: 460px; display: flex; align-items: center; padding-top: 40px; padding-bottom: 116px; overflow: hidden; }
.sk-hero__bg { position: absolute; inset: 0; z-index: 0; background: url('../img/hero-pand.png?v=2') center 50% / cover no-repeat; }
.sk-hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, oklch(0.30 0.05 230 / 0.78) 0%, oklch(0.30 0.05 230 / 0.42) 55%, oklch(0.30 0.05 230 / 0.20) 100%),
    linear-gradient(0deg, oklch(0.25 0.05 235 / 0.55), transparent 45%);
}
.sk-hero__inner { position: relative; z-index: 2; width: 100%; }
.sk-hero__copy { max-width: 760px; }
.sk-hero h1 { color: #fff; font-size: clamp(30px, 3.5vw, 44px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 18px; text-shadow: 0 2px 20px oklch(0.20 0.04 235 / 0.35); }
.sk-hero__sub { color: oklch(0.96 0.01 220); font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; }
@media (max-width: 900px) {
  .sk-hero { min-height: 420px; padding-bottom: 104px; }
}
@media (max-width: 640px) {
  /* Symmetric padding so the flex (align-items:center) puts the copy dead-centre. */
  .sk-hero { min-height: 360px; padding-top: 32px; padding-bottom: 32px; }
  .sk-hero__bg { background-position: center 55%; }
  /* Centre the hero copy on phones — horizontally and vertically. */
  .sk-hero__copy { max-width: 100%; text-align: center; margin: 0 auto; }
  .sk-hero h1 { font-size: 25px; line-height: 1.2; margin-bottom: 12px; }
  .sk-hero__sub { font-size: 16px; }
}

/* ---------- QUICK CONTACT (Skydent (3): teal cards, centered, big icon) ---------- */
.sk-ctarow { position: relative; z-index: 5; margin-top: -84px; }
.sk-ctarow__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sk-cta {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  background: var(--sk-primary); color: #fff;
  padding: 34px 26px; border-radius: 10px;
  box-shadow: 0 18px 40px -18px oklch(0.40 0.07 210 / .55);
  transition: transform var(--sk-dur) var(--sk-ease), background var(--sk-dur) var(--sk-ease), box-shadow var(--sk-dur) var(--sk-ease);
}
.sk-cta:hover { transform: translateY(-4px); background: var(--sk-primary-dark); color: #fff; box-shadow: 0 22px 48px -18px oklch(0.40 0.07 210 / .6); }
.sk-cta__icon { flex: none; display: grid; place-items: center; color: #fff; }
.sk-cta__icon svg { width: 40px; height: 40px; stroke-width: 1.6; }
.sk-cta__label { font-size: 12.5px; font-weight: var(--sk-fw-semi); letter-spacing: .08em; text-transform: uppercase; color: oklch(1 0 0 / .82); }
.sk-cta__value { font-family: var(--sk-font-head); font-weight: var(--sk-fw-semi); font-size: 17px; color: #fff; }
@media (max-width: 820px) {
  .sk-ctarow__grid { grid-template-columns: 1fr; gap: 14px; }
  /* Once the cards stack, drop the hero overlap — a single column sitting on top
     of the hero image looked awkward on mobile. Cards now flow below the hero. */
  .sk-ctarow { margin-top: 24px; }
  .sk-hero { padding-bottom: 32px; }
  /* Slimmer cards when stacked (full-width) — less wasted height per card. */
  .sk-cta { padding: 20px 24px; gap: 10px; }
  .sk-cta__icon svg { width: 32px; height: 32px; }
}

/* ---------- WELKOM / INTRO (design: photo left in an offset frame) ---------- */
.sk-intro__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: center; }
.sk-intro__content { order: 2; }
.sk-intro__media { order: 1; position: relative; }
.sk-intro__media::before {
  content: ""; position: absolute; left: -22px; top: 26px;
  width: 100%; height: 100%;
  border-radius: var(--sk-radius); border: 1.5px solid var(--sk-tint-deep);
  background: var(--sk-surface); z-index: -1;
}
.sk-intro__media img { border-radius: var(--sk-radius); box-shadow: var(--sk-shadow); width: 100%; height: 440px; object-fit: cover; }
.sk-intro h2 { font-size: clamp(30px, 3.3vw, 40px); font-weight: 700; letter-spacing: -.015em; margin: 16px 0 20px; }
.sk-intro p { color: var(--sk-text-soft); margin-bottom: 18px; max-width: 56ch; }
.sk-intro__badge {
  position: absolute; right: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--sk-navy); padding: .55em 1em; border-radius: var(--sk-radius-full);
  font-weight: var(--sk-fw-semi); font-size: var(--sk-fs-sm); box-shadow: var(--sk-shadow);
}
.sk-intro__badge .stars { color: oklch(0.75 0.15 75); }
@media (max-width: 900px) {
  .sk-intro__grid { grid-template-columns: 1fr; gap: 48px; }
  .sk-intro__media { order: -1; }
  .sk-intro__media::before { display: none; }
  .sk-intro__media img { height: 340px; }
  .sk-intro__content { order: 0; }
}

/* ---------- BEHANDELINGEN (design: white card, image top, title + arrow chip) ---------- */
.sk-treatments__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sk-treat {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--sk-border);
  border-radius: var(--sk-radius); overflow: hidden;
  box-shadow: var(--sk-shadow-sm); color: var(--sk-text);
  transition: transform var(--sk-dur) var(--sk-ease), box-shadow var(--sk-dur) var(--sk-ease);
}
.sk-treat:hover { transform: translateY(-4px); box-shadow: var(--sk-shadow-lg); color: var(--sk-text); }
.sk-treat__img { display: block; width: 100%; height: 215px; overflow: hidden; }
.sk-treat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--sk-ease); }
.sk-treat:hover .sk-treat__img img { transform: scale(1.05); }
.sk-treat__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; }
.sk-treat__body h3 { margin: 0; font-size: 17.5px; font-weight: var(--sk-fw-semi); color: var(--sk-navy); }
.sk-treat__go { flex: none; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--sk-tint-deep); color: var(--sk-primary); transition: background var(--sk-dur) var(--sk-ease), color var(--sk-dur) var(--sk-ease); }
.sk-treat__go svg { width: 15px; height: 15px; }
.sk-treat:hover .sk-treat__go { background: var(--sk-primary); color: #fff; }
@media (max-width: 900px) { .sk-treatments__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .sk-treatments__grid { grid-template-columns: 1fr; } }

/* ---------- BEZOEK / PRAKTIJK (address card + map) ---------- */
.sk-praktijk__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; align-items: stretch; }
.sk-praktijk__card { background: #fff; border: 1px solid var(--sk-border); border-radius: var(--sk-radius); padding: 34px; box-shadow: var(--sk-shadow-sm); display: flex; flex-direction: column; gap: var(--sk-space-5); }
.sk-praktijk__map, .sk-contact__map {
  position: relative; border-radius: var(--sk-radius); overflow: hidden;
  min-height: 420px; border: 1px solid var(--sk-border); box-shadow: var(--sk-shadow-sm);
  /* Branded placeholder shown behind the (lazy) map iframe while it loads,
     so the box never reads as a broken blank panel. */
  background-color: var(--sk-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 24 24' fill='none' stroke='%23156b7c' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.sk-praktijk__map iframe, .sk-contact__map iframe { position: relative; width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
/* Info rows (shared with Contact page): icon in a soft chip */
.sk-info-row { display: flex; gap: 16px; align-items: flex-start; }
.sk-info-row svg { flex: 0 0 auto; width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--sk-tint-deep); color: var(--sk-primary); }
.sk-info-row strong { font-family: var(--sk-font-head); font-weight: var(--sk-fw-semi); color: var(--sk-navy); }
@media (max-width: 820px) { .sk-praktijk__grid { grid-template-columns: 1fr; } .sk-praktijk__map { min-height: 320px; } .sk-praktijk__map iframe { min-height: 320px; } }

/* ---------- OVER-ONS / SEO TEXT (design: 2-col, kicker+h2 left, body right) ---------- */
.sk-seo__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.sk-seo__grid h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; letter-spacing: -.015em; margin-top: 16px; }
.sk-seo__note { color: var(--sk-text-soft); margin: 14px 0 22px; font-size: 1.02rem; line-height: 1.6; }
.sk-seo__body p { color: var(--sk-text-soft); margin-bottom: 18px; }
.sk-seo__body p:last-child { margin-bottom: 0; font-weight: var(--sk-fw-semi); color: var(--sk-primary-dark); }
@media (max-width: 900px) { .sk-seo__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- INSURERS (legacy static strip — marquee is used now) ---------- */
.sk-insurers__strip { display: flex; flex-wrap: wrap; gap: var(--sk-space-6); align-items: center; justify-content: center; }
.sk-insurers__strip img { height: 38px; width: auto; transition: opacity var(--sk-dur) var(--sk-ease); }
.sk-insurers__strip img:hover { opacity: .85; }

/* ---------- REVIEWS ---------- */
.sk-reviews__note { text-align: center; color: var(--sk-text-mute); }

/* Partners + insurers headings: small uppercase label (design) */
.sk-partners .sk-heading h2, .sk-insurers .sk-heading h2 {
  font-size: 15px; font-weight: var(--sk-fw-semi);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--sk-text-mute);
}

/* ---------- PARTNERS (Onze partners — live-site parity: colored logos) ----------
   The partner PNGs are 300x247 canvases with lots of transparent padding, so
   size them by WIDTH (the visible mark then reads at a real size), not height. */
/* Partner logos are white-background images of varying crops → put each on a
   uniform white tile so they read as a clean, harmonious logo wall. */
/* 3-up logo wall. Columns are capped (minmax max 190px) and the grid is
   centered, so tiles never balloon on wide/2-col viewports; the logo itself
   is capped independently (min(150px,100%) / 76px tall) so it stays a tidy,
   consistent size regardless of how wide its tile gets. */
.sk-partners__strip { display: grid; grid-template-columns: repeat(3, minmax(0, 190px)); justify-content: center; gap: var(--sk-space-5); max-width: 100%; margin-inline: auto; }
.sk-partner { display: flex; align-items: center; justify-content: center; min-height: 110px; padding: var(--sk-space-4) var(--sk-space-5); background: #fff; border: 1px solid var(--sk-border); border-radius: var(--sk-radius); box-shadow: var(--sk-shadow-sm); transition: transform var(--sk-dur) var(--sk-ease), box-shadow var(--sk-dur) var(--sk-ease); }
.sk-partner:hover { transform: translateY(-3px); box-shadow: var(--sk-shadow); }
.sk-partner img { max-width: min(150px, 100%); max-height: 76px; width: auto; height: auto; object-fit: contain; display: block; }
@media (max-width: 900px) { .sk-partners__strip { grid-template-columns: repeat(2, minmax(0, 200px)); } }
@media (max-width: 540px) { .sk-partner { min-height: 92px; padding: var(--sk-space-3) var(--sk-space-4); } .sk-partner img { max-height: 64px; } }

/* ---------- INSURERS MARQUEE (auto-scroll + grab-to-drag; JS-driven, see theme.js) ---------- */
.sk-marquee {
  overflow: hidden; margin-top: 1.5rem;
  cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.sk-marquee.is-dragging { cursor: grabbing; }
.sk-marquee__track { display: flex; width: max-content; will-change: transform; }
.sk-marquee__set { display: flex; align-items: center; gap: 3.5rem; padding-right: 3.5rem; }
.sk-marquee__set img { height: 42px; width: auto; -webkit-user-drag: none; user-select: none; transition: opacity var(--sk-dur) var(--sk-ease); }
.sk-marquee__set a { display: inline-flex; align-items: center; -webkit-user-drag: none; }
.sk-marquee a, .sk-marquee a img { -webkit-user-drag: none; }
.sk-marquee__set a:hover img, .sk-marquee__set img:hover { opacity: .85; }
@media (prefers-reduced-motion: reduce) {
	.sk-marquee { -webkit-mask-image: none; mask-image: none; cursor: default; }
	.sk-marquee__track { width: auto; flex-wrap: wrap; justify-content: center; transform: none !important; }
	.sk-marquee__set { flex-wrap: wrap; justify-content: center; padding-right: 0; }
	.sk-marquee__set[aria-hidden="true"] { display: none; }
}
