/* ==========================================================================
   VYLOX DIGITAL — PAGE STYLES

   Styles that belong to individual pages rather than to a shared
   component. Phase 1 ships only what the global frame needs: the hero
   pattern and the Astra and Elementor adjustments that stop the theme
   fighting our layout.

   Phase 2 onwards adds the homepage and service page sections here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   ASTRA ADJUSTMENTS

   Astra's content wrapper adds its own padding and a maximum width. Our
   pages manage their own spacing through .vxd-section and .vxd-container,
   so the theme's wrapper is flattened to let sections run edge to edge.

   These selectors are specific to Astra's markup, so they do nothing if
   the theme is ever changed.
   -------------------------------------------------------------------------- */

.vxd-site .site-content > .ast-container {
  max-width: 100%;
  padding: 0;
  display: block;
}

.vxd-site #primary,
.vxd-site .site-main,
.vxd-site .ast-container > #primary {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

.vxd-site .entry-content > :last-child { margin-bottom: 0; }

/* Astra adds a top margin to the content area on some layouts. */
.vxd-site .site-content { padding-top: 0; }

/* Hide Astra's title block if a stray one survives the PHP filters. */
.vxd-site .ast-archive-description,
.vxd-site .entry-header .entry-title.ast-page-title {
  display: none;
}

/* --------------------------------------------------------------------------
   ELEMENTOR ADJUSTMENTS

   Elementor's full-width sections already stretch; these rules stop it
   adding a second container inside ours, which would double the side
   padding on mobile.
   -------------------------------------------------------------------------- */

.vxd-site .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 100%;
}

.vxd-site .elementor-widget-shortcode,
.vxd-site .elementor-widget-html {
  width: 100%;
}

/* A shortcode widget should not add vertical rhythm of its own, because
   our components already carry their own section padding. */
.vxd-site .elementor-widget-shortcode .elementor-widget-container {
  margin: 0;
}

/* --------------------------------------------------------------------------
   HERO

   Shared by the homepage and every inner page hero. The variant classes
   control height and alignment.
   -------------------------------------------------------------------------- */

.vxd-hero {
  position: relative;
  overflow: hidden;
  background: var(--vxd-gradient-hero);
  color: var(--vxd-text-on-dark);
  padding-block: calc(var(--vxd-section-y) + 8px) var(--vxd-section-y);
}

@media (min-width: 768px) {
  .vxd-hero { padding-block: calc(var(--vxd-section-y-tablet) + 12px) var(--vxd-section-y-tablet); }
}

@media (min-width: 1024px) {
  .vxd-hero { padding-block: calc(var(--vxd-section-y-desktop) + 16px) var(--vxd-section-y-desktop); }
}

.vxd-hero .vxd-container { position: relative; z-index: 1; }

.vxd-hero h1 { color: var(--vxd-white); }

.vxd-hero__sub {
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem);
  color: var(--vxd-text-on-dark-mu);
  max-width: 56ch;
  margin-bottom: var(--vxd-space-8);
}

/* A soft cyan glow behind the headline, drawn in CSS rather than loaded
   as an image. */
.vxd-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 185, 213, 0.16) 0%, transparent 65%);
  pointer-events: none;
}

/* Inner-page hero, shorter than the homepage one */
.vxd-hero--inner {
  padding-block: var(--vxd-space-10) var(--vxd-space-12);
}

@media (min-width: 1024px) {
  .vxd-hero--inner { padding-block: var(--vxd-space-12) var(--vxd-space-16); }
}

.vxd-hero--inner .vxd-breadcrumbs { padding-top: 0; }

.vxd-hero--inner .vxd-breadcrumbs__item,
.vxd-hero--inner .vxd-breadcrumbs__item a {
  color: rgba(255, 255, 255, 0.65);
}

.vxd-hero--inner .vxd-breadcrumbs__item a:hover { color: var(--vxd-white); }
.vxd-hero--inner .vxd-breadcrumbs__item [aria-current="page"] { color: var(--vxd-white); }
.vxd-hero--inner .vxd-breadcrumbs__sep { color: rgba(255, 255, 255, 0.3); }

/* Trust points under the hero buttons */
.vxd-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vxd-space-3) var(--vxd-space-6);
  margin: var(--vxd-space-8) 0 0;
  padding: 0;
  list-style: none;
}

.vxd-trust li {
  display: flex;
  align-items: center;
  gap: var(--vxd-space-2);
  font-size: var(--vxd-small);
  font-weight: var(--vxd-weight-medium);
  color: var(--vxd-text-on-dark);
}

.vxd-trust li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vxd-cyan);
  flex-shrink: 0;
}

/* ==========================================================================
   HOMEPAGE
   Added in 1.1.0. Section order follows the approved structure.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO — two columns on desktop, stacked on mobile
   -------------------------------------------------------------------------- */

.vxd-hero__grid {
  display: grid;
  gap: var(--vxd-space-10);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .vxd-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--vxd-space-12);
  }
}

