/* ==========================================================================
   Campaign landing pages (template/template-mk-landing.php, inc/landing.php)
   2026-10-06 — the old Wix "Mozdulj a napsütés felé" landing + thank-you page,
   rebuilt in the site's Krant palette (tokens as the destination pages,
   docs/DESIGN-destination-pages.md): navy ink #15263d, champagne, sand.
   No site header / footer: only the logo over the hero and the content.
   ========================================================================== */

body.mk-landing {
    --l-ink: #15263d;
    --l-ink-2: #23395a;
    --l-text: #45536a;
    --l-muted: #5e6878;
    --l-line: #e7dfd1;
    --l-sand: #f7f3ec;
    --l-gold: #c8b58f;
    --l-gold-lt: #e2d3b6;
    --l-gold-deep: #857046;
    --l-wrap: 1080px;
    --l-gut: clamp(22px, 5vw, 48px);
    --l-sec: clamp(64px, 8vw, 112px);
    --l-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    margin: 0;
    background: #fff !important;
    color: var(--l-text);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
html:has(body.mk-landing) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(body.mk-landing) { scroll-behavior: auto; } }

body.mk-landing .mkl-main { display: block; }
body.mk-landing .mkl,
body.mk-landing .mkl * { box-sizing: border-box; }
body.mk-landing .mkl h1,
body.mk-landing .mkl h2 {
    margin: 0; padding: 0; border: 0; text-transform: none; letter-spacing: 0;
    font-family: var(--l-serif); font-weight: 600; color: var(--l-ink);
}
body.mk-landing .mkl p { margin: 0 0 1em; }
body.mk-landing .mkl ul { list-style: none; margin: 0; padding: 0; }
body.mk-landing .mkl img { max-width: 100%; height: auto; display: block; }
body.mk-landing .mkl a { color: var(--l-gold-deep); }

.mkl-wrap { max-width: var(--l-wrap); margin: 0 auto; padding: 0 var(--l-gut); }
.mkl-sec { padding: var(--l-sec) 0; }

/* ── logo over the hero (no site header) ─────────────────────────────────── */
.mkl-brand {
    position: absolute; z-index: 5; top: clamp(18px, 3vw, 32px); left: 0; right: 0;
    display: flex; justify-content: center; pointer-events: none;
}
.mkl-brand img { height: 48px; width: auto; }

/* ── hero ─────────────────────────────────────────────────────────────────── */
.mkl-hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: min(92svh, 860px);
    display: flex; align-items: center; justify-content: center;
    padding: 120px var(--l-gut) clamp(64px, 9vw, 110px);
    text-align: center; color: #fff; background: var(--l-ink);
}
.mkl-hero--full { min-height: 100svh; }
body.mk-landing .mkl .mkl-hero-img {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 70%;
}
.mkl-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(10, 21, 35, .62) 0%, rgba(10, 21, 35, .30) 38%, rgba(10, 21, 35, .40) 70%, rgba(10, 21, 35, .72) 100%);
}
.mkl-hero-in { max-width: 900px; }
body.mk-landing .mkl .mkl-hero h1 {
    color: #fff; font-size: clamp(34px, 5.2vw, 62px); line-height: 1.08;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
body.mk-landing .mkl .mkl-sub {
    margin: 22px auto 0; max-width: 640px;
    font-size: clamp(18px, 2vw, 23px); line-height: 1.5; color: rgba(255, 255, 255, .92);
}
.mkl-btn {
    display: inline-block; margin-top: 34px; padding: 15px 34px; border-radius: 999px;
    background: var(--l-gold); color: var(--l-ink) !important; text-decoration: none !important;
    font-weight: 600; font-size: 16px; letter-spacing: .01em;
    transition: background .2s, transform .2s;
}
.mkl-btn:hover, .mkl-btn:focus-visible { background: var(--l-gold-lt); transform: translateY(-1px); }
.mkl-btn--ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px var(--l-gold); }
.mkl-btn--ghost:hover, .mkl-btn--ghost:focus-visible { background: rgba(200, 181, 143, .16); }

