/*
Theme Name: Dan Kidukhim
Theme URI: https://www.dandrill.com
Author: JIT Digital
Description: תבנית מותאמת לדן קידוחים בע"מ, קבלן קידוחי ביסוס. RTL, ללא בילדר.
Version: 1.0.22
Text Domain: dandrill
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
*/

/* ============================================================ tokens */
:root {
  --dk-yellow: #F2B21B;
  --dk-yellow-deep: #D99A0B;
  --dk-yellow-soft: #FBEFCF;
  --dk-ink: #15171A;
  --dk-steel: #23272D;
  --dk-steel-2: #2E333A;
  --dk-line: #DCDEE2;
  --dk-line-dark: rgba(255,255,255,.12);
  --dk-bg: #FFFFFF;
  --dk-bg-2: #F3F4F6;
  --dk-text: #1E2126;
  --dk-muted: #4B5260;
  --dk-light: #F5F6F7;
  --dk-light-muted: #C5C9D0;
  --dk-err: #C8381F;
  --dk-ok: #1F7A4D;
  --dk-display: 'Noto Sans Hebrew', 'Arial Hebrew', system-ui, sans-serif;
  --dk-body: 'Noto Sans Hebrew', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --dk-wrap: 1200px;
  --dk-gutter: clamp(16px, 4vw, 32px);
  --dk-radius: 10px;
  --dk-radius-sm: 6px;
  --dk-ease: cubic-bezier(.22, 1, .36, 1);
  --dk-top-h: 76px;
  --z-wa: 40;
  --z-top: 50;
  --z-scrim: 55;
  --z-drawer: 60;
}

/* ============================================================ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--dk-top-h) + 12px); }
html.dk-locked { overflow: hidden; }
body { margin: 0; font-family: var(--dk-body); font-size: 17px; line-height: 1.65; color: var(--dk-text); background: var(--dk-bg); direction: rtl; text-align: start; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--dk-display); font-weight: 800; line-height: 1.16; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h2, .dk-h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--dk-yellow); outline-offset: 3px; }
.dk-skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 100; background: var(--dk-yellow); color: var(--dk-ink); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.dk-skip:focus { top: 8px; }
.dk-wrap { width: min(var(--dk-wrap), 100% - 2 * var(--dk-gutter)); margin-inline: auto; }
.dk-ic { flex: none; }
.dk-main { display: block; }
bdi { unicode-bidi: isolate; }

/* ============================================================ buttons */
.dk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 8px; font-weight: 700; font-size: 1.02rem; line-height: 1; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .15s; cursor: pointer; white-space: nowrap; }
.dk-btn:active { transform: translateY(1px); }
.dk-btn .dk-ic { transition: transform .25s var(--dk-ease); }
.dk-btn:hover .dk-ic-arrow { transform: translateX(-4px); }
.dk-btn-yellow { background: var(--dk-yellow); color: var(--dk-ink); border-color: var(--dk-yellow); }
.dk-btn-yellow:hover { background: var(--dk-yellow-deep); border-color: var(--dk-yellow-deep); }
.dk-btn-dark { background: var(--dk-ink); color: #fff; border-color: var(--dk-ink); }
.dk-btn-dark:hover { background: var(--dk-steel-2); border-color: var(--dk-steel-2); }
.dk-btn-ghost { background: transparent; color: currentColor; border-color: currentColor; }
.dk-btn-ghost:hover { background: rgba(255,255,255,.12); }
.dk-btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.1rem; }
.dk-btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.dk-btn.is-busy { opacity: .7; pointer-events: none; }
.dk-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--dk-ink); border-bottom: 2px solid var(--dk-yellow); padding-bottom: 2px; }
.dk-link .dk-ic { transition: transform .25s var(--dk-ease); }
.dk-link:hover .dk-ic { transform: translateX(-4px); }