.vxd-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--vxd-space-2);
  padding: 6px var(--vxd-space-4);
  margin-bottom: var(--vxd-space-5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--vxd-radius-pill);
  background: rgba(255, 255, 255, 0.06);
  font-size: var(--vxd-tiny);
  font-weight: var(--vxd-weight-medium);
  letter-spacing: 0.02em;
  color: var(--vxd-text-on-dark);
}

.vxd-hero__eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vxd-cyan);
  box-shadow: 0 0 0 3px rgba(22, 185, 213, 0.22);
}

/* On narrow screens the two hero buttons stack. Left to size themselves
   they end up different widths, which reads as untidy, so below 480px
   they match. */
@media (max-width: 479px) {
  .vxd-hero .vxd-btn-row { flex-direction: column; align-items: stretch; }
  .vxd-hero .vxd-btn-row .vxd-btn { width: 100%; }
}

/* The headline's second line picks up the cyan, so the eye lands on
   "Reach Further" rather than the whole block reading flat. */
.vxd-hero h1 .vxd-accent-text {
  background: linear-gradient(90deg, #7FE3F2 0%, var(--vxd-cyan) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   2. HERO ILLUSTRATION

   Drawn as inline SVG rather than loaded as an image: it stays crisp at
   any size, costs no extra request, and cannot shift the layout while
   it loads.
   -------------------------------------------------------------------------- */

.vxd-hero__art {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.vxd-hero__art svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* The rising bars animate up once on load. Respecting reduced-motion is
   handled at the bottom of this block. */
.vxd-art-bar {
  transform-origin: bottom;
  animation: vxd-grow 900ms var(--vxd-ease) backwards;
}

.vxd-art-bar:nth-of-type(1) { animation-delay: 80ms; }
.vxd-art-bar:nth-of-type(2) { animation-delay: 200ms; }
.vxd-art-bar:nth-of-type(3) { animation-delay: 320ms; }
.vxd-art-bar:nth-of-type(4) { animation-delay: 440ms; }

@keyframes vxd-grow {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}

.vxd-art-line {
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  animation: vxd-draw 1400ms var(--vxd-ease) 500ms forwards;
}

@keyframes vxd-draw {
  to { stroke-dashoffset: 0; }
}

.vxd-art-node {
  opacity: 0;
  animation: vxd-pop 400ms var(--vxd-ease) forwards;
}

.vxd-art-node:nth-of-type(1) { animation-delay: 1000ms; }
.vxd-art-node:nth-of-type(2) { animation-delay: 1150ms; }
.vxd-art-node:nth-of-type(3) { animation-delay: 1300ms; }

@keyframes vxd-pop {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .vxd-art-bar,
  .vxd-art-line,
  .vxd-art-node {
    animation: none;
    opacity: 1;
    stroke-dashoffset: 0;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   3. SPLIT SECTIONS — used by "Why choose us" and "About"
   -------------------------------------------------------------------------- */

.vxd-split {
  display: grid;
  gap: var(--vxd-space-10);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .vxd-split { grid-template-columns: 1fr 1fr; gap: var(--vxd-space-16); }
  .vxd-split--wide-left  { grid-template-columns: 1.15fr 0.85fr; }
  .vxd-split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
}

/* Puts the media column first visually on desktop while keeping the text
   first in the markup, which is the order a screen reader should meet. */
@media (min-width: 960px) {
  .vxd-split__media--first { order: -1; }
}

/* --------------------------------------------------------------------------
   4. BENEFIT LIST — "Why choose us" and "What you get"
   -------------------------------------------------------------------------- */

.vxd-benefits {
  display: grid;
  gap: var(--vxd-space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.vxd-benefit {
  display: flex;
  gap: var(--vxd-space-4);
  align-items: flex-start;
}

/* White with a hairline border rather than the light surface colour:
   these appear on both white and light-grey sections, and a grey chip on
   a grey section is invisible. */
.vxd-benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--vxd-border);
  border-radius: var(--vxd-radius-sm);
  background: var(--vxd-white);
  color: var(--vxd-blue);
  box-shadow: var(--vxd-shadow-sm);
}

.vxd-section--dark .vxd-benefit__icon,
.vxd-leadform .vxd-benefit__icon,
.vxd-benefit__icon--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--vxd-cyan);
  box-shadow: none;
}

.vxd-benefit__title {
  font-family: var(--vxd-font-heading);
  font-size: 1.0625rem;
  font-weight: var(--vxd-weight-semi);
  line-height: 1.35;
  margin: 0 0 4px;
  color: var(--vxd-ink);
}

.vxd-section--dark .vxd-benefit__title,
.vxd-leadform .vxd-benefit__title,
.vxd-focus-panel .vxd-benefit__title { color: var(--vxd-white); }

.vxd-benefit__text {
  margin: 0;
  font-size: var(--vxd-small);
  color: var(--vxd-text-muted);
}

.vxd-section--dark .vxd-benefit__text,
.vxd-leadform .vxd-benefit__text,
.vxd-focus-panel .vxd-benefit__text { color: var(--vxd-text-on-dark-mu); }

/* --------------------------------------------------------------------------
   5. "SMALL TEAM, BIG FOCUS" PANEL

   Holds the team photograph when one is supplied. Until then it shows a
   labelled placeholder, so the slot reads as deliberate rather than
   broken and is easy to spot in a review.
   -------------------------------------------------------------------------- */

.vxd-focus-panel {
  position: relative;
  padding: var(--vxd-space-8);
  border-radius: var(--vxd-radius-lg);
  background: var(--vxd-gradient-cta);
  color: var(--vxd-text-on-dark);
  overflow: hidden;
}

.vxd-focus-panel > * { position: relative; }

.vxd-focus-panel__label {
  font-family: var(--vxd-font-heading);
  font-size: var(--vxd-h3);
  font-weight: var(--vxd-weight-semi);
  color: var(--vxd-white);
  margin-bottom: var(--vxd-space-3);
}

.vxd-focus-panel__text {
  font-size: var(--vxd-small);
  color: var(--vxd-text-on-dark-mu);
  margin-bottom: var(--vxd-space-6);
}

.vxd-focus-panel .vxd-media {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.28);
  color: var(--vxd-text-on-dark-mu);
}

/* Three stat-style facts. These carry only things we can evidence:
   team size, founding year, the founder's years of experience. */
.vxd-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--vxd-space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.vxd-fact { text-align: left; }

.vxd-fact__num {
  display: block;
  font-family: var(--vxd-font-heading);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: var(--vxd-weight-bold);
  line-height: 1.1;
  color: var(--vxd-cyan);
}

.vxd-fact__label {
  display: block;
  margin-top: 4px;
  font-size: var(--vxd-tiny);
  line-height: 1.35;
  color: var(--vxd-text-on-dark-mu);
}

/* --------------------------------------------------------------------------
   6. TEAM
   -------------------------------------------------------------------------- */

.vxd-team {
  display: grid;
  gap: var(--vxd-space-4);
  grid-template-columns: 1fr;
  margin: var(--vxd-space-6) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .vxd-team { grid-template-columns: repeat(3, 1fr); }
}

.vxd-team__member {
  padding: var(--vxd-space-5);
  border: 1px solid var(--vxd-border);
  border-radius: var(--vxd-radius);
  background: var(--vxd-white);
}

.vxd-team__initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--vxd-space-3);
  border-radius: 50%;
  background: var(--vxd-gradient-accent);
  color: var(--vxd-white);
  font-family: var(--vxd-font-heading);
  font-size: 0.9375rem;
  font-weight: var(--vxd-weight-semi);
  letter-spacing: 0;
}

