/*
 * Layout for pages built from plain content blocks: the GaaS and AaaS service
 * pages and the legal pages. Enqueued only on those pages (functions.php).
 *
 * These pages use the .pdv tokens from shared.css, so light and dark mode and the
 * brand palette come from there. #pdvRoot is an Elementor container here rather
 * than a div inside a widget, because a form shortcode has to sit inside it.
 */

#pdvRoot.e-con { display: block; --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; max-width: none; }
#pdvRoot .elementor-widget { width: 100%; }
.pdvx-wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 2; }
.pdvx-section { padding: 76px 0; position: relative; z-index: 2; }
.pdvx-section-tight { padding-top: 24px; }
.pdvx-head { max-width: 760px; margin-bottom: 40px; }
.pdvx-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.pdv .pdvx-h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.16; letter-spacing: -.4px; color: var(--pd-navy); margin-bottom: 14px; }
.pdv .pdvx-sub { font-size: 16.5px; line-height: 1.7; color: var(--pd-muted); }
.pdv .pdvx-prose p { font-size: 16px; line-height: 1.75; color: var(--pd-muted); margin-bottom: 14px; }
.pdv a.pdvx-link { color: var(--pd-blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(74,159,212,.5); text-underline-offset: 3px; transition: text-decoration-color .25s ease; }
.pdv a.pdvx-link:hover { text-decoration-color: var(--pd-blue); }
.pdv.dark a.pdvx-link { color: #8ECAE6; }

/* ═══ BREADCRUMB ═══ */
.pdv .pdvx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; font-size: 13px; color: var(--pd-muted); list-style: none; }
.pdv .pdvx-crumbs a { color: var(--pd-muted); text-decoration: none; transition: color .2s ease; }
.pdv .pdvx-crumbs a:hover { color: var(--pd-blue); }
.pdv .pdvx-crumbs li + li::before { content: "›"; margin-right: 8px; }

/* ═══ HERO ═══ */
.pdvx-hero { padding: 58px 0 44px; position: relative; z-index: 2; }
.pdvx-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.pdv .pdvx-h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1.07; letter-spacing: -1px; color: var(--pd-navy); margin: 16px 0 20px; }
.pdv .pdvx-h1 .pdv-grad-text { display: block; font-size: .72em; line-height: 1.2; margin-top: 8px; padding-bottom: 4px; }
.pdv .pdvx-lead { font-size: 18px; line-height: 1.7; color: var(--pd-muted); max-width: 600px; margin-bottom: 28px; }
.pdvx-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pdv .pdvx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; list-style: none; }
.pdv .pdvx-chips li { padding: 7px 13px; border-radius: 100px; font-size: 12.5px; font-weight: 600; color: var(--pd-blue); background: rgba(30,90,156,.07); border: 1px solid rgba(30,90,156,.13); transition: translate .25s ease, background-color .25s ease; }
.pdv .pdvx-chips li:hover { translate: 0 -2px; background: rgba(74,159,212,.16); }
.pdv.dark .pdvx-chips li { color: #8ECAE6; background: rgba(74,159,212,.10); border-color: rgba(74,159,212,.25); }

/* ═══ HERO VISUAL: AGENT LOOP (AaaS) ═══ */
.pdvx-loop { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: 0 auto; }
.pdvx-loop-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pdvx-loop-ring { fill: none; stroke: var(--pd-sky); stroke-width: 1.5; stroke-dasharray: 5 7; opacity: .55; }
.pdvx-loop-ring-2 { fill: none; stroke: var(--pd-blue); stroke-width: 1; opacity: .18; }
/* An HTML element rather than SVG so the browser can animate it on the compositor.
   rotate() around the ring's centre keeps it on a circle at any rendered size. */
.pdvx-loop-orbit { position: absolute; inset: 15.9%; border-radius: 50%; animation: pdvxOrbit 9s linear infinite; will-change: transform; }
.pdvx-loop-orbit::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--pd-sky); box-shadow: 0 0 12px rgba(74,159,212,.9); }
@keyframes pdvxOrbit { to { transform: rotate(360deg); } }
.pdvx-loop-hub {
  position: absolute; inset: 33%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 3px;
  border-radius: 50%; background: var(--pd-grad-dark); color: #fff; box-shadow: 0 22px 50px rgba(30,90,156,.38); animation: pdvFloat 6s ease-in-out infinite;
}
.pdvx-loop-hub b { font-size: clamp(13px, 1.5vw, 16px); font-weight: 800; line-height: 1.2; color: #fff; }
.pdvx-loop-hub span { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.78); line-height: 1.3; padding: 0 8px; }
.pdvx-loop-node {
  position: absolute; width: 112px; padding: 11px 10px; border-radius: 14px; text-align: center; transform: translate(-50%, -50%);
  background: var(--pd-glass-strong); border: 1px solid var(--pd-border); box-shadow: 0 14px 32px rgba(10,37,64,.13);
}
.pdvx-loop-node b { display: block; font-size: 13.5px; font-weight: 800; color: var(--pd-navy); }
.pdvx-loop-node span { display: block; margin-top: 2px; font-size: 10.5px; line-height: 1.3; color: var(--pd-muted); }
.pdvx-n1 { top: 16%; left: 50%; }
.pdvx-n2 { top: 50%; left: 84%; }
.pdvx-n3 { top: 84%; left: 50%; }
.pdvx-n4 { top: 50%; left: 16%; }