/* ============================================================ header */
.dk-top { position: sticky; top: 0; z-index: var(--z-top); background: var(--dk-ink); color: var(--dk-light); border-bottom: 1px solid var(--dk-line-dark); transition: box-shadow .25s; }
.dk-top.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.dk-top-in { display: flex; align-items: center; gap: 28px; min-height: var(--dk-top-h); }
.dk-logo { display: flex; align-items: center; flex: none; }
.dk-logo-img { height: 46px; width: auto; }
.dk-nav { flex: 1; }
.dk-nav > ul { display: flex; align-items: center; gap: 4px; }
.dk-nav > ul > li { position: relative; }
.dk-nav > ul > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 6px; font-weight: 500; font-size: 1.02rem; color: var(--dk-light); transition: background-color .2s, color .2s; }
.dk-nav > ul > li > a:hover, .dk-nav > ul > li > a.is-current { background: rgba(255,255,255,.08); color: #fff; }
.dk-nav > ul > li > a.is-current { box-shadow: inset 0 -2px 0 var(--dk-yellow); border-radius: 6px 6px 0 0; }
.dk-sub { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 240px; background: #fff; color: var(--dk-text); border-radius: 10px; padding: 8px; box-shadow: 0 14px 40px rgba(0,0,0,.22); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--dk-ease), visibility .2s; }
.dk-sub::before { content: ""; position: absolute; top: -8px; inset-inline: 0; height: 8px; }
.dk-has-sub:hover .dk-sub, .dk-has-sub:focus-within .dk-sub { opacity: 1; visibility: visible; transform: none; }
.dk-sub a { display: block; padding: 10px 12px; border-radius: 6px; font-weight: 500; }
.dk-sub a:hover { background: var(--dk-yellow-soft); color: var(--dk-ink); }
.dk-top-cta { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.dk-top-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; color: var(--dk-yellow); }
.dk-burger { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 8px; color: var(--dk-light); }
.dk-burger:hover { background: rgba(255,255,255,.08); }

/* drawer */
.dk-scrim { position: fixed; inset: 0; z-index: var(--z-scrim); background: rgba(0,0,0,.55); opacity: 0; transition: opacity .3s; }
.dk-scrim.is-open { opacity: 1; }
.dk-drawer { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(340px, 88vw); z-index: var(--z-drawer); background: var(--dk-ink); color: var(--dk-light); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--dk-ease); overflow-y: auto; }
[dir="rtl"] .dk-drawer { transform: translateX(100%); }
.dk-drawer.is-open { transform: none; }
.dk-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--dk-line-dark); font-family: var(--dk-display); font-size: 1.25rem; }
.dk-drawer-close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; }
.dk-drawer-close:hover { background: rgba(255,255,255,.08); }
.dk-drawer nav { padding: 10px 0; flex: 1; }
.dk-drawer-link { display: block; padding: 14px 22px; font-size: 1.15rem; font-weight: 700; }
.dk-drawer-link:hover { background: rgba(255,255,255,.06); }
.dk-drawer-sub { padding: 0 22px 8px 0; }
.dk-drawer-sub a { display: block; padding: 10px 20px; color: var(--dk-light-muted); border-inline-start: 2px solid var(--dk-line-dark); }
.dk-drawer-sub a:hover { color: var(--dk-yellow); border-color: var(--dk-yellow); }
.dk-drawer-foot { padding: 18px 20px 28px; display: grid; gap: 10px; border-top: 1px solid var(--dk-line-dark); }

/* ============================================================ hero */
.dk-hero { position: relative; isolation: isolate; color: #fff; background: var(--dk-ink); min-height: min(86vh, 800px); display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 10vh, 120px) 0 0; }
.dk-hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.dk-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; animation: dkKen 22s ease-out both; }
@keyframes dkKen { from { transform: scale(1.06); } to { transform: scale(1); } }
.dk-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(21,23,26,.88) 0%, rgba(21,23,26,.72) 38%, rgba(21,23,26,.35) 70%, rgba(21,23,26,.25) 100%); }
.dk-hero-in { max-width: 760px; margin-inline-start: max(var(--dk-gutter), (100% - var(--dk-wrap)) / 2); margin-inline-end: auto; padding-bottom: clamp(56px, 8vh, 96px); }
.dk-hero-kicker { display: inline-block; font-weight: 700; color: var(--dk-yellow); margin: 0 0 18px; padding-inline-start: 46px; position: relative; }
.dk-hero-kicker::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 34px; height: 3px; background: var(--dk-yellow); }
.dk-hero h1 { color: #fff; margin: 0 0 20px; }
.dk-hero-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--dk-light); max-width: 60ch; margin: 0 0 30px; }
.dk-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.dk-hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--dk-yellow); color: var(--dk-ink); border-radius: 12px 12px 0 0; }
.dk-hero-facts > div { padding: 22px 26px; display: flex; flex-direction: column; gap: 2px; border-inline-end: 1px solid rgba(21,23,26,.18); }
.dk-hero-facts > div:last-child { border: 0; }
.dk-hero-facts strong { font-family: var(--dk-display); font-size: clamp(1.7rem, 2.7vw, 2.2rem); line-height: 1.1; font-weight: 800; }
.dk-hero-facts > div > span:last-child { font-weight: 500; font-size: .95rem; color: rgba(21,23,26,.8); }