.vxd-team__name {
  font-family: var(--vxd-font-heading);
  font-size: 1rem;
  font-weight: var(--vxd-weight-semi);
  color: var(--vxd-ink);
  margin: 0 0 2px;
}

.vxd-team__role {
  font-size: var(--vxd-tiny);
  color: var(--vxd-text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   6b. AT A GLANCE

   A compact facts panel. It exists for two reasons: it fills what was
   a large empty area beside the About text, and it states the company's
   core facts in a plain label/value structure, which is the form answer
   engines extract most reliably.

   Only verifiable facts belong here.
   -------------------------------------------------------------------------- */

.vxd-glance {
  margin: var(--vxd-space-5) 0 0;
  padding: var(--vxd-space-6);
  border: 1px solid var(--vxd-border);
  border-radius: var(--vxd-radius);
  background: linear-gradient(135deg, var(--vxd-surface-alt) 0%, var(--vxd-white) 100%);
}

.vxd-glance__title {
  font-family: var(--vxd-font-heading);
  font-size: var(--vxd-tiny);
  font-weight: var(--vxd-weight-semi);
  letter-spacing: var(--vxd-track-wide);
  text-transform: uppercase;
  color: var(--vxd-blue-btn);
  margin: 0 0 var(--vxd-space-4);
}

.vxd-glance__list {
  margin: 0;
  display: grid;
  gap: var(--vxd-space-3);
}

.vxd-glance__row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: var(--vxd-space-4);
  align-items: baseline;
  padding-bottom: var(--vxd-space-3);
  border-bottom: 1px solid var(--vxd-border);
}

.vxd-glance__row:last-child { border-bottom: 0; padding-bottom: 0; }

.vxd-glance__row dt {
  font-size: var(--vxd-tiny);
  font-weight: var(--vxd-weight-semi);
  color: var(--vxd-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vxd-glance__row dd {
  margin: 0;
  font-size: var(--vxd-small);
  color: var(--vxd-ink);
}

@media (max-width: 400px) {
  .vxd-glance__row { grid-template-columns: 1fr; gap: 2px; }
}

/* --------------------------------------------------------------------------
   7. LEAD FORM SECTION
   -------------------------------------------------------------------------- */

.vxd-leadform {
  position: relative;
  overflow: hidden;
  background: var(--vxd-gradient-cta);
  color: var(--vxd-text-on-dark);
  padding-block: var(--vxd-section-y);
}

@media (min-width: 1024px) {
  .vxd-leadform { padding-block: var(--vxd-section-y-desktop); }
}

.vxd-leadform .vxd-container { position: relative; }

.vxd-leadform__grid {
  display: grid;
  gap: var(--vxd-space-10);
  align-items: start;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .vxd-leadform__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--vxd-space-16);
  }
}

.vxd-leadform h2 { color: var(--vxd-white); }

.vxd-leadform__intro {
  color: var(--vxd-text-on-dark-mu);
  margin-bottom: var(--vxd-space-8);
}

.vxd-leadform__card {
  padding: var(--vxd-space-8);
  background: var(--vxd-white);
  border-radius: var(--vxd-radius-lg);
  box-shadow: var(--vxd-shadow-lg);
}

.vxd-leadform__card-head {
  margin-bottom: var(--vxd-space-6);
  padding-bottom: var(--vxd-space-5);
  border-bottom: 1px solid var(--vxd-border);
}

.vxd-leadform__card-title {
  font-size: var(--vxd-h4);
  margin: 0 0 4px;
}

.vxd-leadform__card-note {
  margin: 0;
  font-size: var(--vxd-tiny);
  color: var(--vxd-text-muted);
}

/* ---- Fluent Forms, restyled to match the design system ----
   Fluent Forms writes its own markup, so these target its classes. They
   are scoped inside .vxd-leadform__card, so no other form on the site is
   affected. */

.vxd-leadform__card .ff-el-group,
.vxd-contact-card .ff-el-group { margin-bottom: var(--vxd-space-5); }

.vxd-leadform__card .ff-el-input--label label,
.vxd-contact-card .ff-el-input--label label {
  font-family: var(--vxd-font-body);
  font-size: var(--vxd-small);
  font-weight: var(--vxd-weight-medium);
  color: var(--vxd-ink);
  margin-bottom: 6px;
}

.vxd-leadform__card .ff-el-form-control,
.vxd-contact-card .ff-el-form-control {
  width: 100%;
  min-height: 46px;
  padding: 11px var(--vxd-space-4);
  border: 1px solid var(--vxd-border);
  border-radius: var(--vxd-radius-sm);
  background: var(--vxd-white);
  font-family: var(--vxd-font-body);
  font-size: var(--vxd-small);
  color: var(--vxd-ink);
  transition: border-color var(--vxd-speed-fast) var(--vxd-ease),
              box-shadow   var(--vxd-speed-fast) var(--vxd-ease);
}

.vxd-leadform__card .ff-el-form-control:focus,
.vxd-contact-card .ff-el-form-control:focus {
  outline: none;
  border-color: var(--vxd-blue);
  box-shadow: 0 0 0 3px rgba(8, 127, 193, 0.16);
}

.vxd-leadform__card textarea.ff-el-form-control,
.vxd-contact-card textarea.ff-el-form-control {
  min-height: 110px;
  resize: vertical;
}

.vxd-leadform__card .ff-btn-submit,
.vxd-contact-card .ff-btn-submit {
  width: 100%;
  min-height: var(--vxd-btn-height);
  padding: 0 var(--vxd-space-8);
  border: 2px solid var(--vxd-blue-btn);
  border-radius: var(--vxd-radius-pill);
  background: var(--vxd-blue-btn);
  color: var(--vxd-white);
  font-family: var(--vxd-font-body);
  font-size: var(--vxd-small);
  font-weight: var(--vxd-weight-semi);
  cursor: pointer;
  transition: background-color var(--vxd-speed) var(--vxd-ease),
              border-color     var(--vxd-speed) var(--vxd-ease);
}

.vxd-leadform__card .ff-btn-submit:hover,
.vxd-contact-card .ff-btn-submit:hover {
  background: var(--vxd-navy);
  border-color: var(--vxd-navy);
}

.vxd-leadform__card .ff-el-is-error .ff-el-form-control,
.vxd-contact-card .ff-el-is-error .ff-el-form-control { border-color: #B32D2E; }
.vxd-leadform__card .error-text,
.vxd-leadform__card .ff-el-is-error .text-danger,
.vxd-contact-card .error-text,
.vxd-contact-card .ff-el-is-error .text-danger {
  font-size: var(--vxd-tiny);
  color: #B32D2E;
}

/* Shown before the form is connected, so the section is never empty. */
.vxd-form-pending {
  padding: var(--vxd-space-6);
  border: 1px dashed var(--vxd-border);
  border-radius: var(--vxd-radius-sm);
  background: var(--vxd-surface-alt);
  font-size: var(--vxd-small);
  color: var(--vxd-text-muted);
}

/* --------------------------------------------------------------------------
   8. HONESTY NOTE

   A short, plainly worded line under the FAQ. It exists because the
   single most common complaint about agencies is promises that were
   never kept, and saying plainly what cannot be guaranteed is more
   persuasive than another claim.
   -------------------------------------------------------------------------- */

.vxd-note {
  display: flex;
  gap: var(--vxd-space-4);
  align-items: flex-start;
  max-width: var(--vxd-container-narrow);
  margin: var(--vxd-space-10) auto 0;
  padding: var(--vxd-space-5) var(--vxd-space-6);
  border: 1px solid var(--vxd-border);
  border-left: 3px solid var(--vxd-cyan);
  border-radius: var(--vxd-radius-sm);
  background: var(--vxd-surface-alt);
}

.vxd-note .vxd-icon { color: var(--vxd-blue); flex-shrink: 0; margin-top: 2px; }

.vxd-note p {
  margin: 0;
  font-size: var(--vxd-small);
  color: var(--vxd-text-muted);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.vxd-404 {
  text-align: center;
  padding-block: var(--vxd-section-y-desktop);
}

.vxd-404__code {
  font-family: var(--vxd-font-heading);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: var(--vxd-weight-bold);
  line-height: 1;
  background: var(--vxd-gradient-accent);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  margin-bottom: var(--vxd-space-4);
}

/* ==========================================================================
   INNER PAGES
   Added in 1.2.0 for the six company pages.
   ========================================================================== */

/* --------------------------------------------------------------------------
   LONG-FORM PROSE
   For pages that are mostly reading: About, legal pages, process detail.
   -------------------------------------------------------------------------- */

.vxd-prose > * + * { margin-top: var(--vxd-space-5); }

.vxd-prose h2 {
  margin-top: var(--vxd-space-12);
  margin-bottom: var(--vxd-space-4);
}

.vxd-prose h3 {
  margin-top: var(--vxd-space-8);
  margin-bottom: var(--vxd-space-3);
}

.vxd-prose > h2:first-child,
.vxd-prose > h3:first-child { margin-top: 0; }

.vxd-prose ul,
.vxd-prose ol {
  padding-left: var(--vxd-space-6);
  color: var(--vxd-text-muted);
}

.vxd-prose li + li { margin-top: var(--vxd-space-2); }

/* --------------------------------------------------------------------------
   DETAILED PROCESS STAGES
   The vertical, explained version used on /our-process/, as opposed to
   the four compact cards on the homepage.
   -------------------------------------------------------------------------- */

.vxd-stage {
  position: relative;
  display: grid;
  gap: var(--vxd-space-6);
  grid-template-columns: 1fr;
  padding-bottom: var(--vxd-space-12);
}

@media (min-width: 820px) {
  .vxd-stage {
    grid-template-columns: 220px 1fr;
    gap: var(--vxd-space-12);
    /* Top-align, or the marker floats to the middle of a long stage
       and ends up level with the body text instead of its heading. */
    align-items: start;
  }
}

/* The line connecting one stage to the next. */
.vxd-stage:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 64px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, var(--vxd-border), rgba(220, 230, 238, 0.2));
}

@media (min-width: 820px) {
  .vxd-stage:not(:last-child)::before { left: 27px; }
}

.vxd-stage__marker {
  display: flex;
  align-items: center;
  gap: var(--vxd-space-4);
  /* Nudges the number down so it sits level with the cap-height of the
     stage heading beside it, rather than its line box. */
  padding-top: 2px;
}

.vxd-stage__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--vxd-gradient-accent);
  color: var(--vxd-white);
  font-family: var(--vxd-font-heading);
  font-size: 1.125rem;
  font-weight: var(--vxd-weight-bold);
  box-shadow: 0 4px 14px rgba(8, 127, 193, 0.28);
}

