/* =========================================================================
   Elite Keukens — Landing page  ·  high-end, calm, lots of air.
   ========================================================================= */

:root {
  --ink: #1b2128;
  --ink-2: #5c636d;
  --ink-3: #9aa1a9;
  --line: #ebe7e0;
  --line-2: #e0dbd2;
  --bg: #faf8f4;
  --bg-soft: #f3efe8;
  --card: #ffffff;
  --accent: #8c2532;
  --accent-deep: #71202a;
  --dark: #1a1e24;
  --gold: #c79a4e;
  --shadow-sm: 0 1px 2px rgba(20,24,30,.03), 0 4px 16px rgba(20,24,30,.05);
  --shadow: 0 8px 24px rgba(20,24,30,.07), 0 28px 70px rgba(20,24,30,.09);
  --shadow-lg: 0 16px 40px rgba(20,24,30,.10), 0 48px 110px rgba(20,24,30,.13);
  --r: 20px; --r-lg: 28px;
  --ease: cubic-bezier(.22,1,.36,1);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; line-height: 1.6; font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 680px; margin-left: auto; margin-right: auto; }
.section { padding: clamp(70px, 11vw, 150px) 0; }
.center { text-align: center; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 5.6vw, 74px); line-height: 1.02; letter-spacing: -.022em; }
h2 { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.05; }
h3 { font-size: clamp(20px, 2.3vw, 25px); line-height: 1.15; }
em { font-style: italic; color: var(--accent); }
.lead { font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: var(--ink-2); font-weight: 500; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 20px; }
.muted { color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 16px; cursor: pointer;
  border: none; border-radius: 100px; padding: 16px 28px; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-primary { color: #fff; background: var(--accent); box-shadow: 0 6px 22px rgba(140,37,50,.26); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(140,37,50,.3); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--ink-3); }
.btn-lg { padding: 19px 36px; font-size: 17.5px; }
.btn .ic { width: 19px; height: 19px; }
.tlink { font-weight: 600; color: var(--ink-2); padding: 8px 4px; transition: color .15s; cursor: pointer; }
.tlink:hover { color: var(--ink); }

/* Header — sticky, white */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.hdr .row { display: flex; align-items: center; height: 72px; gap: 14px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.logo .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; flex: none; }
.logo .mark svg { width: 17px; height: 17px; }
.logo b { color: var(--accent); }
.hdr .actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hdr .actions .btn { padding: 11px 20px; font-size: 14.5px; }
.hdr .actions .btn .ic { width: 16px; height: 16px; }

/* ---------- HERO (2 columns) ---------- */
.hero { padding: clamp(38px, 5.5vw, 78px) 0 clamp(52px, 7vw, 100px); }
.hero .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5.5vw, 78px); align-items: center; }
.hero h1 { margin: 0 0 22px; }
.hero .lead { margin: 0 0 32px; max-width: 30ch; }
.hero .cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.hero .trustline { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.hero .trustline .sep { color: var(--line-2); }
.hero .trustline .stars { color: var(--gold); letter-spacing: 1px; }
.hero-ba { justify-self: center; max-width: 410px; width: 100%; }
.hero-ba .hint { margin-top: 16px; font-size: 13px; color: var(--ink-3); font-weight: 600; text-align: center; }

/* Before/After slider */
.ba {
  position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 9/16; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize;
  background: linear-gradient(110deg, var(--bg-soft) 25%, var(--bg) 50%, var(--bg-soft) 75%);
}
.ba.sq { border-radius: var(--r); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.ba .after { clip-path: inset(0 0 0 50%); }
.ba .lbl { position: absolute; top: 13px; z-index: 2; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(20,24,30,.55); padding: 6px 10px; border-radius: 100px; backdrop-filter: blur(4px); pointer-events: none; }
.ba .lbl.b { left: 13px; }
.ba .lbl.a { right: 13px; }
.ba .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255,255,255,.95); transform: translateX(-50%); z-index: 2; box-shadow: 0 0 16px rgba(0,0,0,.25); pointer-events: none; }
.ba .knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; pointer-events: none; }
.ba .knob svg { width: 21px; height: 21px; color: var(--accent); }
.ba:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
/* no text/element selection while dragging a slider */
.grabbing, .grabbing * { user-select: none !important; -webkit-user-select: none !important; cursor: ew-resize !important; }