/* ── intro ────────────────────────────────────────────────────────────────── */
.mkl-intro { background: var(--l-sand); padding-bottom: clamp(24px, 4vw, 48px); }
body.mk-landing .mkl .mkl-lead {
    font-family: var(--l-serif); font-size: clamp(23px, 2.6vw, 31px); line-height: 1.35;
    color: var(--l-ink); max-width: 860px; margin: 0 auto 14px;
}
.mkl-lead strong { font-weight: 700; }

/* ── pain points ──────────────────────────────────────────────────────────── */
.mkl-pains { background: var(--l-sand); padding-top: clamp(24px, 4vw, 48px); }
.mkl-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
body.mk-landing .mkl .mkl-pains h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 22px; }
.mkl-quotes li {
    position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--l-line);
    font-size: 17px; color: var(--l-ink-2);
}
.mkl-quotes li:last-child { border-bottom: 0; }
.mkl-quotes li::before {
    content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px;
    border-radius: 50%; background: var(--l-gold);
}
.mkl-frame { position: relative; margin: 0 28px 28px 0; }
.mkl-frame::before {
    content: ""; position: absolute; inset: 28px -28px -28px 28px; z-index: 0;
    border-radius: 14px; background: var(--l-ink);
}
body.mk-landing .mkl .mkl-frame img {
    position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: 14px; box-shadow: 0 18px 40px rgba(21, 38, 61, .18);
}

/* ── section heads with the thin vertical rules (from the Wix page) ──────── */
.mkl-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto clamp(36px, 5vw, 56px); max-width: 760px; }
.mkl-rule { display: block; width: 1px; height: 56px; background: var(--l-gold-deep); opacity: .55; }
body.mk-landing .mkl .mkl-head h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; margin: 22px 0; }