.vxd-stage__label {
  font-family: var(--vxd-font-heading);
  font-size: var(--vxd-tiny);
  font-weight: var(--vxd-weight-semi);
  letter-spacing: var(--vxd-track-wide);
  text-transform: uppercase;
  color: var(--vxd-text-muted);
}

.vxd-stage__body h2,
.vxd-stage__body h3 { margin-bottom: var(--vxd-space-3); }

/* Lets a heading keep its correct semantic level while taking the size
   of a lower one. Stage headings are H2 for document structure but read
   better at H3 size inside a narrow column. */
.vxd-h3-size { font-size: var(--vxd-h3) !important; line-height: var(--vxd-lh-snug); }

.vxd-stage__body > p { color: var(--vxd-text-muted); }

.vxd-stage__out {
  margin-top: var(--vxd-space-5);
  padding: var(--vxd-space-5);
  border: 1px solid var(--vxd-border);
  border-left: 3px solid var(--vxd-cyan);
  border-radius: var(--vxd-radius-sm);
  background: var(--vxd-surface-alt);
}

.vxd-stage__out-title {
  font-family: var(--vxd-font-heading);
  font-size: var(--vxd-tiny);
  font-weight: var(--vxd-weight-semi);
  letter-spacing: var(--vxd-track-wide);
  text-transform: uppercase;
  color: var(--vxd-blue-btn);
  margin: 0 0 var(--vxd-space-2);
}