/* ---------- TOOL section ---------- */
.tool { background: var(--bg-soft); }
.tool .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.tool h2 { margin-bottom: 20px; max-width: 12ch; }
.tool .lead { margin-bottom: 32px; max-width: 34ch; }
.phone {
  position: relative; justify-self: center; width: min(300px, 80%); aspect-ratio: 3/4.1;
  border-radius: 34px; overflow: hidden; background: #11141a; border: 7px solid #11141a; box-shadow: var(--shadow-lg);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone .scan { position: absolute; left: 0; right: 0; height: 36%; background: linear-gradient(180deg, transparent, rgba(255,210,170,.14) 75%, rgba(255,255,255,.45)); border-bottom: 2px solid rgba(255,255,255,.8); animation: scan 2.6s var(--ease) infinite; }
@keyframes scan { 0%{transform:translateY(-110%);opacity:0} 12%{opacity:1} 88%{opacity:1} 100%{transform:translateY(285%);opacity:0} }
.phone .recap { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255,255,255,.96); border-radius: 14px; padding: 12px 15px; backdrop-filter: blur(6px); }
.phone .recap .k { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.phone .recap .v { font-family: var(--serif); font-size: 27px; color: var(--ink); line-height: 1.1; }
.phone .recap .v small { font-family: var(--sans); font-size: 12px; color: var(--ink-3); font-weight: 600; }

/* ---------- TRANSFORMATIONS ---------- */
.cases .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 64px); }
.case .cap { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.case .cap span { color: var(--ink-3); font-weight: 500; }

/* ---------- HOW IT WORKS (time-to-value) ---------- */
.steps .steprow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 3vw, 40px); margin-top: clamp(46px, 5vw, 70px); }
.steps .step { text-align: center; position: relative; z-index: 1; }
.steps .step .n { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--card); font-family: var(--serif); font-size: 25px; color: var(--accent); box-shadow: var(--shadow-sm); }
.steps .step h3 { font-family: var(--sans); font-weight: 800; font-size: 17px; margin-bottom: 8px; }
.steps .step p { font-size: 14.5px; color: var(--ink-2); margin: 0 auto; max-width: 24ch; }
@media (min-width: 760px) {
  .steps .steprow::before { content: ""; position: absolute; top: 29px; left: 13%; right: 13%; height: 1.5px; background: var(--line); z-index: 0; }
}

/* ---------- REVIEWS ---------- */
.reviews { background: var(--bg-soft); }
.reviews .rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(40px, 5vw, 60px); }
.reviews .review { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.reviews .review .stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; margin-bottom: 16px; }
.reviews .review p { font-size: 16px; color: var(--ink); margin: 0 0 18px; line-height: 1.5; flex: 1; }
.reviews .review .who { font-size: 14px; font-weight: 700; }
.reviews .review .who span { color: var(--ink-3); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq .list { max-width: 720px; margin: clamp(36px, 4vw, 56px) auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 4px; display: flex; justify-content: space-between; gap: 18px; align-items: center; font-weight: 700; font-size: clamp(17px, 2vw, 19px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 18px; height: 18px; color: var(--accent); transition: transform .25s var(--ease); }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .ans { padding: 0 4px 28px; color: var(--ink-2); font-size: 16.5px; max-width: 64ch; }

/* ---------- FINAL CTA ---------- */
.final { background: var(--dark); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.final em { color: #e7b977; }
.final .lead { color: rgba(255,255,255,.66); max-width: 30ch; margin: 22px auto 38px; }
.final .cta-row { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; }
.final .tlink { color: rgba(255,255,255,.72); }
.final .tlink:hover { color: #fff; }
.final .fine { margin-top: 26px; font-size: 12.5px; color: rgba(255,255,255,.4); }

/* ---------- Footer ---------- */
.foot { background: var(--bg); border-top: 1px solid var(--line); padding: 44px 0; font-size: 14px; color: var(--ink-2); }
.foot .row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.foot .logo { font-size: 16px; }
.foot .links { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.foot a:hover { color: var(--ink); }
.foot .legal { margin-top: 18px; font-size: 12px; color: var(--ink-3); }

/* ---------- Tool modal ---------- */
.toolmodal { position: fixed; inset: 0; z-index: 100; background: rgba(20,24,30,.62); backdrop-filter: blur(5px); display: none; }
.toolmodal.show { display: block; animation: fade .25s ease both; }
@keyframes fade { from{opacity:0} to{opacity:1} }
.toolmodal iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.toolmodal .close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,.96); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; }
.toolmodal .close svg { width: 22px; height: 22px; color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.reveal-init { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-init.reveal-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-init { opacity: 1 !important; transform: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero .grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .cta-row, .hero .trustline { justify-content: center; }
  .hero-ba { order: 2; max-width: 360px; }
  .tool .grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .tool h2, .tool .lead { max-width: none; margin-left: auto; margin-right: auto; }
  .tool .order-visual { order: -1; }
  .steps .steprow { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .steps .steprow::before { display: none; }
  .cases .grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .reviews .rgrid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .hdr .row { height: 64px; }
  .logo span { font-size: 16px; }
  .hdr .actions .btn-ghost { display: none; }
  .btn-lg { width: 100%; }
  .hero .cta-row { flex-direction: column; }
  .foot .links { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