/* ============================================================ sections */
.dk-sec-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.dk-sec-head p { color: var(--dk-muted); font-size: 1.1rem; margin-top: 14px; }
.dk-sec-head-light p { color: var(--dk-light-muted); }
.dk-sec-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dk-svc, .dk-about, .dk-why, .dk-faq, .dk-posts, .dk-hub, .dk-contact, .dk-blog, .dk-related { padding: clamp(64px, 9vw, 120px) 0; }

/* services grid */
.dk-svc { background: var(--dk-bg-2); }
.dk-svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; gap: 22px; }
.dk-svc-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--dk-radius); overflow: hidden; color: var(--dk-text); border: 1px solid var(--dk-line); transition: transform .35s var(--dk-ease), border-color .2s; cursor: pointer; }
.dk-svc-card:hover { transform: translateY(-4px); border-color: var(--dk-yellow); }
.dk-svc-big { grid-column: span 2; }
.dk-svc-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--dk-steel); }
.dk-svc-big .dk-svc-media { aspect-ratio: 16 / 8.5; }
.dk-svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--dk-ease); }
.dk-svc-card:hover .dk-svc-media img { transform: scale(1.04); }
.dk-svc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dk-svc-body h3 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
.dk-svc-body p { color: var(--dk-muted); font-size: .98rem; flex: 1; }
.dk-svc-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--dk-ink); margin-top: 6px; }
.dk-svc-more .dk-ic { color: var(--dk-yellow-deep); transition: transform .25s var(--dk-ease); }
.dk-svc-card:hover .dk-svc-more .dk-ic { transform: translateX(-4px); }

/* about */
.dk-about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.dk-about-media { position: relative; padding-bottom: 18%; }
.dk-about-img1 { width: 84%; border-radius: var(--dk-radius); aspect-ratio: 4 / 3; object-fit: cover; }
.dk-about-img2 { position: absolute; inset-inline-end: 0; bottom: 0; width: 46%; border-radius: var(--dk-radius); aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.dk-about-text h2 { margin-bottom: 20px; }
.dk-about-text p { color: var(--dk-muted); }
.dk-about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 26px 0 30px; }
.dk-about-facts li { display: flex; gap: 12px; align-items: flex-start; padding-top: 12px; border-top: 2px solid var(--dk-yellow); font-size: .98rem; color: var(--dk-muted); }
.dk-about-facts li .dk-ic { color: var(--dk-ink); margin-top: 2px; }
.dk-about-facts strong { color: var(--dk-text); }

/* process (dark band) */
.dk-process { background: var(--dk-ink); color: var(--dk-light); padding: clamp(64px, 9vw, 120px) 0; }
.dk-process h2 { color: #fff; }
.dk-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; position: relative; counter-reset: step; }
.dk-steps::before { content: ""; position: absolute; top: 26px; inset-inline: 10%; height: 2px; background: var(--dk-line-dark); }
.dk-steps li { position: relative; padding-top: 74px; }
.dk-step-n { position: absolute; top: 0; inset-inline-start: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--dk-yellow); color: var(--dk-ink); font-family: var(--dk-display); font-size: 1.5rem; display: grid; place-items: center; box-shadow: 0 0 0 8px var(--dk-ink); }
.dk-steps h3 { font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.dk-steps p { color: var(--dk-light-muted); font-size: .96rem; }

/* fleet marquee */
.dk-fleet { padding: clamp(56px, 8vw, 100px) 0; overflow: hidden; }
.dk-fleet-page { padding-top: 0; }
.dk-marquee { overflow: hidden; direction: ltr; }
.dk-marquee-track { display: flex; gap: 18px; width: max-content; direction: ltr; animation: dkMarquee 48s linear infinite; }
.dk-marquee:hover .dk-marquee-track { animation-play-state: paused; }
.dk-marquee-item { margin: 0; width: clamp(260px, 30vw, 440px); aspect-ratio: 4 / 3; border-radius: var(--dk-radius); overflow: hidden; background: var(--dk-steel); }
.dk-marquee-item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes dkMarquee { to { transform: translateX(-50%); } }

/* why */
.dk-why-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.dk-why-text { position: sticky; top: calc(var(--dk-top-h) + 24px); }
.dk-why-text p { color: var(--dk-muted); font-size: 1.1rem; margin-top: 14px; }
.dk-why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.dk-why-item { padding: 26px 0; border-top: 1px solid var(--dk-line); }
.dk-why-item h3 { font-size: 1.7rem; margin-bottom: 10px; position: relative; padding-inline-start: 18px; }
.dk-why-item h3::before { content: ""; position: absolute; inset-inline-start: 0; top: .18em; width: 8px; height: .85em; background: var(--dk-yellow); border-radius: 2px; }
.dk-why-item p { color: var(--dk-muted); font-size: .98rem; }

/* faq */
.dk-faq { background: var(--dk-bg-2); }
.dk-faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.dk-faq-head { position: sticky; top: calc(var(--dk-top-h) + 24px); }
.dk-faq-head p { color: var(--dk-muted); margin-top: 14px; }
.dk-faq-head a { font-weight: 700; border-bottom: 2px solid var(--dk-yellow); }
.dk-faq-item { border-top: 1px solid var(--dk-line); }
.dk-faq-item:last-child { border-bottom: 1px solid var(--dk-line); }
.dk-faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; font-weight: 700; font-size: 1.12rem; cursor: pointer; }
.dk-faq-item summary::-webkit-details-marker { display: none; }
.dk-faq-item summary .dk-ic { color: var(--dk-yellow-deep); transition: transform .3s var(--dk-ease); }
.dk-faq-item[open] summary .dk-ic { transform: rotate(180deg); }
.dk-faq-item summary:hover { color: var(--dk-ink); }
.dk-faq-a { padding: 0 4px 22px; color: var(--dk-muted); max-width: 70ch; }