.vxd-stage__out p { margin: 0; font-size: var(--vxd-small); color: var(--vxd-text-muted); }

/* --------------------------------------------------------------------------
   INDUSTRY BLOCKS
   One anchored block per industry on /industries/. The scroll-margin
   stops the sticky header covering the heading when the homepage cards
   deep-link into them.
   -------------------------------------------------------------------------- */

.vxd-industry {
  scroll-margin-top: calc(var(--vxd-header-height) + 24px);
  padding-block: var(--vxd-space-10);
  border-bottom: 1px solid var(--vxd-border);
}

.vxd-industry:last-child { border-bottom: 0; }

.vxd-industry__grid {
  display: grid;
  gap: var(--vxd-space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .vxd-industry__grid { grid-template-columns: 300px 1fr; gap: var(--vxd-space-12); }
}

.vxd-industry__head { display: flex; gap: var(--vxd-space-4); align-items: flex-start; }

.vxd-industry__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #E3F1FA 0%, #D4EEF6 100%);
  box-shadow: inset 0 0 0 1px rgba(8, 127, 193, 0.16);
  color: var(--vxd-blue);
}

.vxd-industry__title { font-size: var(--vxd-h3); margin: 0; }

.vxd-industry__body > p { color: var(--vxd-text-muted); }

