/* =============================================================
   Digital Marketing page — black campaign hero, editorial service
   rows, interactive funnel journey, channel modules, reporting,
   health-check quiz, chat FAQ, booking-style CTA.
   ============================================================= */
.o { color: var(--orange); }
.bg-cream { background: var(--cream); }
.sq { position: relative; display: inline-block; white-space: nowrap; }
.sq::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: .14em; border-radius: 999px; background: var(--orange); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) .3s; }
.rv.in .sq::after, .dm-hero .sq::after { transform: scaleX(1); }
.dm-head { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; max-width: 780px; margin: 0 auto clamp(36px, 5vw, 56px); }
.dm-head.left { align-items: flex-start; text-align: left; margin-left: 0; }
.dm-head .lead { max-width: 52ch; }

/* ---------- Hero ---------- */
.dm-hero { position: relative; background: #000; color: #fff; padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(56px, 7vw, 104px); overflow: hidden; }
.dm-grid-bg { position: absolute; inset: 0; background-image: radial-gradient(#2A2A2A 1.2px, transparent 1.2px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%); }
.dm-hero::after { content: ""; position: absolute; right: -180px; top: -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(244,144,12,.35), transparent 65%); }
.dm-hero .crumbs, .dm-hero .crumbs a { color: #9A9A9A; }
.dm-hero .crumbs [aria-current] { color: #fff; }
.dm-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.dm-hero-copy { display: flex; flex-direction: column; gap: clamp(18px, 2vw, 26px); }
.dm-h1 { font-size: clamp(40px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.05em; }
.dm-h1 em { font-style: normal; color: var(--orange); }
.dm-hero .lead { max-width: 46ch; color: #CFCFCF; }

.dm-board { position: relative; min-height: 470px; }
.dm-sample { position: absolute; top: -6px; right: 0; z-index: 4; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #222; color: #BDBDBD; border: 1px solid #333; }
.serp { position: absolute; left: 0; top: 20px; width: 70%; background: #fff; color: #000; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.sbar { display: flex; align-items: center; gap: 10px; border: 1px solid #E5E5E5; border-radius: 999px; padding: 9px 14px; font-size: 13px; }
.sbar b { font-family: var(--font-head); color: var(--orange); }
.sres { border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 5px; }
.sres small { font-size: 11px; color: #5E5E5E; }
.sres h5 { margin: 0; font-size: 14px; color: #1A0DAB; }
.sres i { display: block; height: 7px; border-radius: 4px; background: #EEE; width: 85%; }
.sres i.s { width: 60%; }
.sres.top { background: var(--cream); border: 1.5px solid var(--orange); }
.sres.dim { opacity: .55; }
.post { position: absolute; right: 0; top: 130px; width: 44%; background: #fff; color: #000; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); z-index: 2; animation: floaty 7s ease-in-out infinite; }
.p-top { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 12px; }
.p-top i { width: 22px; height: 22px; border-radius: 50%; background: var(--orange); }
.p-top small { margin-left: auto; color: #888; }
.p-img { aspect-ratio: 1 / .8; background: linear-gradient(135deg, var(--orange), #C95F00); display: flex; align-items: flex-end; padding: 14px; }
.p-img strong { font-family: var(--font-head); font-weight: 600; font-size: 22px; line-height: 1.05; color: #fff; }
.p-act { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 14px; }
.p-act em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; background: #000; color: #fff; padding: 5px 10px; border-radius: 999px; }
.spark { position: absolute; left: 4%; top: 300px; width: 44%; background: #161616; border: 1px solid #2E2E2E; border-radius: 18px; padding: 14px; z-index: 3; animation: floaty 7s ease-in-out infinite -3.5s; }
.spark small { font-size: 12px; color: #9A9A9A; font-weight: 600; }
.spark svg { display: block; width: 100%; margin-top: 6px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Editorial service rows ---------- */
.editorial { border-top: 2px solid #000; }
.er { display: grid; grid-template-columns: 64px 56px minmax(0, 1.4fr) minmax(0, 1fr) 52px; gap: 20px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--line-2); text-decoration: none; color: inherit; position: relative; transition: background .25s ease, padding .25s var(--ease); }
.er::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--orange); transition: width .35s var(--ease); z-index: -1; }
.er:hover { color: inherit; padding-left: 20px; }
.er:hover::before { width: 100%; }
.editorial { position: relative; z-index: 0; }
.er-n { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--link); }
.er:hover .er-n { color: #000; }
.er-ic { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid #000; display: flex; align-items: center; justify-content: center; background: #fff; }
.er-main h3 { margin: 0 0 6px; font-family: var(--font-head); font-weight: 600; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.01em; }
.er-main p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.er:hover .er-main p { color: #1A1A1A; }
.er-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.er-tags span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.er-go { width: 46px; height: 46px; border-radius: 50%; background: #000; color: var(--orange); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease); }
.er:hover .er-go { transform: rotate(-45deg); }

/* ---------- Funnel + journey ---------- */
.dm-dark { background: #0D0D0D; color: #fff; }
.funnel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.fstack { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fstack [role="tab"] { width: var(--w); min-height: 60px; border: 0; border-radius: 14px; background: #1C1C1C; color: #CFCFCF; font-family: var(--font-body); font-size: 16px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.fstack [role="tab"] small { font-size: 12px; font-weight: 600; color: #777; text-transform: uppercase; letter-spacing: .06em; }
.fstack [role="tab"]:hover { background: #262626; transform: scale(1.02); }
.fstack [role="tab"][aria-selected="true"] { background: var(--orange); color: #000; }
.fstack [role="tab"][aria-selected="true"] small { color: #3A2000; }
.fpanel { background: #161616; border: 1px solid #2E2E2E; border-radius: 26px; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.fpanel .step { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.fpanel h3 { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); }
.fpanel p { margin: 0; font-size: 17px; line-height: 1.6; color: #CFCFCF; }
.tact { display: flex; flex-wrap: wrap; gap: 8px; }
.tact span { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: #000; border: 1px solid #333; }
.kpi { font-size: 14px; color: #9A9A9A; padding-top: 12px; border-top: 1px dashed #333; }
.kpi b { color: #fff; }
.journey { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid #2E2E2E; }
.journey li { padding: 22px 18px 0 0; display: flex; flex-direction: column; gap: 6px; position: relative; }
.journey li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); }
.journey b { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--orange); }
.journey span { font-size: 18px; font-weight: 700; }
.journey small { font-size: 14px; color: #9A9A9A; line-height: 1.5; }

/* ---------- Channel modules ---------- */
.mods { display: flex; flex-direction: column; gap: 16px; }
.mod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; border-radius: 32px; padding: clamp(24px, 4vw, 52px); scroll-margin-top: 96px; }
.mod-copy { display: flex; flex-direction: column; gap: 14px; }
.mod-k { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mod-k .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; }
.mod h3 { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -0.02em; max-width: 18ch; }
.mod p { margin: 0; font-size: 17px; line-height: 1.6; max-width: 48ch; }
.mod ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.mod li { font-size: 15px; font-weight: 600; padding-left: 18px; position: relative; }
.mod li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); }
.mod-vis { border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.mod-vis small { font-size: 11px; font-weight: 600; opacity: .7; margin-top: 6px; }
.mod-seo { background: var(--cream); }
.mod-seo .mod-k .ic { background: var(--orange); }
.mod-seo li::before { background: var(--orange); }
.mod-seo p { color: var(--ink-2); }
.mod-seo .mod-vis { background: #fff; border: 1px solid var(--line); }
.kw { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 10px; font-size: 13px; font-weight: 700; color: var(--ink-3); padding: 0 8px 8px; border-bottom: 1px solid var(--line-3); }
.kw.r { color: var(--ink); font-weight: 600; padding: 10px 8px; }
.kw em { font-style: normal; font-size: 11px; font-weight: 800; justify-self: start; padding: 3px 8px; border-radius: 999px; }
.kw em.hi { background: var(--orange); } .kw em.md { background: var(--peach); }
.mod-ads { background: #000; color: #fff; }
.mod-ads p { color: #CFCFCF; }
.mod-ads .mod-k { color: var(--orange); }
.mod-ads .mod-k .ic { background: var(--orange); color: #000; }
.mod-ads li::before { background: var(--orange); }
.mod-ads .mod-copy { order: 2; }
.tree { background: #161616; border: 1px solid #2E2E2E; align-items: center; gap: 14px; }
.tree > div { width: 100%; }
.t-root { width: auto !important; align-self: center; background: var(--orange); color: #000; font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 12px; }
.t-row { display: flex; gap: 8px; justify-content: center; position: relative; }
.t-node, .t-leaf { flex: 1; text-align: center; font-size: 12px; font-weight: 700; padding: 10px 6px; border-radius: 10px; border: 1px solid #333; background: #000; }
.t-node.on { border-color: var(--orange); color: var(--orange); }
.t-leaf { font-weight: 600; color: #9A9A9A; }
.t-goal { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 700; color: #3DBE7E; border: 1px dashed #2E5E45; border-radius: 10px; padding: 10px; }
.t-goal .ic { width: 18px; height: 18px; }
.mod-social { background: var(--sage); }
.mod-social p { color: #24372A; }
.mod-social .mod-k { color: #1F6B45; }
.mod-social .mod-k .ic { background: #1F6B45; color: #fff; }
.mod-social li::before { background: #1F6B45; }
.cal { background: #fff; }
.cal-h, .cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-h span { font-size: 11px; font-weight: 700; color: var(--ink-3); text-align: center; }
.cal-g i { aspect-ratio: 1; border-radius: 10px; background: #F4F6F3; font-style: normal; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cal-g i.r { background: var(--orange); } .cal-g i.p { background: #1F6B45; color: #fff; } .cal-g i.a { background: #000; color: var(--orange); }

/* ---------- Reporting ---------- */
.rep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 72px; align-items: center; }
.rep-copy { display: flex; flex-direction: column; gap: 18px; }
.rep-list { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--line); }
.rep-list li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rep-list b { font-size: 15px; }
.rep-list span { color: var(--ink-2); }
.report { background: #fff; border-radius: 26px; padding: 22px; box-shadow: 0 30px 70px -40px rgba(90,45,0,.5); display: flex; flex-direction: column; gap: 14px; transform: rotate(1.2deg); }
.r-head { display: flex; justify-content: space-between; align-items: center; }
.r-head b { font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.r-head span { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--cream); color: var(--link); }
.r-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.r-kpis div { border: 1px solid var(--line-3); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.r-kpis small { font-size: 11px; font-weight: 700; color: var(--ink-3); }
.r-kpis i { height: 14px; width: 70%; border-radius: 4px; background: #1A1A1A; }
.r-chart { border: 1px solid var(--line-3); border-radius: 12px; padding: 12px; }
.r-chart small, .r-next small { font-size: 11px; font-weight: 700; color: var(--ink-3); }
.r-bars { height: 140px; display: flex; align-items: flex-end; gap: 16px; padding: 10px 6px 22px; border-bottom: 1px solid var(--line-3); }
.r-bars span { flex: 1; background: var(--orange); border-radius: 8px 8px 0 0; position: relative; }
.r-bars span:nth-child(2) { background: #000; }
.r-bars em { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 11px; font-weight: 700; }
.r-next { background: var(--cream); border-radius: 12px; padding: 12px; }
.r-next p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; font-weight: 600; }

/* ---------- Health-check quiz ---------- */
.quiz { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 16px; align-items: start; }
.qs { display: flex; flex-direction: column; gap: 10px; }
.qrow { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--cream); border-radius: 18px; padding: 16px 18px; }
.qrow p { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.45; }
.yn { display: flex; gap: 6px; flex: none; }
.yn button { min-width: 64px; min-height: 44px; border-radius: 999px; border: 1.5px solid #000; background: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 700; cursor: pointer; }
.yn button[data-v="yes"][aria-pressed="true"] { background: #000; color: #fff; }
.yn button[data-v="no"][aria-pressed="true"] { background: var(--orange); border-color: var(--orange); }
.score { position: sticky; top: 100px; background: #000; color: #fff; border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.dial { position: relative; width: 100%; max-width: 260px; align-self: center; }
.dial svg { display: block; width: 100%; }
#dial-arc { transition: stroke-dasharray .6s var(--ease); }
.dial b { position: absolute; left: 0; right: 0; bottom: 2px; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 46px; color: var(--orange); }
.score h3 { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 22px; text-align: center; }
.score > p { margin: 0; font-size: 15px; line-height: 1.55; text-align: center; color: #CFCFCF; }
#dial-recs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#dial-recs li { font-size: 14px; line-height: 1.45; padding: 10px 12px; border-radius: 12px; background: #161616; border: 1px solid #2E2E2E; }
#dial-recs li::before { content: "→ "; color: var(--orange); font-weight: 800; }
.score .btn { width: 100%; }

/* ---------- Chat FAQ ---------- */
.dm-chat-sec { background: var(--cream); }
.chat-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 64px; align-items: start; }
.chat-wrap > div:first-child { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.chat { background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(90,45,0,.5); }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-3); }
.chat-top .av { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); font-family: var(--font-head); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.chat-top b { display: block; font-size: 15px; }
.chat-top small { font-size: 12px; color: var(--ok); font-weight: 600; }
.chat-body { height: 240px; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; background: #FCFAF7; }
.msg { max-width: 82%; padding: 12px 14px; border-radius: 18px; font-size: 15px; line-height: 1.5; animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.msg.bot { background: #fff; border: 1px solid var(--line-3); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.me { background: #000; color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.chat-q { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 20px 20px; border-top: 1px solid var(--line-3); }
.chat-q button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; }
.chat-q button:hover { border-color: var(--orange); }
.chat-q button:disabled { opacity: .4; cursor: default; }

/* ---------- Booking CTA ---------- */
.dm-contact { background: #fff; padding: var(--sec-pad) var(--gutter); }
.dm-book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 36px; overflow: hidden; background: var(--cream); }
.book-l { background: #000; padding: clamp(28px, 4.5vw, 64px); display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; color: #fff; }
.book-l::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 340px; height: 340px; border-radius: 50%; border: 44px solid var(--orange); opacity: .9; }
.book-l > * { position: relative; z-index: 1; }
.book-l h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; }
.book-l h2 span { color: var(--orange); display: block; }
.book-l p { margin: 0; font-size: 17px; line-height: 1.6; max-width: 44ch; }
.book-l ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.book-l li { display: flex; gap: 10px; align-items: center; }
.book-l li i { width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #000; display: flex; align-items: center; justify-content: center; flex: none; }
.book-l li .ic { width: 14px; height: 14px; stroke-width: 3; }
.book-links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 8px; }
.book-links a { color: #fff; font-weight: 700; }
.book-links a:hover { color: var(--orange); }
.book-r { border-radius: 0; box-shadow: none; background: var(--cream); display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 56px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .er { grid-template-columns: 48px 52px minmax(0, 1fr) 46px; }
  .er-tags { display: none; }
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 960px) {
  .dm-hero-in, .funnel, .mod, .rep, .quiz, .chat-wrap, .dm-book { grid-template-columns: minmax(0, 1fr); }
  .mod-ads .mod-copy { order: 0; }
  .score { position: static; }
  .fstack [role="tab"] { width: 100%; }
  .report { transform: none; }
}
@media (max-width: 767px) {
  .dm-hero .actions .btn { flex: 1 1 100%; }
  .dm-board { min-height: 0; display: flex; flex-direction: column; gap: 12px; }
  .serp, .post, .spark { position: relative; inset: auto; width: 100%; animation: none; }
  .post, .spark { display: none; }
  .er { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 22px 4px; }
  .er-n, .er-go { display: none; }
  .er-ic { width: 44px; height: 44px; }
  .journey { grid-template-columns: minmax(0, 1fr); }
  .mod ul { grid-template-columns: minmax(0, 1fr); }
  .rep-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .qrow { flex-direction: column; align-items: flex-start; }
  .sq { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .post, .spark, .msg { animation: none !important; }
  .sq::after { transform: scaleX(1); transition: none; }
}