/* posts */
.dk-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dk-post-card { display: flex; flex-direction: column; border-radius: var(--dk-radius); overflow: hidden; border: 1px solid var(--dk-line); background: #fff; color: var(--dk-text); transition: transform .35s var(--dk-ease), border-color .2s; }
.dk-post-card:hover { transform: translateY(-4px); border-color: var(--dk-yellow); }
.dk-post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--dk-steel); }
.dk-post-media img { width: 100%; height: 100%; object-fit: cover; }
.dk-post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.dk-post-meta { font-size: .88rem; color: var(--dk-muted); font-weight: 500; }
.dk-post-body h3, .dk-post-body h2 { font-size: 1.6rem; }
.dk-post-body p { color: var(--dk-muted); font-size: .96rem; }

/* lead band (yellow) */
.dk-lead { background: var(--dk-yellow); color: var(--dk-ink); padding: clamp(64px, 9vw, 120px) 0; }
.dk-lead-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.dk-lead-text h2 { margin-bottom: 16px; }
.dk-lead-text > p { font-size: 1.12rem; color: rgba(21,23,26,.85); max-width: 52ch; }
.dk-lead-points { display: grid; gap: 10px; margin: 24px 0 28px; }
.dk-lead-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.dk-lead-points .dk-ic { color: var(--dk-ink); background: rgba(21,23,26,.12); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.dk-lead-phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--dk-display); font-size: 1.6rem; line-height: 1.2; }
.dk-lead-phone span { font-family: var(--dk-body); font-size: 1rem; font-weight: 500; }
.dk-lead-formwrap { background: var(--dk-ink); color: var(--dk-light); border-radius: 14px; padding: clamp(22px, 3vw, 34px); }