.vxd-industry__body > p:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   CASE STUDIES
   -------------------------------------------------------------------------- */

.vxd-case {
  display: grid;
  gap: var(--vxd-space-8);
  grid-template-columns: 1fr;
  padding: var(--vxd-space-8);
  border: 1px solid var(--vxd-border);
  border-radius: var(--vxd-radius-lg);
  background: var(--vxd-white);
  box-shadow: var(--vxd-shadow-sm);
}

@media (min-width: 900px) {
  /* The narrative column needs more room than the metadata column,
     otherwise the left side ends in a large gap. */
  .vxd-case { grid-template-columns: 0.78fr 1.22fr; gap: var(--vxd-space-10); align-items: start; }
}

.vxd-case + .vxd-case { margin-top: var(--vxd-space-8); }

.vxd-case__eyebrow {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: var(--vxd-space-4);
  border-radius: var(--vxd-radius-pill);
  background: var(--vxd-surface-alt);
  font-size: var(--vxd-tiny);
  font-weight: var(--vxd-weight-semi);
  color: var(--vxd-blue-btn);
}

.vxd-case__title { font-size: var(--vxd-h3); margin-bottom: var(--vxd-space-2); }

.vxd-case__url {
  display: inline-block;
  margin-bottom: var(--vxd-space-5);
  font-size: var(--vxd-small);
  word-break: break-word;
}

.vxd-case__meta {
  margin: 0 0 var(--vxd-space-5);
  display: grid;
  gap: var(--vxd-space-3);
}

.vxd-case__meta-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--vxd-space-4);
  align-items: baseline;
  font-size: var(--vxd-small);
}

.vxd-case__meta-row dt {
  font-size: var(--vxd-tiny);
  font-weight: var(--vxd-weight-semi);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--vxd-text-muted);
}

.vxd-case__meta-row dd { margin: 0; color: var(--vxd-ink); }

@media (max-width: 420px) {
  .vxd-case__meta-row { grid-template-columns: 1fr; gap: 2px; }
}

/* A plainly worded note, used where a project needs context a reader
   would otherwise have to guess at — such as a client who is also a
   member of the team. Disclosure costs nothing and protects trust. */
.vxd-case__note {
  margin-top: var(--vxd-space-5);
  padding: var(--vxd-space-4) var(--vxd-space-5);
  border: 1px solid var(--vxd-border);
  border-left: 3px solid var(--vxd-slate);
  border-radius: var(--vxd-radius-sm);
  background: var(--vxd-surface-alt);
  font-size: var(--vxd-tiny);
  color: var(--vxd-text-muted);
}

.vxd-case__note p { margin: 0; font-size: var(--vxd-tiny); }

/* --------------------------------------------------------------------------
   CONTACT PAGE
   -------------------------------------------------------------------------- */

.vxd-contact-grid {
  display: grid;
  gap: var(--vxd-space-10);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 940px) {
  .vxd-contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--vxd-space-16);
  }
}

.vxd-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--vxd-space-5);
}

.vxd-contact-item {
  display: flex;
  gap: var(--vxd-space-4);
  align-items: flex-start;
  padding-bottom: var(--vxd-space-5);
  border-bottom: 1px solid var(--vxd-border);
}

.vxd-contact-item:last-child { border-bottom: 0; padding-bottom: 0; }

.vxd-contact-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #E3F1FA 0%, #D4EEF6 100%);
  box-shadow: inset 0 0 0 1px rgba(8, 127, 193, 0.16);
  color: var(--vxd-blue);
}

.vxd-contact-item__label {
  font-family: var(--vxd-font-heading);
  font-size: var(--vxd-tiny);
  font-weight: var(--vxd-weight-semi);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vxd-text-muted);
  margin: 0 0 2px;
}

.vxd-contact-item__value {
  margin: 0;
  font-size: var(--vxd-body);
  color: var(--vxd-ink);
}

.vxd-contact-item__value a { font-weight: var(--vxd-weight-medium); }

.vxd-contact-item__value address { font-style: normal; line-height: 1.55; }

/* The form card on the contact page reuses the lead-form card styling,
   so Fluent Forms looks identical in both places. */
.vxd-contact-card {
  padding: var(--vxd-space-8);
  background: var(--vxd-white);
  border: 1px solid var(--vxd-border);
  border-radius: var(--vxd-radius-lg);
  box-shadow: var(--vxd-shadow);
}

