/* Voxel3Di marketing — content styling for CMS pages rendered inside the
   legacy chrome (StandardPage, LegalPage, ServicePage, Blog…). The header
   is position:fixed, so the content wrapper needs top clearance. Colours
   reuse the legacy design tokens from main.min.css with safe fallbacks. */

:root {
  --v3d-coral: var(--secondary, #ea5a43);
  --v3d-blue: #1a90d2;
  --v3d-ink: var(--textPrimary, #22272e);
  --v3d-muted: var(--textSecondary, #6b6b6b);
  --v3d-body: var(--default, #4a4a4a);
  --v3d-line: #ececf0;
}

/* Brand font — Rubik everywhere, incl. form controls (which some browsers
   render in a system font despite Bootstrap's reboot). Full fallback stack. */
.v3d-marketing,
.v3d-marketing button, .v3d-marketing input,
.v3d-marketing select, .v3d-marketing textarea,
.v3d-marketing .btn {
  font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
/* Footer/newsletter live on the home snapshot too (no .v3d-marketing wrapper). */
.footer, .footer input, .footer button,
.newsLetter, .newsLetter input, .newsLetter button {
  font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* The legacy header (.headerWrapper) is position:fixed at top:30px, so the
   content needs top clearance. Matches the home snapshot's fixed-header gap. */
.v3d-marketing .contentWrapper { padding-top: 130px !important; padding-bottom: 0; overflow: visible; }
@media (max-width: 991px) { .v3d-marketing .contentWrapper { padding-top: 104px !important; } }

.v3dp { padding-bottom: 72px; color: var(--v3d-body); font-size: 1.0625rem; line-height: 1.7; }

/* Legacy main.min.css applies `header{position:fixed;top:30px}` to *every*
   <header> element. The CMS standard/service templates use <header
   class="page__header"> for the title block, which would get pinned out of
   flow and overlap the bar. Force any <header> inside the content back into
   normal flow. (.v3dbar lives outside .v3dp, so it keeps its fixed styling.) */
.v3d-marketing .v3dp header {
  position: static !important; width: auto !important; top: auto !important;
  z-index: auto !important; transition: none !important;
}

/* ════════════════════════════════════════════════════════════════
   MODERN CONTENT SYSTEM  (StandardPage / ServicePage / blocks)
   One design language across every marketing page so cephaloai,
   stackguides, education, about & demo all read like the home:
   warm coral accents, deep-ink CTAs, soft cards, generous rhythm.
   ──────────────────────────────────────────────────────────────── */
:root {
  --v3d-coral-2: #f0795f;          /* lighter coral for gradients */
  --v3d-tint: #fff1ed;             /* coral wash for chips/badges */
  --v3d-tint-2: #fff6f3;
  --v3d-surface: #fbfbfc;          /* off-white section band */
  --v3d-card-line: #efedf1;
  --v3d-card-shadow: 0 6px 30px rgba(20,27,38,.05);
  --v3d-card-shadow-hi: 0 18px 46px rgba(20,27,38,.11);
  --v3d-radius: 18px;
}

.v3dp { color: var(--v3d-body); }
/* Give every top-level block breathing room so the page reads as a
   sequence of sections, like the home, rather than a dense article. */
.v3dp .page__body > * { margin-top: 3.25rem; }
.v3dp .page__body > *:first-child { margin-top: 2.25rem; }

/* Shared centred section heading (eyebrow + title + lead). */
.v3dp .v3d-eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; font-weight: 700; color: var(--v3d-coral); margin: 0 0 .7rem;
}

/* ── Page hero (the StandardPage title band) ────────────────────── */
.v3dp .page__header {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(120% 140% at 85% -20%, #fde7e0 0%, rgba(253,231,224,0) 55%),
    radial-gradient(120% 130% at 10% -10%, #fff3ee 0%, rgba(255,243,238,0) 50%),
    linear-gradient(180deg, #fffaf8 0%, #ffffff 100%);
  border: 1px solid #fbe6df; border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 4.25rem) clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: .5rem;
}
.v3dp .page__header::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 64px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--v3d-coral), var(--v3d-coral-2));
}
.v3dp .page__title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.12; font-weight: 700;
  letter-spacing: -.015em; color: var(--v3d-ink); margin: 0 0 1rem; max-width: 16ch;
  margin-left: auto; margin-right: auto;
}
.v3dp .page__intro {
  font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--v3d-muted);
  max-width: 760px; margin: 0 auto; line-height: 1.6;
}
.v3dp .page__meta { color: var(--v3d-muted); font-size: .95rem; }

/* ── Prose (StreamField paragraph / heading / image / quote) ────── */
.v3dp .prose { max-width: 100%; }
.v3dp .prose__paragraph,
.v3dp .prose__heading,
.v3dp .prose__quote,
.v3dp .prose__figure,
.v3dp .prose--legal { max-width: 760px; margin-left: auto; margin-right: auto; }
.v3dp .prose__heading { color: var(--v3d-ink); font-weight: 700; line-height: 1.2; letter-spacing: -.01em;
  text-align: center; margin: 0 0 .35rem; }
.v3dp .prose__heading--h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.v3dp .prose__heading--h3 { font-size: 1.5rem; }
.v3dp .prose__heading--h4 { font-size: 1.2rem; }
.v3dp .prose__paragraph { margin: 0 auto 1.15rem; font-size: 1.075rem; }
.v3dp .prose__heading + .prose__paragraph,
.v3dp .prose__heading + .feature-grid,
.v3dp .prose__heading + .v3d-steps { margin-top: 1.5rem; }
.v3dp .prose__paragraph h3 { color: var(--v3d-ink); font-weight: 700; font-size: 1.5rem; margin: 2rem 0 .85rem; }
.v3dp .prose__paragraph h4 { color: var(--v3d-ink); font-weight: 600; font-size: 1.2rem; margin: 1.5rem 0 .65rem; }
.v3dp .prose a, .v3dp .prose__paragraph a { color: var(--v3d-coral); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(234,90,67,.35); }
.v3dp .prose a:hover { border-bottom-color: var(--v3d-coral); }
.v3dp .prose ul, .v3dp .prose ol { margin: 0 0 1.15rem; padding-left: 1.35rem; }
.v3dp .prose li { margin-bottom: .45rem; }
/* Checklist-style lists inside a paragraph block read better with coral ticks. */
.v3dp .prose__paragraph ul { list-style: none; padding-left: 0; }
.v3dp .prose__paragraph ul > li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.v3dp .prose__paragraph ul > li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px;
  background: var(--v3d-tint) no-repeat center / 12px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ea5a43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  border-radius: 6px;
}
.v3dp .prose img { max-width: 100%; height: auto; border-radius: 16px; }
.v3dp .prose__figure { margin: 1.75rem auto; }
.v3dp .prose__figcaption { color: var(--v3d-muted); font-size: .9rem; text-align: center; margin-top: .5rem; }
.v3dp .prose__quote { border: 0; max-width: 720px; text-align: center; padding: 0; margin: 2.5rem auto; }
.v3dp .prose__quote blockquote {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem); color: var(--v3d-ink); font-weight: 500;
  font-style: normal; line-height: 1.45; margin: 0; position: relative;
}
.v3dp .prose__quote blockquote::before { content: "\201C"; color: var(--v3d-coral); font-size: 2.2em; line-height: 0; vertical-align: -.35em; margin-right: .05em; }
.v3dp .prose__cite { display: block; margin-top: 1rem; color: var(--v3d-muted); font-weight: 600; font-size: .98rem; }
.v3dp .prose iframe { max-width: 100%; border-radius: 16px; }
.v3dp .prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.v3dp .prose th, .v3dp .prose td { border: 1px solid #e7e5ea; padding: .65rem .8rem; text-align: left; }

/* ── Service hero ───────────────────────────────────────────────── */
.v3dp .hero--service {
  position: relative; background: linear-gradient(135deg, #fff5f2 0%, #fdeee9 100%);
  border: 1px solid #fde7e3; border-radius: 22px; padding: clamp(2rem,4vw,3.25rem) clamp(1.5rem,3vw,2.75rem);
  margin-bottom: 1rem; overflow: hidden;
}
.v3dp .hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; z-index: 0; }
.v3dp .hero__inner { position: relative; z-index: 1; max-width: 760px; }
.v3dp .hero__heading { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--v3d-ink); line-height: 1.15; margin: 0 0 1rem; letter-spacing: -.01em; }
.v3dp .hero__subheading { font-size: 1.2rem; color: var(--v3d-muted); margin: 0 0 1.5rem; }
.v3dp .hero__price { font-size: 1.05rem; color: var(--v3d-ink); margin: 0 0 1.5rem; display: flex; align-items: baseline; gap: .5rem; }
.v3dp .hero__price-label { color: var(--v3d-muted); }
.v3dp .hero__price-amount { font-size: 2rem; font-weight: 700; color: var(--v3d-coral); }
.v3dp .hero__price-unit { color: var(--v3d-muted); font-size: .95rem; }

/* ── Buttons ────────────────────────────────────────────────────── */
.v3dp .btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border-radius: 10px; padding: .9rem 2.1rem; font-weight: 600; font-size: 1.02rem; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: filter .15s ease, transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.v3dp .btn--primary, .v3dp .btn-primary {
  background: linear-gradient(180deg, var(--v3d-coral-2), var(--v3d-coral));
  color: #fff; border-color: var(--v3d-coral); box-shadow: 0 10px 22px rgba(234,90,67,.28); }
.v3dp .btn--primary:hover, .v3dp .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(234,90,67,.34); color: #fff; }
.v3dp .btn--secondary { background: #fff; color: var(--v3d-coral); border-color: #f3ccc3; }
.v3dp .btn--secondary:hover { border-color: var(--v3d-coral); background: var(--v3d-tint-2); }
.v3dp .btn:hover { filter: none; }

/* ── CTA block ──────────────────────────────────────────────────── */
.v3dp .cta {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 160% at 85% 0%, rgba(234,90,67,.4) 0%, rgba(234,90,67,0) 55%),
    linear-gradient(135deg, #1b2330 0%, #11161f 100%);
  color: #fff; border-radius: 22px; padding: clamp(2.25rem,4vw,3.25rem);
  text-align: center; margin: 0 auto; max-width: 980px;
  box-shadow: 0 24px 60px rgba(17,22,31,.28);
}
.v3dp .cta--secondary {
  background: linear-gradient(135deg, #fff5f2, #fdeee9); color: var(--v3d-ink);
  border: 1px solid #fde7e3; box-shadow: var(--v3d-card-shadow);
}
.v3dp .cta__title { color: inherit; font-size: clamp(1.5rem,3vw,2rem); font-weight: 700; margin: 0 0 .75rem; letter-spacing: -.01em; }
.v3dp .cta__body { color: inherit; font-size: 1.12rem; opacity: .9; margin: 0 auto 1.6rem; max-width: 580px; line-height: 1.6; }
.v3dp .cta .btn--primary { background: linear-gradient(180deg,#fff,#fff); color: var(--v3d-coral); border-color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.v3dp .cta .btn--primary:hover { background: var(--v3d-tint-2); color: var(--v3d-coral); }
.v3dp .cta--secondary .btn--primary { background: linear-gradient(180deg, var(--v3d-coral-2), var(--v3d-coral)); color: #fff; box-shadow: 0 10px 22px rgba(234,90,67,.28); }
.v3dp .cta--secondary .btn--primary:hover { color: #fff; }

/* ── Feature grid ───────────────────────────────────────────────── */
.v3dp .feature-grid { margin: 0 0; }
.v3dp .feature-grid__heading {
  text-align: center; font-size: clamp(1.7rem,3.4vw,2.3rem); font-weight: 700;
  color: var(--v3d-ink); letter-spacing: -.01em; margin: 0 auto 2.25rem; max-width: 24ch;
}
.v3dp .feature-grid__list { list-style: none; padding: 0; margin: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 1.4rem; }
.v3dp .feature-grid__item {
  background: #fff; border: 1px solid var(--v3d-card-line); border-radius: var(--v3d-radius);
  padding: 1.85rem 1.7rem; box-shadow: var(--v3d-card-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.v3dp .feature-grid__item:hover { transform: translateY(-4px); box-shadow: var(--v3d-card-shadow-hi); border-color: #f6d5cc; }
.v3dp .feature-grid__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--v3d-tint), #ffe3da); color: var(--v3d-coral);
  font-size: 1.6rem; line-height: 1; margin-bottom: 1.1rem;
}
.v3dp .feature-grid__item-title { font-size: 1.22rem; font-weight: 700; color: var(--v3d-ink); margin: 0 0 .5rem; }
.v3dp .feature-grid__item-body { color: var(--v3d-muted); margin: 0; font-size: 1.02rem; line-height: 1.62; }

/* Numbered variant — a feature grid whose icons are step numbers.
   Authored by adding the `feature-grid--steps` class via the template. */
.v3dp .feature-grid--steps .feature-grid__list { counter-reset: v3dstep; }
.v3dp .feature-grid--steps .feature-grid__item { padding-top: 2.5rem; }
.v3dp .feature-grid--steps .feature-grid__icon {
  border-radius: 50%; background: linear-gradient(180deg, var(--v3d-coral-2), var(--v3d-coral));
  color: #fff; font-weight: 700; font-size: 1.25rem; box-shadow: 0 8px 18px rgba(234,90,67,.3);
}

/* ── FAQ ────────────────────────────────────────────────────────── */
.v3dp .faq { max-width: 820px; margin: 0 auto; }
.v3dp .faq__heading { font-size: clamp(1.7rem,3.4vw,2.3rem); font-weight: 700; color: var(--v3d-ink); margin: 0 0 1.75rem; text-align: center; letter-spacing: -.01em; }
.v3dp .faq__list { margin: 0; }
.v3dp .faq__item {
  background: #fff; border: 1px solid var(--v3d-card-line); border-radius: 14px;
  padding: 1.15rem 1.5rem; margin-bottom: .85rem; box-shadow: var(--v3d-card-shadow);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.v3dp .faq__item[open] { border-color: #f6d5cc; box-shadow: var(--v3d-card-shadow-hi); }
.v3dp .faq__question { font-weight: 600; font-size: 1.08rem; color: var(--v3d-ink); cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.v3dp .faq__question::-webkit-details-marker { display: none; }
.v3dp .faq__question::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 22px;
  transform: translateY(-50%); transition: transform .2s ease;
  background: no-repeat center / 22px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ea5a43' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
}
.v3dp .faq__item[open] .faq__question::after { transform: translateY(-50%) rotate(45deg); }
.v3dp .faq__answer { color: var(--v3d-muted); margin-top: .85rem; line-height: 1.65; font-size: 1.02rem; }

/* ── Steps list (authored as an ordered feature list) ───────────── */
.v3dp .v3d-steps { counter-reset: step; list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.25rem; }
.v3dp .v3d-steps li { position: relative; background: #fff; border: 1px solid var(--v3d-card-line); border-radius: 14px; padding: 1.6rem 1.35rem; box-shadow: var(--v3d-card-shadow); }
.v3dp .v3d-steps li::before { counter-increment: step; content: counter(step); display: flex;
  align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(180deg, var(--v3d-coral-2), var(--v3d-coral)); color: #fff; font-weight: 700;
  margin-bottom: .9rem; box-shadow: 0 8px 18px rgba(234,90,67,.3); }

/* ── Pricing tiers (authored via feature-grid--pricing) ─────────── */
.v3dp .feature-grid--pricing .feature-grid__list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 760px; margin: 0 auto; }
.v3dp .feature-grid--pricing .feature-grid__item { text-align: center; }
.v3dp .feature-grid--pricing .feature-grid__icon {
  width: auto; height: auto; padding: .25rem .8rem; border-radius: 999px; font-size: .72rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--v3d-tint); margin-bottom: .9rem;
}
.v3dp .feature-grid--pricing .feature-grid__item-title { font-size: 2.4rem; font-weight: 800; color: var(--v3d-coral); }
.v3dp .feature-grid--pricing .feature-grid__item-body { font-size: .98rem; }

/* ── Plain band wrapper for alternating sections (optional) ─────── */
.v3dp .v3d-band { background: var(--v3d-surface); border: 1px solid #f1f0f3; border-radius: 26px; padding: clamp(2rem,4vw,3rem) clamp(1.25rem,3vw,2.5rem); }

/* ════════════════════════════════════════════════════════════════
   DYNAMIC LANDING PAGES  (cephaloai / stackguides / education /
   about / demo) — responsive, store-backed marketing templates.
   ──────────────────────────────────────────────────────────────── */
.v3dp .v3d-lsec { margin-top: clamp(3rem, 6vw, 5rem); }
.v3dp .v3d-lsec:first-child { margin-top: 0; }

/* Section head: eyebrow + title + lead, centred. */
.v3dp .v3d-lhead { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 2.75rem); }
.v3dp .v3d-lhead__title { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; color: var(--v3d-ink); margin: 0 0 .75rem; line-height: 1.15; }
.v3dp .v3d-lhead__lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--v3d-muted); margin: 0 auto; line-height: 1.6; }

/* ── Page hero ───────────────────────────────────────────────────── */
.v3dp .v3d-lhero {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(120% 150% at 85% -25%, #fde3db 0%, rgba(253,227,219,0) 55%),
    radial-gradient(120% 140% at 8% -15%, #fff1ec 0%, rgba(255,241,236,0) 52%),
    linear-gradient(180deg, #fffaf8 0%, #ffffff 100%);
  border: 1px solid #fbe4dd; border-radius: 26px;
  padding: clamp(2.75rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
}
.v3dp .v3d-lhero__title { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; color: var(--v3d-ink); margin: 0 auto 1.1rem; max-width: 16ch; }
.v3dp .v3d-lhero__title .v3d-hl { color: var(--v3d-coral); }
.v3dp .v3d-lhero__sub { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--v3d-muted); max-width: 660px; margin: 0 auto 1.85rem; line-height: 1.55; }
.v3dp .v3d-lhero__ctas { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.v3dp .v3d-lhero__price { display: inline-flex; align-items: baseline; gap: .4rem; margin: 0 0 1.6rem; font-size: 1.05rem; color: var(--v3d-muted); }
.v3dp .v3d-lhero__price b { font-size: 1.9rem; font-weight: 800; color: var(--v3d-coral); letter-spacing: -.01em; }
.v3dp .v3d-lhero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; justify-content: center; padding: 0; margin: 1.9rem 0 0; }
.v3dp .v3d-lhero__trust li { display: inline-flex; align-items: center; gap: .5rem; color: var(--v3d-ink); font-weight: 600; font-size: .95rem; }
.v3dp .v3d-lhero__trust i { color: var(--v3d-coral); }

/* ── Stats band ──────────────────────────────────────────────────── */
.v3dp .v3d-statband {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  background: linear-gradient(135deg, #1b2330 0%, #11161f 100%);
  border-radius: 22px; padding: clamp(1.75rem, 4vw, 2.75rem); text-align: center;
  box-shadow: 0 24px 60px rgba(17,22,31,.22);
}
.v3dp .v3d-statband__n { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; }
.v3dp .v3d-statband__l { color: #9aa4b2; font-size: .92rem; margin-top: .45rem; }
@media (max-width: 620px) { .v3dp .v3d-statband { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; } }

/* ── Analysis chips ──────────────────────────────────────────────── */
.v3dp .v3d-chips { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; max-width: 760px; margin: 0 auto; }
.v3dp a.v3d-chip { text-decoration: none; }
.v3dp .v3d-chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.15rem;
  background: #fff; border: 1px solid var(--v3d-card-line); border-radius: 999px;
  font-weight: 600; color: var(--v3d-ink); box-shadow: var(--v3d-card-shadow);
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.v3dp .v3d-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(180deg, var(--v3d-coral-2), var(--v3d-coral)); }
.v3dp .v3d-chip:hover { transform: translateY(-2px); border-color: #f6d5cc; color: var(--v3d-coral); }
.v3dp .v3d-chip--more { background: var(--v3d-tint); border-color: #fbdcd4; color: var(--v3d-coral); }
.v3dp .v3d-chip--more::before { display: none; }

/* ── Pricing grid (Cephalo plans) ────────────────────────────────── */
.v3dp .v3d-pricing { max-width: 1000px; margin: 0 auto; }
.v3dp .v3d-billing { display: inline-flex; align-items: center; gap: .9rem; justify-content: center; margin: 0 auto clamp(1.75rem,3vw,2.25rem); width: 100%; }
.v3dp .v3d-billing__opt { font-weight: 600; color: var(--v3d-muted); cursor: pointer; }
.v3dp .v3d-billing__opt.is-on { color: var(--v3d-ink); }
.v3dp .v3d-billing__save { display: inline-block; margin-left: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--v3d-coral); background: var(--v3d-tint); padding: .15rem .55rem; border-radius: 999px; }
.v3dp .v3d-switch { position: relative; width: 52px; height: 30px; border: 0; border-radius: 999px; background: #d9dce2; cursor: pointer; flex: 0 0 auto; transition: background .18s ease; padding: 0; }
.v3dp .v3d-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.25); transition: transform .18s ease; }
.v3dp .v3d-switch.is-annual { background: var(--v3d-coral); }
.v3dp .v3d-switch.is-annual::after { transform: translateX(22px); }

.v3dp .v3d-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; align-items: stretch; }
.v3dp .v3d-plan {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: #fff; border: 1px solid var(--v3d-card-line); border-radius: 18px;
  padding: 1.85rem 1.6rem; box-shadow: var(--v3d-card-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.v3dp .v3d-plan:hover { transform: translateY(-4px); box-shadow: var(--v3d-card-shadow-hi); border-color: #f1d2ca; }
.v3dp .v3d-plan--featured { border-color: var(--v3d-coral); box-shadow: 0 22px 50px rgba(234,90,67,.18); }
.v3dp .v3d-plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, var(--v3d-coral-2), var(--v3d-coral)); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .85rem; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 18px rgba(234,90,67,.3); }
.v3dp .v3d-plan__name { font-size: 1.15rem; font-weight: 700; color: var(--v3d-ink); margin: 0 0 .15rem; }
.v3dp .v3d-plan__tag { font-size: .92rem; color: var(--v3d-muted); margin: 0 0 1.1rem; min-height: 2.6em; line-height: 1.4; }
.v3dp .v3d-plan__price { display: flex; align-items: baseline; gap: .25rem; margin: 0 0 .2rem; }
.v3dp .v3d-plan__amt { font-size: 2.4rem; font-weight: 800; color: var(--v3d-ink); letter-spacing: -.02em; line-height: 1; }
.v3dp .v3d-plan__per { font-size: .95rem; color: var(--v3d-muted); font-weight: 600; }
.v3dp .v3d-plan__note { font-size: .85rem; color: var(--v3d-muted); margin: .35rem 0 1.25rem; min-height: 1.2em; }
.v3dp .v3d-plan__meta { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.v3dp .v3d-plan__meta li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; color: var(--v3d-body); font-size: .95rem; }
.v3dp .v3d-plan__meta li::before { content: ""; position: absolute; left: 0; top: .1em; width: 18px; height: 18px; border-radius: 5px; background: var(--v3d-tint) no-repeat center / 11px 11px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ea5a43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.v3dp .v3d-plan .btn { margin-top: auto; width: 100%; }
/* monthly/annual price visibility, toggled by JS on .v3d-pricing */
.v3dp .v3d-pricing .v3d-amt--annual { display: none; }
.v3dp .v3d-pricing.is-annual .v3d-amt--monthly { display: none; }
.v3dp .v3d-pricing.is-annual .v3d-amt--annual { display: flex; }
.v3dp .v3d-pricing .v3d-note--annual { display: none; }
.v3dp .v3d-pricing.is-annual .v3d-note--monthly { display: none; }
.v3dp .v3d-pricing.is-annual .v3d-note--annual { display: block; }

/* Pay-as-you-go / contact strip beneath the grid. */
.v3dp .v3d-payg { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; margin-top: 1.4rem; padding: 1.4rem 1.75rem; background: var(--v3d-tint-2); border: 1px solid #fbdcd4; border-radius: 16px; text-align: center; }
.v3dp .v3d-payg b { color: var(--v3d-ink); }
.v3dp .v3d-payg__amt { color: var(--v3d-coral); font-weight: 800; }

/* ── Two-column media / feature split ────────────────────────────── */
.v3dp .v3d-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.v3dp .v3d-split--flip .v3d-split__body { order: 2; }
.v3dp .v3d-split__body h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; color: var(--v3d-ink); margin: 0 0 1rem; line-height: 1.18; }
.v3dp .v3d-split__body p { font-size: 1.075rem; color: var(--v3d-body); line-height: 1.65; margin: 0 0 1rem; }
.v3dp .v3d-split__list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.v3dp .v3d-split__list li { position: relative; padding-left: 2rem; margin-bottom: .9rem; color: var(--v3d-body); }
.v3dp .v3d-split__list li::before { content: ""; position: absolute; left: 0; top: .05em; width: 22px; height: 22px; border-radius: 7px; background: var(--v3d-tint) no-repeat center / 13px 13px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ea5a43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.v3dp .v3d-split__media { border-radius: 20px; overflow: hidden; box-shadow: var(--v3d-card-shadow-hi); }
.v3dp .v3d-split__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v3dp .v3d-split__visual { aspect-ratio: 4 / 3; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 120% at 70% 20%, #ffe3da 0%, #fff5f2 60%, #ffffff 100%); border: 1px solid #fbe4dd; box-shadow: var(--v3d-card-shadow); }
.v3dp .v3d-split__visual i { font-size: clamp(3.5rem, 9vw, 6rem); color: var(--v3d-coral); opacity: .9; }
@media (max-width: 800px) {
  .v3dp .v3d-split { grid-template-columns: 1fr; gap: 1.75rem; }
  .v3dp .v3d-split--flip .v3d-split__body { order: 0; }
  .v3dp .v3d-split__visual { aspect-ratio: 16 / 9; }
}

/* ── Contact cards ───────────────────────────────────────────────── */
.v3dp .v3d-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; max-width: 880px; margin: 0 auto; }
.v3dp .v3d-contact__card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; background: #fff; border: 1px solid var(--v3d-card-line); border-radius: 18px; padding: 2rem 1.5rem; box-shadow: var(--v3d-card-shadow); transition: transform .18s ease, box-shadow .18s ease; }
.v3dp .v3d-contact__card:hover { transform: translateY(-4px); box-shadow: var(--v3d-card-shadow-hi); }
.v3dp .v3d-contact__icon { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--v3d-tint), #ffe3da); color: var(--v3d-coral); font-size: 1.5rem; margin-bottom: .6rem; }
.v3dp .v3d-contact__card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--v3d-muted); font-weight: 700; margin: 0; }
.v3dp .v3d-contact__card a, .v3dp .v3d-contact__card span { font-size: 1.05rem; font-weight: 600; color: var(--v3d-ink); border: 0; }
.v3dp .v3d-contact__card a:hover { color: var(--v3d-coral); }

/* ── Embedded booking / external widget frame ────────────────────── */
.v3dp .v3d-embed { background: #fff; border: 1px solid var(--v3d-card-line); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--v3d-card-shadow); max-width: 900px; margin: 0 auto; }
.v3dp .v3d-embed iframe { width: 100%; border: 0; border-radius: 12px; min-height: 640px; }

/* ── Logo / partner row ──────────────────────────────────────────── */
.v3dp .v3d-logos { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: center; }
.v3dp .v3d-logos span { color: #9098a6; font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }

/* ── Hero with media (about) ─────────────────────────────────────── */
@media (max-width: 600px) {
  .v3dp .v3d-lhero { border-radius: 20px; }
  .v3dp .v3d-lhero__ctas .btn { width: 100%; }
  .v3dp .v3d-statband { border-radius: 18px; }
}

/* ====================================================================
   MODERN FOOTER  (newsletter strip + footer)
   Shared by the home snapshot, every standalone WebBuilderPage and the
   StandardPages. Implemented as overrides of the legacy main.min.css
   classes (.newsLetter / .footer*) so it themes every page at once
   without touching the per-page markup. Deep brand-ink background +
   coral accents = a premium, current look that keeps the identity.
   ==================================================================== */
:root { --v3d-foot: #151c26; --v3d-foot-2: #1c2530; --v3d-foot-line: rgba(255,255,255,.09); }

/* One continuous dark block: newsletter sits on top of the footer. */
.newsLetter,
.footer {
  background: var(--v3d-foot) !important;
  color: #aeb6c2 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* ── Newsletter strip ────────────────────────────────────────────── */
.newsLetter {
  padding: 54px 0 42px !important;
  border-bottom: 1px solid var(--v3d-foot-line);
}
.newsLetter .row { align-items: center; }
.newsLetter .d-flex { align-items: center; gap: 18px; }
.newsLetter__icon { flex: 0 0 auto; margin: 0 !important; }
.newsLetter__icon svg { width: 66px; height: auto; }
.newsLetter h4 { color: #fff !important; font-weight: 600; font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 0 0 .3rem !important; }
.newsLetter p { color: #8b95a4 !important; margin: 0 !important; font-size: 1rem; }
.newsLetter form { margin: 0; }
.newsLetter .form-group {
  display: flex; gap: 8px; align-items: center; margin: 0 0 0 auto !important;
  max-width: 520px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13); border-radius: 999px; padding: 6px;
}
.newsLetter input.form-control {
  flex: 1 1 auto; background: transparent !important; border: 0 !important;
  color: #fff !important; box-shadow: none !important; height: 48px;
  padding: 0 20px; font-size: 1rem; outline: none;
}
.newsLetter input.form-control::placeholder { color: #8b95a4; }
.newsLetter .btn,
.newsLetter button {
  background: var(--v3d-coral) !important; border: 0 !important; color: #fff !important;
  border-radius: 999px !important; height: 48px; padding: 0 30px !important;
  font-weight: 600 !important; white-space: nowrap; cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}
.newsLetter .btn:hover,
.newsLetter button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.newsLetter [style*="green"] { color: #6fcf97 !important; margin: .65rem 0 0 !important; }

/* ── Footer body ─────────────────────────────────────────────────── */
.footer { padding: 56px 0 26px !important; }
.footer .footer__logo img { width: 158px; height: auto; }
.footer .footer__logo .poweredBy,
.footer .poweredBy { color: #8b95a4 !important; margin: 14px 0 0 !important; font-size: .95rem; }

.footer__links { display: flex; flex-wrap: wrap; gap: 30px 40px; }
.footer__links > div { min-width: 140px; }

.footer h5 {
  color: #fff !important; font-size: .78rem !important; letter-spacing: .09em;
  text-transform: uppercase; font-weight: 600 !important;
  margin: 0 0 1.1rem !important; padding-bottom: .65rem; position: relative;
}
.footer h5::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 26px; height: 2px; background: var(--v3d-coral); border-radius: 2px;
}
.footer ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.footer__links li { margin-bottom: .62rem; }
.footer a {
  color: #aeb6c2 !important; text-decoration: none !important;
  font-size: .96rem; transition: color .15s ease;
}
.footer a:hover { color: #fff !important; }

/* Contact rows with coral inline icons (overrides legacy bg icons). */
/* Kill any legacy ::before glyph (Font Awesome etc.) so only our coral
   SVG icon shows — prevents a doubled/ghosted icon on hi-dpi screens. */
.footer .contacts li::before { content: none !important; display: none !important; }
.footer .contacts li {
  position: relative; padding-left: 30px !important; margin-bottom: .85rem;
  min-height: 20px; line-height: 1.5;
  color: #aeb6c2 !important; background: none !important; list-style: none;
  background-repeat: no-repeat !important; background-position: 0 1px !important;
  background-size: 19px 19px !important;
}
.footer .contacts li.phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ea5a43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") !important;
}
.footer .contacts li.email {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ea5a43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 7L2 7'/%3E%3C/svg%3E") !important;
}
.footer .contacts li.location {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ea5a43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") !important;
}

/* Social → circular pill buttons. */
.footer__social ul { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__social li { margin: 0 !important; }
/* The legacy main.min.css forces a light `#e9e9e9` pill at 24px with a faint
   icon — light-on-light, so the icons read as invisible on the dark footer.
   Override hard (!important) for a dark translucent pill + bright icon. */
.footer__social a {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 40px !important; height: 40px !important; border-radius: 50% !important;
  background: rgba(255,255,255,.09) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: #e6eaf0 !important; transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.footer__social a:hover {
  background: var(--v3d-coral) !important; border-color: var(--v3d-coral) !important;
  color: #fff !important; transform: translateY(-2px);
}
.footer__social svg { width: 17px !important; height: 17px !important; }
.footer__social svg,
.footer__social svg path { fill: currentColor !important; }

/* Bottom legal bar. */
.footer__bottom {
  margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--v3d-foot-line);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer__bottom p { color: #7e8896 !important; margin: 0 !important; font-size: .9rem; }
.footer__bottom ul { display: flex; gap: 26px; }
.footer__bottom li { margin: 0 !important; }
.footer__bottom a { color: #7e8896 !important; font-size: .9rem; }
.footer__bottom a:hover { color: #fff !important; }

/* ── Footer responsive ───────────────────────────────────────────── */
@media (max-width: 1199px) {
  .footer .row > [class*="col-"] { margin-bottom: 30px; }
  .footer .row > [class*="col-"]:last-child { margin-bottom: 0; }
  /* Legacy main.min.css gives .footer__links a 36px top margin that only
     exists to line it up beside the logo on the desktop (≥1200px) row. Once
     the columns stack it doubles with the column's own bottom margin into a
     large dead gap under the logo — neutralise it for the stacked layouts. */
  .footer__links { margin-top: 0 !important; }
}
@media (max-width: 767px) {
  .newsLetter { text-align: center; padding: 38px 0 34px !important; }
  .newsLetter .d-flex { flex-direction: column; gap: 12px; }
  /* On phones the single-pill input+button wraps into an oversized stadium.
     Stack them cleanly instead: a rounded input above a full-width button. */
  .newsLetter .form-group {
    flex-direction: column; gap: 10px; margin: 20px auto 0 !important;
    max-width: 360px; background: transparent !important;
    border: 0 !important; border-radius: 0 !important; padding: 0 !important;
  }
  .newsLetter input.form-control {
    width: 100%; height: 52px; padding: 0 20px;
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.13) !important;
    border-radius: 999px !important;
  }
  .newsLetter .btn,
  .newsLetter button { width: 100%; }
  .footer { text-align: center; padding-top: 44px !important; }
  .footer .row > [class*="col-"] { margin-bottom: 26px; }
  .footer .footer__logo { margin-bottom: 4px; text-align: center; }
  .footer .footer__logo a { display: inline-block; }
  .footer .footer__logo img { display: inline-block; }
  .footer__links { flex-direction: column; gap: 30px; align-items: center; }
  .footer h5 { padding-bottom: .75rem; }
  .footer h5::after { left: 50%; transform: translateX(-50%); }
  /* Keep contact rows stacked + left-aligned, but center the block. */
  .footer .contacts { display: inline-block; text-align: left; }
  .footer .contacts li { display: block; padding-left: 26px !important; }
  .footer__social ul { justify-content: center; }
  .footer__bottom { flex-direction: column-reverse; text-align: center; gap: 16px; }
  .footer__bottom ul { justify-content: center; }
}

/* ── General content responsiveness (small phones) ───────────────── */
@media (max-width: 600px) {
  .v3dp { font-size: 1rem; }
  .v3dp .hero--service { padding: 2rem 1.25rem; border-radius: 16px; }
  .v3dp .cta { padding: 1.85rem 1.35rem; border-radius: 16px; }
  .v3dp .feature-grid__item,
  .v3dp .v3d-steps li { padding: 1.4rem 1.2rem; }
}

/* ====================================================================
   SITE-WIDE ENHANCEMENTS  (injected by voxel3di-header.js / tune script)
   Brand font enforced on every injected component.
   ==================================================================== */
.v3d-callus, .v3d-region, .v3d-progate, #aboutVoxel,
.v3d-trust, .v3d-ways, .v3d-btn {
  font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
/* Self-contained box model so these components don't depend on a global
   border-box reset (keeps them correct anywhere they're injected). */
.v3d-callus, .v3d-callus *, .v3d-region, .v3d-region *,
.v3d-progate, .v3d-progate *, .v3d-trust, .v3d-trust *,
.v3d-ways, .v3d-ways *, .v3d-btn { box-sizing: border-box; }

/* ── Shared button ───────────────────────────────────────────────── */
.v3d-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; padding: .8rem 1.6rem; font-size: 1rem; font-weight: 600;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: filter .15s ease, transform .15s ease, background .15s ease, color .15s ease;
}
.v3d-btn--primary { background: var(--v3d-coral); color: #fff; border-color: var(--v3d-coral); }
.v3d-btn--primary:hover { filter: brightness(1.05); transform: translateY(-1px); color: #fff; }
.v3d-btn--ghost { background: transparent; color: var(--v3d-ink); border-color: #d7dae0; }
.v3d-btn--ghost:hover { background: #f4f5f7; }

/* ── Header click-to-call ────────────────────────────────────────── */
.v3d-callus {
  display: inline-flex; align-items: center; gap: 8px; margin-right: 14px;
  color: var(--v3d-ink) !important; font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.v3d-callus svg { color: var(--v3d-coral); flex: 0 0 auto; }
.v3d-callus:hover { color: var(--v3d-coral) !important; }
@media (max-width: 1199px) { .v3d-callus__num { display: none; } .v3d-callus { margin-right: 10px; } }
@media (max-width: 991px) { .v3d-callus { display: none; } }

/* ── Header region selector ──────────────────────────────────────── */
.v3d-region { position: relative; display: inline-flex; align-items: center; margin-right: 14px; }
.v3d-region__btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: #fff; border: 1px solid #e3e5ea; border-radius: 999px;
  padding: 6px 12px; font-size: .85rem; font-weight: 600; color: var(--v3d-ink);
  line-height: 1; transition: border-color .15s ease, box-shadow .15s ease;
}
.v3d-region__btn:hover { border-color: var(--v3d-coral); }
.v3d-region__flag { font-size: 1rem; line-height: 1; }
/* Country name — full name now (not a 2-letter code); ellipsis is a
   safety net so a long name (e.g. "United Arab Emirates") can never break
   the header row. */
.v3d-region__code {
  max-width: 170px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; color: var(--v3d-ink); font-weight: 600;
}
/* Currency badge after the name, separated by a thin divider. */
.v3d-region__cur {
  color: var(--v3d-muted); font-weight: 600; padding-left: 7px;
  border-left: 1px solid #e3e5ea;
}
.v3d-region__btn svg { color: var(--v3d-muted); }
.v3d-region.open .v3d-region__btn { border-color: var(--v3d-coral); box-shadow: 0 0 0 3px rgba(234,90,67,.12); }
.v3d-region__menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 248px;
  max-height: 380px; overflow-y: auto;
  background: #fff; border: 1px solid #ececf0; border-radius: 14px;
  box-shadow: 0 16px 44px rgba(20,27,38,.16); padding: 6px; z-index: 1200;
  display: none;
}
.v3d-region.open .v3d-region__menu { display: block; }
.v3d-region__opt {
  display: flex; align-items: center; gap: 10px; width: 100%; cursor: pointer;
  background: transparent; border: 0; border-radius: 9px; padding: 9px 11px;
  font-size: .92rem; color: var(--v3d-ink); text-align: left;
}
.v3d-region__opt:hover { background: #f6f7f9; }
.v3d-region__opt.is-active { background: #fff1ed; }
.v3d-region__opt-label { flex: 1 1 auto; font-weight: 500; }
.v3d-region__opt-cur { color: var(--v3d-muted); font-size: .82rem; font-weight: 600; }
.v3d-region__note { padding: 9px 11px 5px; color: var(--v3d-muted); font-size: .76rem; line-height: 1.4; border-top: 1px solid #f0f1f4; margin-top: 4px; }

/* Read-only currency pill — shown when the region is locked (guests, and
   signed-in users in their own country). Same shape as the button, no
   interaction affordance. */
.v3d-region__static {
  display: inline-flex; align-items: center; gap: 6px; cursor: default;
  background: #fff; border: 1px solid #e3e5ea; border-radius: 999px;
  padding: 6px 12px; font-size: .85rem; font-weight: 600; color: var(--v3d-ink);
  line-height: 1;
}

/* Mobile: the region/currency selector is the ONLY place customers pick
   their store & currency, so it must stay visible. Keep it visible but
   compact (flag + currency pill), and anchor the dropdown to the viewport
   so it can never be clipped on a narrow screen. */
@media (max-width: 991px) {
  .v3d-region { margin-right: 10px; order: -1; }
  .v3d-region__btn { padding: 6px 10px; gap: 5px; font-size: .82rem; }
  .v3d-region__code { display: none; }            /* drop the country name */
  .v3d-region__btn > svg:last-child { display: none; } /* drop the chevron */
  /* Name hidden → currency stands alone, so drop its divider/indent. */
  .v3d-region__cur { color: var(--v3d-ink); font-weight: 600; padding-left: 0; border-left: 0; }
  .v3d-region__menu {
    position: fixed; top: 62px; right: 10px; left: auto;
    min-width: 0; width: min(300px, calc(100vw - 20px)); max-height: 70vh;
  }
}
@media (max-width: 360px) {
  .v3d-region { margin-right: 7px; }
  .v3d-region__btn { padding: 5px 8px; }
}

/* ── Mobile slide-out menu polish ────────────────────────────────────
   The legacy nav becomes a full-screen white panel (.menu-active). Give it
   a softer surface, larger tap targets, brand-coral hover and a proper
   full-width primary CTA. */
@media (max-width: 991px) {
  header .flex-row .left-side nav { box-shadow: 0 24px 48px rgba(20,27,38,.10); }
  header .flex-row .left-side nav ul { padding: 1.25rem 1.5rem .5rem; }
  header .flex-row .left-side nav ul li a {
    font-weight: 600; color: var(--v3d-ink) !important; font-size: 1.05rem;
  }
  header .flex-row .left-side nav ul li a:hover,
  header .flex-row .left-side nav ul li a:focus { color: var(--v3d-coral) !important; }
  header .flex-row .left-side nav .btn {
    display: block; width: calc(100% - 3rem); margin: 1.25rem 1.5rem;
    text-align: center;
  }
  /* Tidy the top bar: vertically centre the cart/login cluster and ease
     the spacing now that the region pill shares the row. */
  header .flex-row .right-side ul { align-items: center; }
  header .flex-row .right-side ul li:not(:last-child) { margin-right: 1rem; }
}

/* ── Professional-only consent gate ──────────────────────────────── */
.v3d-progate {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(18,24,33,.62); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: v3dFade .2s ease;
}
@keyframes v3dFade { from { opacity: 0; } to { opacity: 1; } }
.v3d-progate__card {
  background: #fff; border-radius: 20px; max-width: 480px; width: 100%;
  padding: 38px 34px 30px; text-align: center; box-sizing: border-box;
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
}
.v3d-progate__logo { height: 40px; width: auto; margin-bottom: 18px; }
.v3d-progate__title { font-size: 1.5rem; font-weight: 700; color: var(--v3d-ink); margin: 0 0 .65rem; }
.v3d-progate__body { font-size: 1rem; color: var(--v3d-muted); line-height: 1.6; margin: 0 0 1.5rem; }
.v3d-progate__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.v3d-progate__actions .v3d-btn { flex: 1 1 auto; min-width: 140px; box-sizing: border-box; }
.v3d-progate__fine { font-size: .8rem; color: var(--v3d-muted); margin: 1.1rem 0 0; }

/* Country confirmation row inside the gate (guests). */
.v3d-progate__region {
  margin: -0.35rem 0 1.3rem; font-size: .9rem; color: var(--v3d-muted);
  line-height: 1.55;
}
.v3d-progate__region-info b { color: var(--v3d-ink); font-weight: 600; }
.v3d-progate__region-change {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--v3d-coral); font-weight: 600; font-size: .9rem;
  text-decoration: underline; text-underline-offset: 2px;
}
.v3d-progate__region-change:hover { filter: brightness(.92); }
.v3d-progate__region-pick { display: block; margin-top: .65rem; }
.v3d-progate__region-select {
  width: 100%; max-width: 320px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid #d9dce2; background: #fff; color: var(--v3d-ink);
  font-size: .95rem; font-weight: 500;
}
@media (max-width: 560px) {
  .v3d-progate__card { padding: 30px 22px 24px; }
  .v3d-progate__actions { flex-direction: column; }
  .v3d-progate__actions .v3d-btn { width: 100%; flex: 1 1 100%; min-width: 0; }
}

/* ── "See how it works" video modal presentation ─────────────────── */
#aboutVoxel .modal-dialog { max-width: 900px; }
#aboutVoxel .modal-content { background: #000; border: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
#aboutVoxel .modal-body { padding: 0; }
#aboutVoxel #player, #aboutVoxel video { display: block; width: 100%; height: auto; max-height: 80vh; background: #000; }
#aboutVoxel .close {
  position: absolute; top: 10px; right: 10px; z-index: 3; opacity: 1;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center;
}
#aboutVoxel .close svg { width: 20px; height: 20px; }
#aboutVoxel .close:hover { background: var(--v3d-coral); }
/* No-Bootstrap fallback lightbox. */
#aboutVoxel.v3d-video-open {
  display: flex !important; position: fixed; inset: 0; z-index: 100000;
  align-items: center; justify-content: center; background: rgba(0,0,0,.8); padding: 20px;
}
#aboutVoxel.v3d-video-open .modal-dialog { margin: 0; width: 100%; }

/* ── Trust strip (home, injected after hero) ─────────────────────── */
.v3d-trust { background: #fff; border-top: 1px solid #eef0f3; border-bottom: 1px solid #eef0f3; padding: 30px 0; }
.v3d-trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.v3d-trust__lead { margin: 0; font-weight: 600; color: var(--v3d-ink); font-size: 1.05rem; max-width: 260px; }
.v3d-trust__grid { display: flex; gap: 38px; flex-wrap: wrap; flex: 1 1 auto; justify-content: flex-end; }
.v3d-trust__item { display: flex; flex-direction: column; align-items: center; }
.v3d-trust__num { font-size: 1.9rem; font-weight: 700; color: var(--v3d-coral); line-height: 1.1; }
.v3d-trust__lbl { font-size: .85rem; color: var(--v3d-muted); margin-top: 3px; }
@media (max-width: 767px) {
  .v3d-trust__inner { flex-direction: column; text-align: center; gap: 18px; }
  .v3d-trust__lead { max-width: none; }
  .v3d-trust__grid { justify-content: center; gap: 26px 34px; }
  .v3d-trust__num { font-size: 1.6rem; }
}

/* ── "Ways to work with us" (home, injected) ─────────────────────── */
.v3d-ways { padding: 64px 0; background: #fafbfc; }
.v3d-ways__head { text-align: center; max-width: 640px; margin: 0 auto 38px; }
.v3d-ways__kicker { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 600; color: var(--v3d-coral); margin: 0 0 .5rem; }
.v3d-ways__title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; color: var(--v3d-ink); margin: 0 0 .6rem; }
.v3d-ways__sub { font-size: 1.05rem; color: var(--v3d-muted); margin: 0; }
.v3d-ways__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.v3d-ways__card {
  background: #fff; border: 1px solid #edeef1; border-radius: 18px; padding: 30px 26px;
  display: flex; flex-direction: column; box-shadow: 0 6px 30px rgba(20,27,38,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.v3d-ways__card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(20,27,38,.1); border-color: #f8d8d0; }
.v3d-ways__icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 13px; background: #fff1ed; color: var(--v3d-coral); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.v3d-ways__icon svg { width: 26px !important; height: 26px !important; flex: 0 0 auto; }
.v3d-ways__step { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--v3d-muted); margin: 0 0 .4rem; }
.v3d-ways__name { font-size: 1.25rem; font-weight: 600; color: var(--v3d-ink); margin: 0 0 .6rem; }
.v3d-ways__desc { font-size: .98rem; color: var(--v3d-muted); line-height: 1.6; margin: 0 0 1.4rem; flex: 1 1 auto; }
.v3d-ways__link { display: inline-flex; align-items: center; gap: 6px; color: var(--v3d-coral); font-weight: 600; font-size: .98rem; text-decoration: none; }
.v3d-ways__link:hover { color: var(--v3d-coral); gap: 9px; }
.v3d-ways__link svg { width: 16px !important; height: 16px !important; flex: 0 0 auto; transition: transform .15s ease; }
@media (max-width: 900px) { .v3d-ways__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } .v3d-ways { padding: 48px 0; } }

/* ════════════════════════════════════════════════════════════════
   HOME — quality polish (additive; identity, colours & layout kept)
   Scoped to `.mainbg` (the legacy standalone marketing-home content
   wrapper) so it never touches the templated pages. Pure depth, hover,
   weight and tracking — same Rubik, same coral, same sections. Brings
   the home up to the finish level of the new landing pages.
   ──────────────────────────────────────────────────────────────── */

/* Eyebrow kickers → branded coral, like the landing pages. Kept at the
   page's own weight (no extra boldness — just colour + tracking). */
.mainbg .subTitle {
  color: var(--v3d-coral) !important;
  text-transform: uppercase; letter-spacing: .1em;
  font-size: .82rem;
}

/* Section titles: weight left exactly as the brand sets it — no bolding.
   (Earlier 800 override removed at request; identity unchanged.) */

/* Primary buttons → gradient + depth + hover lift (matches landing). */
.mainbg .btn-primary {
  background: linear-gradient(180deg, var(--v3d-coral-2), var(--v3d-coral)) !important;
  border-color: var(--v3d-coral) !important;
  box-shadow: 0 10px 22px rgba(234,90,67,.26) !important;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.mainbg .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(234,90,67,.36) !important; }

/* Service-category tiles → soft depth + a satisfying hover lift. */
.mainbg .serviceItem {
  box-shadow: var(--v3d-card-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mainbg .serviceItem:hover { transform: translateY(-6px); box-shadow: var(--v3d-card-shadow-hi); border-color: #f3c4ba; }
.mainbg .serviceItem__icon { transition: transform .2s ease; }
.mainbg .serviceItem:hover .serviceItem__icon { transform: scale(1.06); }

/* Feature + testimonial cards → one shared hover language. */
.mainbg .ourFeatures__card,
.mainbg .ourClients__card { transition: transform .2s ease, box-shadow .2s ease; }
.mainbg .ourFeatures__card:hover,
.mainbg .ourClients__card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(20,27,38,.12); }
.mainbg .ourFeatures__card--icon { background: linear-gradient(135deg, var(--v3d-tint), #ffe3da) !important; }

/* How-it-works step badges → subtle coral depth. */
.mainbg .ourWork__Steps--icon { box-shadow: 0 8px 18px rgba(234,90,67,.16); }

/* Implant-planning highlight image → premium framed depth. */
.mainbg .implantPlaning__image { box-shadow: var(--v3d-card-shadow-hi); border-radius: 16px; overflow: hidden; }

/* Hero product card → lift it off the mesh with a soft shadow. */
.mainbg .sliderNavigation__controls--arrow { transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.mainbg .sliderNavigation__controls--arrow:hover { transform: scale(1.08); box-shadow: 0 8px 18px rgba(20,27,38,.14); }

/* Home content enhancements — tile sublines, final-CTA copy + secondary btn. */
.mainbg .serviceItem__meta { margin: .55rem 0 0; font-size: .9rem; line-height: 1.4; color: #6b6b6b; }
.mainbg .experience__sub { color: #6b6b6b; font-size: 1.05rem; line-height: 1.55; margin: .65rem 0 0; max-width: 48ch; }
.btn-ghost-coral {
  background: #fff !important; color: var(--v3d-coral) !important;
  border: 1px solid #f3ccc3 !important; padding: .9375rem 2.4rem !important;
  box-shadow: 0 6px 16px rgba(20,27,38,.10) !important; transition: background .15s ease, border-color .15s ease;
}
.btn-ghost-coral:hover { background: #fff5f2 !important; border-color: var(--v3d-coral) !important; }
/* The injected modern sections sit in a .v3dp island on the legacy home. */
.mainbg .v3d-home-inject { padding-bottom: 0; font-size: 1rem; }
.mainbg .v3d-home-inject .v3d-lsec:first-child { margin-top: clamp(3rem,6vw,4.5rem); }

/* Header nav: keep all items (incl. the added "Guided Kit") on one line on
   desktop instead of wrapping each label to two rows. Desktop-only so the
   mobile slide-out menu keeps its larger tap targets. */
@media (min-width: 992px) {
  header nav ul li a { white-space: nowrap !important; font-size: 13.5px; }
  header nav ul li { margin-right: 16px !important; }
}

/* ── Header mini-cart: real items + correct total ─────────────────
   The legacy cart dropdown shipped an empty <ul> (now filled by
   voxel3di-header.js from the live cart) and styled the total <span>
   with strike-through (a "was price" leftover) — which crossed out the
   real total. Restore a proper total and style the line-item rows. */
.cartItems__Total span[data-v3d-cart-total] {
  text-decoration: none !important; color: var(--v3d-ink) !important;
  font-weight: 700 !important; font-size: 1.15rem !important; margin-left: 8px;
}
.dropdown-menu .inner-scroll { padding: 4px 0; }
.v3d-cart-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-bottom: 1px solid #f0eef2; list-style: none;
}
.v3d-cart-item:last-child { border-bottom: 0; }
.v3d-cart-item__name { color: var(--v3d-ink); font-weight: 500; font-size: .95rem; line-height: 1.35; }
.v3d-cart-item__name em { color: #8e8e8e; font-style: normal; font-weight: 400; }
.v3d-cart-item__price { color: var(--v3d-coral); font-weight: 700; white-space: nowrap; }
.v3d-cart-empty { list-style: none; text-align: center; color: #8e8e8e; padding: 30px 16px; font-size: .95rem; }

/* ── Header: larger logo + premium primary CTA (Get Started / My Dashboard) ──
   The logo shipped at 40px and read small next to the nav; the CTA was a flat
   coral block. Scale the logo up and give the CTA the same gradient + lift as
   the rest of the site's primary buttons. Applies to both the standalone home
   header and the shared _v3d_header used by the landing pages. */
header .logo img { height: 50px !important; width: auto !important; max-width: none !important; }
@media (max-width: 991px) { header .logo img { height: 42px !important; } }

header .right-side .btn-primary,
.right-side a.btn-primary[data-v3d-cta] {
  background: linear-gradient(180deg, var(--v3d-coral-2), var(--v3d-coral)) !important;
  border: 0 !important; box-shadow: 0 8px 20px rgba(234,90,67,.30) !important;
  padding: .72rem 1.7rem !important; border-radius: 10px !important; font-weight: 600 !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
}
header .right-side .btn-primary:hover {
  transform: translateY(-2px) !important; box-shadow: 0 12px 26px rgba(234,90,67,.4) !important;
}

/* ── Header account menu (signed-in) ──────────────────────────────
   Replaces the separate user-name link + "My Dashboard" button with one
   compact "Name ▾" dropdown (Dashboard + Log out). Built by
   voxel3di-header.js when authenticated; frees the width that pushed the
   old button outside the header card, and adds the missing logout. */
.v3d-acct { position: relative; display: inline-flex; }
.v3d-acct__btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: #fff; border: 1px solid #e3e5ea; border-radius: 999px;
  padding: 8px 14px; font-family: 'Rubik', system-ui, sans-serif;
  font-weight: 600; font-size: .9rem; line-height: 1; color: var(--v3d-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.v3d-acct__btn:hover { border-color: var(--v3d-coral); }
.v3d-acct.open .v3d-acct__btn { border-color: var(--v3d-coral); box-shadow: 0 0 0 3px rgba(234,90,67,.12); }
.v3d-acct__btn svg { color: var(--v3d-muted); flex: 0 0 auto; }
.v3d-acct__menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 184px;
  background: #fff; border: 1px solid #ececf0; border-radius: 12px;
  box-shadow: 0 16px 44px rgba(20,27,38,.16); padding: 6px; z-index: 1300; display: none;
}
.v3d-acct.open .v3d-acct__menu { display: block; }
.v3d-acct__menu a {
  display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none;
  font-family: 'Rubik', system-ui, sans-serif; font-weight: 500; font-size: .92rem;
  color: var(--v3d-ink); line-height: 1.2;
}
.v3d-acct__menu a:hover { background: #f6f7f9; color: var(--v3d-ink); }
.v3d-acct__menu .v3d-acct__logout { color: var(--v3d-coral); }
.v3d-acct__menu .v3d-acct__logout:hover { background: var(--v3d-tint-2); }

/* ── Header fit (desktop) ─────────────────────────────────────────
   The header card has a fixed max width; the region pill's full country
   name + the right-side cluster pushed the CTA outside it. On desktop,
   show the region pill as flag + currency only (full names stay in its
   dropdown) and tighten the right-side spacing so everything sits inside
   the card. Mobile already hides the country name. */
@media (min-width: 992px) {
  .v3d-region__code { display: none !important; }
  .v3d-region__cur { padding-left: 0 !important; border-left: 0 !important; }
  header .right-side ul { gap: 10px; }
  header .right-side ul li:not(:last-child) { margin-right: 10px !important; }
}