/* ============================================================ forms */
.dk-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.dk-field { display: flex; flex-direction: column; gap: 6px; }
.dk-field-wide, .dk-field-submit { grid-column: 1 / -1; }
.dk-field label { font-weight: 700; font-size: .95rem; }
.dk-field input, .dk-field select, .dk-field textarea { width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 8px; border: 2px solid var(--dk-line); background: #fff; color: var(--dk-text); transition: border-color .2s, box-shadow .2s; }
.dk-field textarea { min-height: 120px; resize: vertical; }
.dk-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234B5260' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; padding-inline-start: 40px; }
.dk-field input:focus, .dk-field select:focus, .dk-field textarea:focus { outline: none; border-color: var(--dk-yellow); box-shadow: 0 0 0 4px rgba(242,178,27,.28); }
.dk-field input.is-invalid { border-color: var(--dk-err); }
.dk-form-status { min-height: 1.4em; font-size: .95rem; font-weight: 500; margin: 8px 0 0; }
.dk-form-status.is-err { color: var(--dk-err); }
.dk-form-band .dk-form-status.is-err { color: #FFB4A3; }
.dk-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dk-form-band .dk-field label { color: var(--dk-light); }
.dk-form-band .dk-field input, .dk-form-band .dk-field select { background-color: var(--dk-steel-2); border-color: var(--dk-steel-2); color: #fff; }
.dk-form-band .dk-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C5C9D0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.dk-form-band .dk-field-submit .dk-btn { width: 100%; }
.dk-form-side .dk-form-fields { grid-template-columns: 1fr; }
.dk-form-side .dk-field-submit .dk-btn { width: 100%; }
.dk-form-page .dk-field-submit .dk-btn { min-width: 260px; }
[hidden] { display: none !important; }
.dk-form-done { display: grid; justify-items: start; gap: 8px; padding: 12px 0; font-size: 1.05rem; }
.dk-form-done-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--dk-yellow); color: var(--dk-ink); display: grid; place-items: center; margin-bottom: 6px; }
.dk-form-done a { font-weight: 700; border-bottom: 2px solid var(--dk-yellow); }

/* ============================================================ footer */
.dk-foot { background: var(--dk-ink); color: var(--dk-light-muted); padding: clamp(48px, 7vw, 88px) 0 0; }
.dk-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.dk-foot-logo { height: 54px; width: auto; margin-bottom: 18px; }
.dk-foot-brand p { font-size: .98rem; max-width: 40ch; }
.dk-foot-reg { color: var(--dk-yellow); font-weight: 700; }
.dk-foot h3 { font-size: 1.5rem; color: #fff; margin-bottom: 16px; }
.dk-foot-col li { margin-bottom: 9px; }
.dk-foot-col a, .dk-foot-col span { display: inline-flex; align-items: center; gap: 9px; transition: color .2s; }
.dk-foot-col a:hover { color: var(--dk-yellow); }
.dk-foot-contact .dk-ic { color: var(--dk-yellow); }
.dk-foot-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 26px; border-top: 1px solid var(--dk-line-dark); font-size: .9rem; }
.dk-foot-legal { display: flex; gap: 20px; }
.dk-foot-legal a:hover { color: var(--dk-yellow); }
.dk-wa { position: fixed; inset-inline-start: 18px; bottom: 18px; z-index: var(--z-wa); width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .25s var(--dk-ease); }
.dk-wa:hover { transform: translateY(-3px); }

/* ============================================================ page templates */
.dk-phero { position: relative; isolation: isolate; background: var(--dk-ink); color: #fff; padding: clamp(48px, 7vw, 96px) 0; }
.dk-phero-svc, .dk-phero-hub { min-height: min(62vh, 560px); display: flex; align-items: flex-end; }
.dk-phero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.dk-phero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.dk-phero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21,23,26,.92) 0%, rgba(21,23,26,.55) 55%, rgba(21,23,26,.35) 100%); }
/* The hero inner is also .dk-wrap, so a max-width here makes its auto side margins centre the
   box in the viewport instead of aligning it to the page column. Keep the wrap at full column
   width and cap the text blocks, so the hero starts exactly where the content below starts. */
.dk-phero-in { max-width: none; }
.dk-phero-in > * { max-width: 820px; }
.dk-phero h1 { color: #fff; margin: 0 0 16px; }
.dk-phero-plain h1 { position: relative; padding-bottom: 18px; }
.dk-phero-plain h1::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 72px; height: 5px; background: var(--dk-yellow); border-radius: 3px; }
.dk-phero-lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--dk-light); max-width: 62ch; margin-bottom: 26px; }
.dk-phero .dk-hero-cta { margin-top: 6px; }
.dk-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 1.05rem; font-weight: 500; color: #E3E6EA; margin-bottom: 20px; }
.dk-crumbs a:hover { color: var(--dk-yellow); }
.dk-crumbs span[aria-current] { color: #fff; }

.dk-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); padding: clamp(48px, 7vw, 88px) 0; align-items: start; }
.dk-page-narrow { max-width: 820px; padding: clamp(48px, 7vw, 88px) var(--dk-gutter); }
.dk-side { position: sticky; top: calc(var(--dk-top-h) + 20px); display: grid; gap: 20px; }
.dk-side-card { background: var(--dk-ink); color: var(--dk-light); border-radius: 14px; padding: 26px; }
.dk-side-card h2 { font-size: 1.5rem; color: #fff; margin-bottom: 8px; }
.dk-side-card > p { color: var(--dk-light-muted); font-size: .95rem; margin-bottom: 18px; }
.dk-side-card .dk-field label { color: var(--dk-light); }
.dk-side-card .dk-field input, .dk-side-card .dk-field select { background-color: var(--dk-steel-2); border-color: var(--dk-steel-2); color: #fff; }
.dk-side-card .dk-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C5C9D0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.dk-side-card .dk-form-status.is-err { color: #FFB4A3; }
.dk-side-phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; color: var(--dk-yellow); }
.dk-side-facts, .dk-side-nav { border: 1px solid var(--dk-line); border-radius: 14px; padding: 22px 24px; }
.dk-side-facts h3, .dk-side-nav h3 { font-size: 1.25rem; margin-bottom: 12px; }
.dk-side-facts li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--dk-line); font-size: .95rem; color: var(--dk-muted); }
.dk-side-facts .dk-ic { color: var(--dk-yellow-deep); }
.dk-side-nav a { display: block; padding: 9px 0; border-top: 1px solid var(--dk-line); font-weight: 500; transition: color .2s, padding .2s; }
.dk-side-nav a:hover { padding-inline-start: 6px; }
.dk-side-nav a.is-current { color: var(--dk-ink); font-weight: 700; padding-inline-start: 6px; border-inline-start: 3px solid var(--dk-yellow); padding-inline-start: 10px; }