/* ==========================================================================
   BLOG AND LEGAL PAGES
   Added in 1.4.0.

   The blog rules target Astra's own markup, because Elementor Free cannot
   build theme templates — archives and single posts are rendered by the
   theme. These selectors restyle what Astra outputs rather than replacing
   it, so the blog inherits the design system without needing Elementor Pro.
   ========================================================================== */

/* --------------------------------------------------------------------------
   BLOG ARCHIVE  (Astra markup)
   -------------------------------------------------------------------------- */

.vxd-site .ast-archive-description { display: none; }

.vxd-site.blog .site-main,
.vxd-site.archive .site-main,
.vxd-site.search .site-main {
  max-width: var(--vxd-container);
  margin-inline: auto;
  padding-inline: var(--vxd-pad-x);
  padding-block: var(--vxd-section-y);
}

@media (min-width: 1024px) {
  .vxd-site.blog .site-main,
  .vxd-site.archive .site-main,
  .vxd-site.search .site-main {
    padding-inline: var(--vxd-pad-x-desktop);
    padding-block: var(--vxd-section-y-desktop);
  }
}

/* Post grid */
.vxd-site.blog .site-main .ast-row,
.vxd-site.archive .site-main .ast-row {
  display: grid;
  gap: var(--vxd-space-6);
  grid-template-columns: 1fr;
  margin: 0;
}

@media (min-width: 640px) {
  .vxd-site.blog .site-main .ast-row,
  .vxd-site.archive .site-main .ast-row { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .vxd-site.blog .site-main .ast-row,
  .vxd-site.archive .site-main .ast-row { grid-template-columns: repeat(3, 1fr); }
}

/* Post card */
.vxd-site.blog .site-main article.post,
.vxd-site.archive .site-main article.post {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: var(--vxd-space-6);
  background: var(--vxd-white);
  border: 1px solid var(--vxd-border);
  border-radius: var(--vxd-radius);
  box-shadow: var(--vxd-shadow-sm);
  transition: transform var(--vxd-speed) var(--vxd-ease),
              box-shadow var(--vxd-speed) var(--vxd-ease),
              border-color var(--vxd-speed) var(--vxd-ease);
}

.vxd-site.blog .site-main article.post:hover,
.vxd-site.archive .site-main article.post:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 127, 193, 0.4);
  box-shadow: var(--vxd-shadow);
}

.vxd-site article.post .post-thumb,
.vxd-site article.post .ast-blog-featured-section {
  margin: calc(var(--vxd-space-6) * -1) calc(var(--vxd-space-6) * -1) var(--vxd-space-5);
  border-radius: var(--vxd-radius) var(--vxd-radius) 0 0;
  overflow: hidden;
}

.vxd-site article.post .post-thumb img,
.vxd-site article.post .ast-blog-featured-section img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.vxd-site article.post .entry-title {
  font-size: var(--vxd-h4);
  line-height: var(--vxd-lh-snug);
  margin-bottom: var(--vxd-space-3);
}

.vxd-site article.post .entry-title a {
  color: var(--vxd-ink);
  text-decoration: none;
}

.vxd-site article.post .entry-title a:hover { color: var(--vxd-blue-btn); }

.vxd-site article.post .entry-meta,
.vxd-site article.post .ast-blog-meta-container {
  font-size: var(--vxd-tiny);
  color: var(--vxd-text-muted);
  margin-bottom: var(--vxd-space-3);
}

.vxd-site article.post .entry-content,
.vxd-site article.post .ast-excerpt-container {
  font-size: var(--vxd-small);
  color: var(--vxd-text-muted);
}

.vxd-site article.post .read-more,
.vxd-site article.post .ast-button {
  margin-top: auto;
  font-size: var(--vxd-small);
  font-weight: var(--vxd-weight-semi);
  color: var(--vxd-link);
}

/* Pagination */
.vxd-site .ast-pagination {
  margin-top: var(--vxd-space-12);
  display: flex;
  justify-content: center;
  gap: var(--vxd-space-2);
}

.vxd-site .ast-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 var(--vxd-space-3);
  border: 1px solid var(--vxd-border);
  border-radius: var(--vxd-radius-sm);
  background: var(--vxd-white);
  color: var(--vxd-ink);
  text-decoration: none;
  font-size: var(--vxd-small);
}

.vxd-site .ast-pagination .page-numbers:hover { background: var(--vxd-surface-alt); }

.vxd-site .ast-pagination .page-numbers.current {
  background: var(--vxd-blue-btn);
  border-color: var(--vxd-blue-btn);
  color: var(--vxd-white);
}

/* --------------------------------------------------------------------------
   SINGLE POST

   A measured column and generous line height. Reading an article is a
   different task from scanning a landing page, and the layout should say so.
   -------------------------------------------------------------------------- */

.vxd-site.single-post .site-main {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--vxd-pad-x);
  padding-block: var(--vxd-section-y);
}