/* ═══ HERO VISUAL: DRAFT PIPELINE (GaaS) ═══ */
.pdvx-pipe { position: relative; width: min(100%, 460px); margin: 0 auto; display: grid; gap: 14px; }
.pdvx-pipe-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pdvx-pipe-input { padding: 12px 8px; border-radius: 13px; text-align: center; font-size: 11.5px; font-weight: 700; line-height: 1.3; color: var(--pd-navy); background: var(--pd-glass-strong); border: 1px solid var(--pd-border); box-shadow: 0 10px 24px rgba(10,37,64,.09); animation: pdvFloat 5s ease-in-out infinite; }
.pdvx-pipe-input:nth-child(2) { animation-delay: -1.6s; }
.pdvx-pipe-input:nth-child(3) { animation-delay: -3.2s; }
.pdvx-pipe-doc { position: relative; overflow: hidden; padding: 20px; border-radius: 20px; background: var(--pd-grad-dark); color: #fff; box-shadow: 0 24px 54px rgba(30,90,156,.34); }
.pdvx-pipe-doc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 12.5px; font-weight: 700; color: #fff; }
.pdvx-pipe-state { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; color: #8ECAE6; }
.pdvx-pipe-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #8ECAE6; animation: pdvxBlink 2s ease-in-out infinite; }
@keyframes pdvxBlink { 50% { opacity: .35; } }
.pdvx-pipe-line { display: block; height: 8px; margin-bottom: 10px; border-radius: 6px; background: rgba(255,255,255,.14); overflow: hidden; }
.pdvx-pipe-line i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #4A9FD4, #8ECAE6); transform-origin: left; animation: pdvxWrite 7s ease-in-out infinite; }
.pdvx-pipe-line:nth-child(3) i { animation-delay: .5s; }
.pdvx-pipe-line:nth-child(4) i { animation-delay: 1s; }
.pdvx-pipe-line:nth-child(5) i { animation-delay: 1.5s; }
@keyframes pdvxWrite { 0% { transform: scaleX(0); } 45%, 88% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.pdvx-pipe-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pdvx-pipe-step { padding: 12px 8px; border-radius: 13px; text-align: center; font-size: 11.5px; font-weight: 700; line-height: 1.3; color: var(--pd-blue); background: rgba(74,159,212,.13); border: 1px solid rgba(74,159,212,.3); }
.pdv.dark .pdvx-pipe-step { color: #8ECAE6; }
.pdvx-pipe-arrow { text-align: center; font-size: 18px; line-height: 1; color: var(--pd-sky); animation: pdvxNudge 2.4s ease-in-out infinite; }
@keyframes pdvxNudge { 0%, 100% { translate: 0 -2px; opacity: .55; } 50% { translate: 0 3px; opacity: 1; } }

/* ═══ QUICK ANSWER ═══ */
.pdvx-answer {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; overflow: hidden; border-radius: 24px;
  background: var(--pd-glass-strong); border: 1px solid var(--pd-border); box-shadow: var(--pd-shadow);
}
.pdvx-answer-main { padding: 36px; }
.pdv .pdvx-answer-label { display: inline-block; margin-bottom: 12px; font-size: 11.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--pd-blue); }
.pdv.dark .pdvx-answer-label { color: #8ECAE6; }
.pdv .pdvx-answer-q { font-size: clamp(22px, 2.5vw, 28px); font-weight: 800; line-height: 1.22; color: var(--pd-navy); margin-bottom: 14px; }
.pdv .pdvx-answer-main p { font-size: 16.5px; line-height: 1.75; color: var(--pd-muted); margin-bottom: 12px; }
.pdv .pdvx-answer-main p strong { color: var(--pd-navy); font-weight: 700; }
.pdv .pdvx-answer-note { font-size: 14px; }
.pdvx-facts { padding: 36px; background: var(--pd-grad-dark); }
.pdv .pdvx-facts dt { font-size: 11px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: #8ECAE6; margin-bottom: 4px; }
.pdv .pdvx-facts dd { font-size: 14.5px; line-height: 1.55; color: #fff; margin-bottom: 18px; }
.pdv .pdvx-facts dd:last-child { margin-bottom: 0; }

/* ═══ CARDS ═══ */
.pdvx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pdvx-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pdvx-card {
  position: relative; padding: 28px; border-radius: 20px; background: var(--pd-card-bg); border: 1px solid var(--pd-border); box-shadow: var(--pd-shadow);
 
  transition: translate .35s cubic-bezier(.23,1,.32,1), box-shadow .35s ease, border-color .35s ease;
}
.pdvx-card:hover { translate: 0 -7px; box-shadow: 0 26px 56px rgba(30,90,156,.18); border-color: rgba(74,159,212,.5); }
.pdvx-card-icon { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 14px; color: var(--pd-blue); background: linear-gradient(135deg, rgba(30,90,156,.12), rgba(74,159,212,.14)); transition: background-color .3s ease, color .3s ease, rotate .3s ease, scale .3s ease; }
.pdvx-card:hover .pdvx-card-icon { color: #fff; background: var(--pd-grad-dark); rotate: -6deg; scale: 1.08; }
.pdv.dark .pdvx-card-icon { color: #8ECAE6; }
.pdvx-card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pdv .pdvx-card h3 { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--pd-navy); margin-bottom: 9px; }
.pdv .pdvx-card p { font-size: 14.5px; line-height: 1.68; color: var(--pd-muted); }
.pdv .pdvx-card ul { list-style: none; margin-top: 12px; }
.pdv .pdvx-card li { position: relative; padding: 4px 0 4px 18px; font-size: 14px; line-height: 1.55; color: var(--pd-muted); }
.pdv .pdvx-card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--pd-sky); }

/* ═══ TABLES ═══ */
.pdvx-table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid rgba(30,90,156,.13); background: var(--pd-glass-strong); box-shadow: var(--pd-shadow); -webkit-overflow-scrolling: touch; }
.pdv .pdvx-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; margin: 0; }
.pdv .pdvx-table th, .pdv .pdvx-table td { padding: 15px 18px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid rgba(30,90,156,.10); color: var(--pd-muted); background: none; }
.pdv .pdvx-table thead th { font-size: 13px; font-weight: 800; color: #fff; background: var(--pd-grad-dark); border-bottom: 0; }
.pdv .pdvx-table tbody th { font-weight: 700; color: var(--pd-navy); }
.pdv .pdvx-table tbody tr:last-child th, .pdv .pdvx-table tbody tr:last-child td { border-bottom: 0; }
.pdv .pdvx-table tbody tr { transition: background-color .2s ease; }
.pdv .pdvx-table tbody tr:hover { background: rgba(74,159,212,.08); }
.pdv .pdvx-table .pdvx-col-us { color: var(--pd-navy); font-weight: 600; background: rgba(74,159,212,.09); }
.pdv .pdvx-table thead .pdvx-col-us { color: #fff; background: linear-gradient(135deg, #1E5A9C, #4A9FD4); }

/* ═══ STEPS ═══ */
.pdv .pdvx-steps { display: grid; gap: 14px; list-style: none; counter-reset: pdvx-step; }
.pdvx-step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 24px; border-radius: 18px; counter-increment: pdvx-step; background: var(--pd-card-bg); border: 1px solid var(--pd-border); box-shadow: 0 10px 28px rgba(10,37,64,.07); transition: translate .3s cubic-bezier(.23,1,.32,1), border-color .3s ease, box-shadow .3s ease; }
.pdvx-step:hover { translate: 6px 0; border-color: rgba(74,159,212,.5); box-shadow: 0 18px 38px rgba(30,90,156,.14); }
.pdvx-step::before { content: counter(pdvx-step, decimal-leading-zero); display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; font-size: 15px; font-weight: 800; color: #fff; background: var(--pd-grad-dark); }
.pdv .pdvx-step h3 { font-size: 17px; font-weight: 700; color: var(--pd-navy); margin-bottom: 5px; }
.pdv .pdvx-step p { font-size: 14.5px; line-height: 1.65; color: var(--pd-muted); }

/* ═══ AUTONOMY LADDER ═══ */
.pdvx-ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; }
.pdvx-rung { padding: 22px 20px; border-radius: 18px; color: #fff; box-shadow: 0 16px 36px rgba(30,90,156,.2); transition: translate .3s cubic-bezier(.23,1,.32,1), box-shadow .3s ease; }
.pdvx-rung:hover { translate: 0 -6px; box-shadow: 0 24px 46px rgba(30,90,156,.32); }
.pdvx-rung:nth-child(1) { background: linear-gradient(160deg, #2A74B0, #1E5A9C); min-height: 180px; }
.pdvx-rung:nth-child(2) { background: linear-gradient(160deg, #1E5A9C, #174B85); min-height: 214px; }
.pdvx-rung:nth-child(3) { background: linear-gradient(160deg, #174B85, #103660); min-height: 248px; }
.pdvx-rung:nth-child(4) { background: linear-gradient(160deg, #103660, #0A2540); min-height: 282px; }
.pdv .pdvx-rung small { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: rgba(255,255,255,.8); }
.pdv .pdvx-rung h3 { font-size: 17px; font-weight: 800; line-height: 1.25; color: #fff; margin-bottom: 8px; }
.pdv .pdvx-rung p { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.88); }

/* ═══ FIT LISTS ═══ */
.pdv .pdvx-check { list-style: none; }
.pdv .pdvx-check li { position: relative; padding: 7px 0 7px 28px; font-size: 14.5px; line-height: 1.55; color: var(--pd-muted); }
.pdv .pdvx-check li::before { content: "✓"; position: absolute; left: 0; top: 8px; display: flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 50%; font-size: 11px; font-weight: 800; color: #fff; background: var(--pd-grad); }
.pdv .pdvx-check.pdvx-cross li::before { content: "–"; color: var(--pd-blue); background: rgba(30,90,156,.13); }
.pdv.dark .pdvx-check.pdvx-cross li::before { color: #8ECAE6; }

/* ═══ SISTER SERVICE LINK ═══ */
.pdv a.pdvx-sister { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; padding: 30px 34px; border-radius: 22px; text-decoration: none; color: #fff; background: var(--pd-grad-dark); box-shadow: 0 22px 50px rgba(30,90,156,.28); transition: translate .3s cubic-bezier(.23,1,.32,1), box-shadow .3s ease; }
.pdv a.pdvx-sister:hover { translate: 0 -5px; box-shadow: 0 30px 62px rgba(30,90,156,.4); color: #fff; }
.pdvx-sister small { display: block; margin-bottom: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: #8ECAE6; }
.pdvx-sister strong { display: block; margin-bottom: 6px; font-size: 21px; font-weight: 800; line-height: 1.25; color: #fff; }
.pdvx-sister span.pdvx-sister-text { display: block; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.8); }
.pdvx-sister-arrow { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; font-size: 20px; background: rgba(255,255,255,.14); transition: translate .3s ease, background-color .3s ease; }
.pdv a.pdvx-sister:hover .pdvx-sister-arrow { translate: 5px 0; background: rgba(255,255,255,.26); }

/* ═══ FAQ ═══ */
.pdvx-faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.pdvx-faq-item { border-radius: 16px; background: var(--pd-card-bg); border: 1px solid var(--pd-border); box-shadow: 0 8px 24px rgba(10,37,64,.06); transition: border-color .25s ease, box-shadow .25s ease; }
.pdvx-faq-item:hover, .pdvx-faq-item[open] { border-color: rgba(74,159,212,.5); box-shadow: 0 16px 36px rgba(30,90,156,.13); }
.pdv .pdvx-faq-item summary { position: relative; padding: 19px 56px 19px 22px; list-style: none; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--pd-navy); }
.pdvx-faq-item summary::-webkit-details-marker { display: none; }
.pdvx-faq-item summary h3 { all: unset; }
.pdvx-faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; font-size: 18px; font-weight: 500; color: var(--pd-blue); background: rgba(30,90,156,.09); transition: rotate .3s ease, background-color .3s ease, color .3s ease; }
.pdvx-faq-item[open] summary::after { rotate: 45deg; color: #fff; background: var(--pd-grad-dark); }
.pdv .pdvx-faq-a { padding: 0 22px 20px; font-size: 15px; line-height: 1.72; color: var(--pd-muted); }
.pdvx-faq-item[open] .pdvx-faq-a { animation: pdvxFaqIn .35s ease; }
@keyframes pdvxFaqIn { from { opacity: 0; translate: 0 -5px; } to { opacity: 1; translate: 0 0; } }

/* ═══ ENQUIRY ═══ */
#pdvRoot .pdvx-enquire.e-con { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0; width: min(1200px, calc(100% - 40px)); max-width: none; margin: 0 auto 76px; --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; overflow: hidden; border-radius: 26px; box-shadow: 0 30px 70px rgba(10,37,64,.2); }
.pdvx-enquire-copy { height: 100%; padding: 44px 40px; background: var(--pd-grad-dark); color: #fff; }
.pdv .pdvx-enquire-copy h2 { font-size: clamp(25px, 3vw, 34px); font-weight: 800; line-height: 1.2; color: #fff; margin-bottom: 14px; }
.pdv .pdvx-enquire-copy p { font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,.82); margin-bottom: 22px; }
.pdv .pdvx-enquire-copy ul { list-style: none; display: grid; gap: 12px; }
.pdv .pdvx-enquire-copy a { display: inline-flex; gap: 8px; font-size: 14.5px; font-weight: 600; color: #fff; text-decoration: none; transition: translate .25s ease, color .25s ease; }
.pdv .pdvx-enquire-copy a:hover { translate: 4px 0; color: #8ECAE6; }
#pdvRoot .pdvx-form { padding: 38px 36px; background: var(--pd-glass-strong); }
.pdv .pdvx-form label { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; color: var(--pd-navy); }
.pdv .pdvx-form p { margin: 0; }
.pdv .pdvx-form input[type="text"], .pdv .pdvx-form input[type="email"], .pdv .pdvx-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 11px; border: 1.5px solid rgba(30,90,156,.2); background: rgba(255,255,255,.75); font: inherit; font-size: 14.5px; font-weight: 400; color: var(--pd-text); transition: border-color .25s ease, box-shadow .25s ease; }
.pdv.dark .pdvx-form input[type="text"], .pdv.dark .pdvx-form input[type="email"], .pdv.dark .pdvx-form textarea { background: rgba(10,22,40,.5); border-color: rgba(74,159,212,.3); }
.pdv .pdvx-form textarea { height: 124px; resize: vertical; }
.pdv .pdvx-form input[type="submit"] { width: 100%; padding: 14px 24px; border: 0; border-radius: 12px; font-size: 15px; font-weight: 700; color: #fff; background: var(--pd-grad-dark); box-shadow: 0 12px 26px rgba(30,90,156,.3); transition: translate .25s ease, box-shadow .25s ease; }
.pdv .pdvx-form input[type="submit"]:hover { translate: 0 -2px; box-shadow: 0 16px 34px rgba(30,90,156,.4); }
.pdv .pdvx-form .wpcf7-spinner { display: block; margin: 8px auto 0; }
.pdv .pdvx-form .wpcf7-not-valid-tip { font-size: 12.5px; font-weight: 500; margin-top: 4px; }
.pdv .pdvx-form .wpcf7-response-output { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--pd-text); }

/* ═══ LEGAL ═══ */
.pdvx-legal-hero { padding: 52px 0 26px; position: relative; z-index: 2; }
.pdv .pdvx-legal-h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; line-height: 1.1; letter-spacing: -.8px; color: var(--pd-navy); margin: 14px 0 12px; }
.pdv .pdvx-updated { font-size: 14px; font-weight: 600; color: var(--pd-muted); }
.pdvx-legal { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 44px; align-items: start; padding-bottom: 84px; }
.pdvx-toc { position: sticky; top: 118px; max-height: calc(100vh - 140px); overflow: auto; padding: 22px; border-radius: 18px; background: var(--pd-glass-strong); border: 1px solid var(--pd-border); box-shadow: var(--pd-shadow); }
.pdv .pdvx-toc-title { margin-bottom: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--pd-blue); }
.pdv.dark .pdvx-toc-title { color: #8ECAE6; }
.pdv .pdvx-toc ol { list-style: none; }
.pdv .pdvx-toc a { display: block; padding: 6px 10px; border-left: 2px solid transparent; border-radius: 0 7px 7px 0; font-size: 13px; line-height: 1.4; color: var(--pd-muted); text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.pdv .pdvx-toc a:hover, .pdv .pdvx-toc a.active { color: var(--pd-blue); background: rgba(74,159,212,.1); border-left-color: var(--pd-sky); }
.pdv.dark .pdvx-toc a:hover, .pdv.dark .pdvx-toc a.active { color: #8ECAE6; }
.pdvx-legal-body { min-width: 0; padding: 40px; border-radius: 22px; background: var(--pd-glass-strong); border: 1px solid var(--pd-border); box-shadow: var(--pd-shadow); }
.pdvx-summary { margin-bottom: 34px; padding: 22px 24px; border-radius: 16px; border-left: 4px solid var(--pd-sky); background: rgba(74,159,212,.1); }
.pdv .pdvx-summary h2 { margin: 0 0 10px; padding: 0; font-size: 16.5px; font-weight: 800; color: var(--pd-navy); scroll-margin-top: 0; }
.pdv .pdvx-legal-body section { margin-bottom: 34px; scroll-margin-top: 118px; }
.pdv .pdvx-legal-body section:last-child { margin-bottom: 0; }
.pdv .pdvx-legal-body h2 { margin-bottom: 12px; font-size: 22px; font-weight: 800; line-height: 1.3; color: var(--pd-navy); }
.pdv .pdvx-legal-body h3 { margin: 18px 0 8px; font-size: 16.5px; font-weight: 700; color: var(--pd-navy); }
.pdv .pdvx-legal-body p, .pdv .pdvx-legal-body li { font-size: 15.5px; line-height: 1.75; color: var(--pd-muted); }
.pdv .pdvx-legal-body p { margin-bottom: 12px; }
.pdv .pdvx-legal-body ul { margin: 0 0 12px 20px; list-style: disc outside; }
.pdv .pdvx-legal-body li::marker { color: var(--pd-sky); }
.pdv .pdvx-legal-body li { margin-bottom: 5px; }
.pdv .pdvx-legal-body strong { color: var(--pd-navy); font-weight: 700; }
.pdv .pdvx-legal-body .pdvx-table-wrap { margin: 14px 0 16px; box-shadow: none; }
.pdv .pdvx-legal-body .pdvx-table { min-width: 560px; font-size: 14px; }
.pdv .pdvx-legal-body .pdvx-table td, .pdv .pdvx-legal-body .pdvx-table th { font-size: 14px; }
.pdv .pdvx-legal-body .pdvx-table thead th { color: #fff; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .pdvx-hero-grid, .pdvx-answer { grid-template-columns: 1fr; }
  .pdvx-hero-grid { gap: 42px; }
  .pdvx-grid { grid-template-columns: repeat(2, 1fr); }
  .pdvx-ladder { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
  .pdvx-rung:nth-child(n) { min-height: 0; }
  .pdvx-legal { grid-template-columns: 1fr; gap: 22px; }
  .pdvx-toc { position: static; max-height: none; }
  #pdvRoot .pdvx-enquire.e-con { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pdvx-section { padding: 52px 0; }
  .pdvx-hero { padding: 34px 0 26px; }
  .pdvx-grid, .pdvx-grid-2, .pdvx-ladder { grid-template-columns: 1fr; }
  .pdvx-answer-main, .pdvx-facts { padding: 26px 22px; }
  .pdvx-actions .pdv-btn { width: 100%; justify-content: center; }
  .pdvx-loop-node { width: 92px; padding: 8px 6px; }
  .pdvx-loop-node span { display: none; }
  .pdvx-step { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .pdv a.pdvx-sister { grid-template-columns: 1fr; padding: 24px; }
  .pdvx-legal-body { padding: 24px 20px; }
  .pdvx-enquire-copy, #pdvRoot .pdvx-form { padding: 28px 22px; }
}