/* prose (editor content) */
.dk-prose { max-width: 72ch; font-size: 1.06rem; }
.dk-prose-wide { max-width: none; margin-top: clamp(40px, 6vw, 72px); }
.dk-prose > :first-child { margin-top: 0; }
.dk-prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 1.7em 0 .6em; }
.dk-prose h3 { font-size: clamp(1.3rem, 1.9vw, 1.55rem); margin: 1.5em 0 .5em; }
.dk-prose p, .dk-prose li { color: var(--dk-text); }
.dk-prose ul, .dk-prose ol { margin: 0 0 1.2em; padding-inline-start: 1.4em; }
.dk-prose ul { list-style: disc; }
.dk-prose ol { list-style: decimal; }
.dk-prose li { margin-bottom: .45em; }
.dk-prose li::marker { color: var(--dk-yellow-deep); font-weight: 700; }
.dk-prose a { font-weight: 600; color: var(--dk-ink); border-bottom: 2px solid var(--dk-yellow); }
.dk-prose a:hover { background: var(--dk-yellow-soft); }
.dk-prose img { border-radius: var(--dk-radius); margin: 1.4em 0; }
.dk-prose figure { margin: 1.4em 0; }
.dk-prose figcaption { font-size: .9rem; color: var(--dk-muted); margin-top: 8px; }
.dk-prose blockquote { margin: 1.6em 0; padding: 18px 22px; background: var(--dk-bg-2); border-radius: var(--dk-radius); font-weight: 500; }
.dk-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .98rem; display: block; overflow-x: auto; }
/* v1.0.7: a grid/flex item defaults to min-width:auto, so a wide table stretches the whole prose column instead of scrolling inside it */
.dk-page-grid > *, .dk-prose, .dk-side { min-width: 0; }
.dk-prose th, .dk-prose td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--dk-line); vertical-align: top; }
.dk-prose th { background: var(--dk-ink); color: #fff; font-weight: 700; }
.dk-prose tr:nth-child(even) td { background: var(--dk-bg-2); }
.dk-prose .dk-callout { background: var(--dk-yellow-soft); border-radius: var(--dk-radius); padding: 20px 24px; margin: 1.6em 0; border-inline-start: 0; }
.dk-prose .dk-callout strong { display: block; font-family: var(--dk-display); font-size: 1.25rem; margin-bottom: 6px; }
.dk-prose .dk-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 1.6em 0; }
.dk-prose .dk-specs div { border-top: 3px solid var(--dk-yellow); padding-top: 10px; }
.dk-prose .dk-specs strong { display: block; font-family: var(--dk-display); font-size: 1.7rem; line-height: 1.15; }
.dk-prose .dk-specs span { font-size: .92rem; color: var(--dk-muted); }
.dk-prose .dk-checks { list-style: none; padding: 0; }
.dk-prose .dk-checks li { position: relative; padding-inline-start: 30px; }
.dk-prose .dk-checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--dk-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.dk-prose .wp-block-image img, .dk-prose img.alignwide { width: 100%; }

/* related strip */
.dk-related { background: var(--dk-bg-2); padding: clamp(48px, 7vw, 88px) 0; }
.dk-related h2 { margin-bottom: 28px; }
.dk-related-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: start; }
.dk-related-item { display: block; border-radius: var(--dk-radius); overflow: hidden; position: relative; aspect-ratio: 4 / 3; background: var(--dk-steel); color: #fff; }
.dk-related-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--dk-ease); }
.dk-related-item:hover img { transform: scale(1.05); }
.dk-related-name { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 14px 14px; background: linear-gradient(0deg, rgba(21,23,26,.9), rgba(21,23,26,0)); font-family: var(--dk-display); font-size: 1.2rem; }