@media (min-width: 1024px) {
  .vxd-site.single-post .site-main {
    padding-inline: 0;
    padding-block: var(--vxd-section-y-desktop);
  }
}

.vxd-site.single-post .entry-title {
  font-size: var(--vxd-h1);
  font-weight: var(--vxd-weight-bold);
  margin-bottom: var(--vxd-space-5);
}

.vxd-site.single-post .entry-meta {
  font-size: var(--vxd-small);
  color: var(--vxd-text-muted);
  padding-bottom: var(--vxd-space-6);
  margin-bottom: var(--vxd-space-8);
  border-bottom: 1px solid var(--vxd-border);
}

.vxd-site.single-post .entry-content {
  font-size: 1.125rem;
  line-height: 1.75;
}

.vxd-site.single-post .entry-content > * + * { margin-top: var(--vxd-space-6); }

.vxd-site.single-post .entry-content h2 {
  font-size: var(--vxd-h2);
  margin-top: var(--vxd-space-12);
  margin-bottom: var(--vxd-space-4);
}

.vxd-site.single-post .entry-content h3 {
  font-size: var(--vxd-h3);
  margin-top: var(--vxd-space-10);
  margin-bottom: var(--vxd-space-3);
}

.vxd-site.single-post .entry-content ul,
.vxd-site.single-post .entry-content ol { padding-left: var(--vxd-space-8); }

.vxd-site.single-post .entry-content li + li { margin-top: var(--vxd-space-3); }

.vxd-site.single-post .entry-content img {
  border-radius: var(--vxd-radius);
}

.vxd-site.single-post .entry-content blockquote {
  margin: var(--vxd-space-8) 0;
  padding: var(--vxd-space-6);
  border: 1px solid var(--vxd-border);
  border-left: 3px solid var(--vxd-cyan);
  border-radius: var(--vxd-radius-sm);
  background: var(--vxd-surface-alt);
  font-size: var(--vxd-body);
  color: var(--vxd-text-muted);
}

.vxd-site.single-post .entry-content blockquote p:last-child { margin-bottom: 0; }

.vxd-site.single-post .entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--vxd-small);
}

.vxd-site.single-post .entry-content th,
.vxd-site.single-post .entry-content td {
  padding: var(--vxd-space-3) var(--vxd-space-4);
  border: 1px solid var(--vxd-border);
  text-align: left;
}

.vxd-site.single-post .entry-content th {
  background: var(--vxd-surface-alt);
  font-weight: var(--vxd-weight-semi);
  color: var(--vxd-ink);
}

/* --------------------------------------------------------------------------
   LEGAL PAGES
   -------------------------------------------------------------------------- */

.vxd-legal { font-size: 1.0625rem; }

.vxd-legal h2 {
  font-size: var(--vxd-h3);
  margin-top: var(--vxd-space-12);
  margin-bottom: var(--vxd-space-4);
  padding-top: var(--vxd-space-6);
  border-top: 1px solid var(--vxd-border);
}

.vxd-legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }

.vxd-legal h3 {
  font-size: var(--vxd-h4);
  margin-top: var(--vxd-space-8);
  margin-bottom: var(--vxd-space-3);
}

.vxd-legal p,
.vxd-legal li { color: var(--vxd-text-muted); }

.vxd-legal ul,
.vxd-legal ol { padding-left: var(--vxd-space-6); margin-bottom: var(--vxd-space-5); }

.vxd-legal li + li { margin-top: var(--vxd-space-2); }

.vxd-legal strong { color: var(--vxd-ink); }

.vxd-legal__updated {
  display: inline-block;
  padding: 6px var(--vxd-space-4);
  margin-bottom: var(--vxd-space-8);
  border-radius: var(--vxd-radius-pill);
  background: var(--vxd-surface-alt);
  border: 1px solid var(--vxd-border);
  font-size: var(--vxd-tiny);
  color: var(--vxd-text-muted);
}

/* Contents list at the top of a long policy */
.vxd-legal__toc {
  padding: var(--vxd-space-6);
  margin-bottom: var(--vxd-space-10);
  border: 1px solid var(--vxd-border);
  border-radius: var(--vxd-radius);
  background: var(--vxd-surface-alt);
}

.vxd-legal__toc p {
  font-family: var(--vxd-font-heading);
  font-size: var(--vxd-tiny);
  font-weight: var(--vxd-weight-semi);
  letter-spacing: var(--vxd-track-wide);
  text-transform: uppercase;
  color: var(--vxd-blue-btn);
  margin: 0 0 var(--vxd-space-4);
}

.vxd-legal__toc ol {
  margin: 0;
  padding-left: var(--vxd-space-5);
  columns: 1;
}

@media (min-width: 680px) { .vxd-legal__toc ol { columns: 2; column-gap: var(--vxd-space-8); } }

.vxd-legal__toc li { margin-top: 0; margin-bottom: var(--vxd-space-2); break-inside: avoid; }

.vxd-legal__toc a { font-size: var(--vxd-small); }

/* Anchor targets clear the sticky header */
.vxd-legal h2[id] { scroll-margin-top: calc(var(--vxd-header-height) + 24px); }