/* ── how we help: 8 expandable items ─────────────────────────────────────── */
.mkl-help { background: #fff; }
.mkl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; align-items: start; }
.mkl-item { border: 1px solid var(--l-line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.mkl-item[open] { border-color: var(--l-gold-lt); box-shadow: 0 10px 28px rgba(21, 38, 61, .07); }
.mkl-item summary {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
    padding: 18px 20px; cursor: pointer; list-style: none; color: var(--l-ink); font-weight: 600; font-size: 17px; line-height: 1.35;
}
.mkl-item summary::-webkit-details-marker { display: none; }
.mkl-item summary:focus-visible { outline: 2px solid var(--l-gold-deep); outline-offset: 2px; border-radius: 14px; }
.mkl-check {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 30px; height: 30px; border-radius: 50%; background: var(--l-gold); color: var(--l-ink);
}
.mkl-more { font-size: 13px; font-weight: 600; color: var(--l-gold-deep); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.mkl-more-c, .mkl-item[open] .mkl-more-o { display: none; }
.mkl-item[open] .mkl-more-c { display: inline; }
.mkl-item-b { padding: 0 20px 18px 64px; font-size: 16px; line-height: 1.65; }
.mkl-item-b p:last-child { margin-bottom: 0; }
.mkl-duo { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; margin-top: clamp(40px, 6vw, 64px); align-items: center; }
body.mk-landing .mkl .mkl-duo img {
    width: 100%; height: clamp(220px, 34vw, 440px); border-radius: 14px; object-fit: cover;
    box-shadow: 0 14px 34px rgba(21, 38, 61, .14);
}

/* ── call to action ───────────────────────────────────────────────────────── */
.mkl-cta { background: var(--l-sand); }
body.mk-landing .mkl .mkl-cta-lead {
    font-family: var(--l-serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; font-weight: 600;
    color: var(--l-ink); text-align: center; max-width: 720px; margin: -12px auto 36px;
}
.mkl-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; max-width: 820px; margin: 0 auto !important; }
.mkl-ticks li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border-radius: 14px; color: var(--l-ink); font-weight: 500; }

/* ── form ─────────────────────────────────────────────────────────────────── */
.mkl-form { background: #fff; }
body.mk-landing .mkl .mkl-form .mkl-head h2 { font-size: clamp(24px, 2.8vw, 34px); }
.mkl-card {
    max-width: 640px; margin: 0 auto; padding: clamp(24px, 4vw, 40px);
    background: #fff; border: 1px solid var(--l-line); border-radius: 18px;
    box-shadow: 0 24px 60px rgba(21, 38, 61, .10);
}
.mkl-f-row { display: block; margin: 0 0 16px; }
.mkl-f-row > span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--l-ink); }
.mkl-card input[type="text"], .mkl-card input[type="email"], .mkl-card input[type="tel"], .mkl-card textarea {
    display: block; width: 100%; height: 48px; padding: 10px 14px; margin: 0;
    border: 1px solid #d8cfbf; border-radius: 10px; background: #fff;
    font: inherit; font-size: 16px; color: var(--l-ink); box-shadow: none;
}
.mkl-card textarea { height: 104px; min-height: 104px; resize: vertical; }
.mkl-card input:focus, .mkl-card textarea:focus { outline: none; border-color: var(--l-gold-deep); box-shadow: 0 0 0 3px rgba(200, 181, 143, .35); }
.mkl-f-check { margin: 4px 0 12px; font-size: 14.5px; line-height: 1.5; color: var(--l-text); }
.mkl-f-check .wpcf7-list-item { margin: 0; }
.mkl-f-check label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 400; }
.mkl-f-check .wpcf7-list-item-label { font-weight: 400; }
.mkl-f-check input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--l-ink); }
.mkl-f-go { margin-top: 18px; }
/* out-ranks the site-wide `body .wpcf7 input[type=submit]` (!important, mk-modern.css) */
body.mk-landing .mkl-card .wpcf7 input[type="submit"] {
    display: block; width: 100%; height: 52px; border: 0 !important; border-radius: 999px !important; cursor: pointer;
    padding: 0 28px !important; background: var(--l-ink) !important; color: #fff;
    font: inherit; font-size: 16px; font-weight: 600; letter-spacing: .01em;
    transition: background .2s, transform .2s;
}
body.mk-landing .mkl-card .wpcf7 input[type="submit"]:hover,
body.mk-landing .mkl-card .wpcf7 input[type="submit"]:focus-visible { background: var(--l-ink-2) !important; }
/* CF7 keeps the button disabled until the consent box is ticked */
body.mk-landing .mkl-card .wpcf7 input[type="submit"]:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.mkl-card .wpcf7-spinner { display: block; margin: 10px auto 0; }
.mkl-card .wpcf7-not-valid-tip { font-size: 13px; margin-top: 4px; }
.mkl-card .wpcf7-response-output { margin: 16px 0 0 !important; border-radius: 10px; font-size: 14.5px; }

.mkl-legal { margin: 0 !important; padding: 26px var(--l-gut) 34px; text-align: center; font-size: 13px; color: var(--l-muted); background: #fff; border-top: 1px solid var(--l-line); }

/* ── entrance reveal (mk-landing.js adds .mkl-js; no JS = everything visible) ── */
@media (prefers-reduced-motion: no-preference) {
    .mkl-js .mkl-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
    .mkl-js .mkl-reveal.is-in { opacity: 1; transform: none; }
}

/* ── phones / tablets ─────────────────────────────────────────────────────── */
@media (max-width: 860px) {
    .mkl-split, .mkl-grid, .mkl-ticks { grid-template-columns: 1fr; }
    .mkl-frame { order: -1; max-width: 520px; }
    .mkl-duo { grid-template-columns: 1.4fr 1fr; gap: 12px; }
}
@media (max-width: 600px) {
    body.mk-landing { font-size: 16px; }
    .mkl-brand img { height: 40px; }
    .mkl-hero { min-height: 88svh; padding-top: 104px; }
    .mkl-hero--full { min-height: 100svh; }
    .mkl-frame { margin: 0 16px 16px 0; }
    .mkl-frame::before { inset: 16px -16px -16px 16px; }
    .mkl-item summary { grid-template-columns: auto 1fr; padding: 16px; }
    .mkl-item summary .mkl-more { grid-column: 2; justify-self: start; margin-top: -6px; }
    .mkl-item-b { padding: 0 16px 16px 60px; }
    .mkl-rule { height: 40px; }
}