/* hub */
.dk-hub-list { display: grid; gap: clamp(32px, 5vw, 64px); }
.dk-hub-item { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.dk-hub-item.is-flip .dk-hub-media { order: 2; }
.dk-hub-media { display: block; border-radius: var(--dk-radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--dk-steel); }
.dk-hub-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--dk-ease); }
.dk-hub-item:hover .dk-hub-media img { transform: scale(1.03); }
.dk-hub-body h2 { margin-bottom: 12px; }
.dk-hub-body h2 a:hover { color: var(--dk-yellow-deep); }
.dk-hub-body p { color: var(--dk-muted); }
.dk-hub-body .dk-btn { margin-top: 14px; }

/* contact */
.dk-contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.dk-contact-form h2, .dk-contact-info h2 { font-size: 2rem; margin-bottom: 20px; }
.dk-contact-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--dk-line); }
.dk-contact-row:last-of-type { border-bottom: 1px solid var(--dk-line); }
.dk-contact-row strong { display: block; font-size: 1.15rem; }
.dk-contact-row small { display: block; color: var(--dk-muted); font-size: .92rem; }
a.dk-contact-row:hover strong { color: var(--dk-yellow-deep); }
.dk-contact-ic { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--dk-yellow-soft); color: var(--dk-ink); display: grid; place-items: center; }
.dk-contact-prose { margin-top: 24px; font-size: 1rem; color: var(--dk-muted); }
.dk-map { margin-top: clamp(40px, 6vw, 72px); border-radius: var(--dk-radius); overflow: hidden; background: var(--dk-bg-2); }
.dk-map iframe { width: 100%; height: 380px; border: 0; }

/* blog + article */
.dk-posts-grid-archive { grid-template-columns: repeat(3, 1fr); }
.dk-pagination { margin-top: 40px; display: flex; justify-content: center; }
.dk-pagination .nav-links { display: flex; gap: 8px; }
.dk-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--dk-line); font-weight: 600; }
.dk-pagination .page-numbers.current { background: var(--dk-ink); color: #fff; border-color: var(--dk-ink); }
.dk-empty { text-align: center; padding: 40px 0; }
.dk-empty a { font-weight: 700; border-bottom: 2px solid var(--dk-yellow); }
.dk-article-head { background: var(--dk-ink); color: #fff; padding: clamp(44px, 6vw, 80px) 0; }
.dk-article-headin { max-width: none; }
.dk-article-headin > * { max-width: 860px; }
.dk-article-head h1 { color: #fff; font-size: clamp(2rem, 3.9vw, 3.1rem); }
.dk-article-meta { color: var(--dk-light-muted); margin-top: 14px; }
.dk-article-media { margin-top: -40px; }
.dk-article-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--dk-radius); box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.dk-article-grid { padding-top: clamp(32px, 5vw, 56px); }
.dk-prose-article { font-size: 1.1rem; }
.dk-posts-more { padding-top: 0; }

/* ============================================================ reveal + motion */
html.dk-js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--dk-ease), transform .7s var(--dk-ease); }
html.dk-js [data-reveal].is-in { opacity: 1; transform: none; }
html.dk-js .dk-svc-grid [data-reveal]:nth-child(2), html.dk-js .dk-steps [data-reveal]:nth-child(2), html.dk-js .dk-posts-grid [data-reveal]:nth-child(2) { transition-delay: .08s; }
html.dk-js .dk-svc-grid [data-reveal]:nth-child(3), html.dk-js .dk-steps [data-reveal]:nth-child(3), html.dk-js .dk-posts-grid [data-reveal]:nth-child(3) { transition-delay: .16s; }
html.dk-js .dk-svc-grid [data-reveal]:nth-child(4), html.dk-js .dk-steps [data-reveal]:nth-child(4) { transition-delay: .24s; }
html.dk-js .dk-svc-grid [data-reveal]:nth-child(5), html.dk-js .dk-steps [data-reveal]:nth-child(5) { transition-delay: .32s; }
html.dk-js .dk-svc-grid [data-reveal]:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .dk-marquee { overflow-x: auto; }
  .dk-marquee-track { animation: none; }
  html.dk-js [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================ responsive */
@media (max-width: 1100px) {
  .dk-nav > ul > li > a { padding: 10px 10px; font-size: .96rem; }
  .dk-top-phone { display: none; }
  .dk-steps { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
  .dk-steps::before { display: none; }
  .dk-related-row { grid-template-columns: repeat(3, 1fr); }
  .dk-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --dk-top-h: 66px; }
  .dk-nav { display: none; }
  .dk-burger { display: inline-flex; }
  .dk-top-cta .dk-btn { display: none; }
  .dk-logo-img { height: 40px; }
  .dk-hero { min-height: 0; padding-top: 56px; }
  .dk-hero-facts { grid-template-columns: 1fr 1fr; border-radius: 0; }
  .dk-hero-facts > div:nth-child(2) { border-inline-end: 0; }
  .dk-hero-facts > div:nth-child(-n+2) { border-bottom: 1px solid rgba(21,23,26,.18); }
  .dk-svc-grid { grid-template-columns: 1fr 1fr; }
  .dk-svc-big { grid-column: span 2; }
  .dk-about-grid, .dk-why-grid, .dk-faq-grid, .dk-lead-grid, .dk-contact-grid, .dk-page-grid { grid-template-columns: 1fr; }
  .dk-why-text, .dk-faq-head, .dk-side { position: static; }
  .dk-posts-grid, .dk-posts-grid-archive { grid-template-columns: 1fr 1fr; }
  .dk-hub-item, .dk-hub-item.is-flip { grid-template-columns: 1fr; }
  .dk-hub-item.is-flip .dk-hub-media { order: 0; }
  .dk-side { grid-template-columns: 1fr 1fr; }
  .dk-side-card { grid-column: 1 / -1; }
  .dk-phero-svc, .dk-phero-hub { min-height: 0; padding-top: 120px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  h2, .dk-h2 { font-size: clamp(1.55rem, 6vw, 2rem); }
  .dk-svc-grid { grid-template-columns: 1fr; }
  .dk-svc-big { grid-column: auto; }
  .dk-about-facts, .dk-why-list, .dk-form-fields, .dk-posts-grid, .dk-posts-grid-archive, .dk-side, .dk-foot-grid { grid-template-columns: 1fr; }
  .dk-steps { grid-template-columns: 1fr; }
  .dk-related-row { grid-template-columns: 1fr 1fr; }
  .dk-hero-cta .dk-btn { width: 100%; }
  .dk-hero-facts strong { font-size: 1.8rem; }
  .dk-about-media { padding-bottom: 22%; }
  .dk-lead-phone { font-size: 1.7rem; }
  .dk-wa { width: 52px; height: 52px; inset-inline-start: 14px; bottom: 14px; }
  .dk-map iframe { height: 280px; }
  .dk-article-media { margin-top: -24px; }
  .dk-foot-bar { flex-direction: column; }
}

/* ============================================================ Dscope lead form
   Floating pill on the opposite side from the WhatsApp button, and a centred modal
   that holds the Dscope iframe. The iframe src is only set on first open, so the
   widget costs nothing on pages nobody opens it from. */
.dk-dsc-btn { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: var(--z-wa); display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; border: 0; border-radius: 999px; background: var(--dk-yellow); color: var(--dk-ink); font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; box-shadow: 0 10px 26px rgba(21,23,26,.3); transition: transform .25s var(--dk-ease), background .2s; }
.dk-dsc-btn:hover { background: var(--dk-yellow-deep); transform: translateY(-2px); }
.dk-dsc-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.dk-dsc-btn svg { flex: none; }

.dk-dsc-ov { position: fixed; inset: 0; z-index: var(--z-drawer); display: grid; place-items: center; padding: 20px; background: rgba(21,23,26,.62); opacity: 0; transition: opacity .28s var(--dk-ease); }
.dk-dsc-ov.is-open { opacity: 1; }
.dk-dsc-box { position: relative; width: min(520px, 100%); height: min(760px, calc(100dvh - 40px)); border-radius: var(--dk-radius); overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.45); transform: translateY(14px) scale(.985); transition: transform .28s var(--dk-ease); }
.dk-dsc-ov.is-open .dk-dsc-box { transform: none; }
.dk-dsc-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.dk-dsc-x { position: absolute; inset-inline-end: 10px; top: 10px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--dk-line); border-radius: 50%; background: #fff; color: var(--dk-text); cursor: pointer; }
.dk-dsc-x:hover { background: var(--dk-bg-2); }

@media (max-width: 620px) {
  .dk-dsc-btn { padding: 11px 16px; font-size: .95rem; }
  .dk-dsc-box { height: calc(100dvh - 28px); }
}
@media (prefers-reduced-motion: reduce) {
  .dk-dsc-btn, .dk-dsc-ov, .dk-dsc-box { transition: none; }
}
