/* ==========================================================================
   COLLABOR8 DIGITAL - LOCATION PAGE TEMPLATE v2 (WHITE BACKGROUND)
   Loaded only by template-location.php. Every rule is prefixed "c8-loc-" or scoped to
   body.page-template-template-location, so no other page / existing style is affected.
   Brand tokens (--c8-*) come from style.css.
   ========================================================================== */

.c8-loc-page {
  --loc-bg: #ffffff;
  --loc-bg-alt: #f4f7ff;
  --loc-card: #ffffff;
  --loc-border: #e3e8f5;
  --loc-border-hover: rgba(50, 93, 254, 0.45);
  --loc-heading: #0a132c;
  --loc-text: #4b5877;
  --loc-text-dim: #7a86a3;
  --loc-shadow: 0 10px 30px rgba(15, 30, 80, 0.07);
  --loc-shadow-hover: 0 22px 50px rgba(45, 92, 255, 0.18);

  width: 100%;
  background: var(--loc-bg);
  color: var(--loc-text);
  overflow-x: clip;
}

/* ---------- Page-level scope ---------- */
body.page-template-template-location {
  background-color: #ffffff;
}

/* Header logo / hamburger are white artwork: keep the header in its dark bar. */
body.page-template-template-location .custom-header {
  background: rgba(8, 22, 58, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 26px rgba(8, 22, 58, 0.25);
}

body.page-template-template-location .media-footer {
  margin-top: 0;
}

/* ---------- Scroll reveal (only active when JS is running) ---------- */
.c8-js .c8-loc-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms),
              box-shadow 0.35s ease, border-color 0.35s ease;
}

.c8-js .c8-loc-reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .c8-js .c8-loc-reveal { opacity: 1; transform: none; transition: none; }
  .c8-loc-orb, .c8-loc-float, .c8-loc-chart-line, .c8-loc-bar i { animation: none !important; }
}

/* ---------- Signature button: white brackets would vanish on white ---------- */
.c8-loc-page .main-button a,
.c8-loc-page .main-button button {
  outline-color: rgba(50, 93, 254, 0.28) !important;
}

.c8-loc-page .main-button::before {
  border-top-color: var(--c8-primary) !important;
  border-left-color: var(--c8-primary) !important;
}

.c8-loc-page .main-button::after {
  border-bottom-color: var(--c8-primary) !important;
  border-right-color: var(--c8-primary) !important;
}

.c8-loc-page .main-button:hover::before {
  border-top-color: var(--c8-primary) !important;
  border-left-color: transparent !important;
  filter: drop-shadow(0 0 6px rgba(50, 93, 254, 0.55)) !important;
}

.c8-loc-page .main-button:hover::after {
  border-bottom-color: var(--c8-primary) !important;
  border-right-color: transparent !important;
  filter: drop-shadow(0 0 6px rgba(50, 93, 254, 0.55)) !important;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.c8-loc-hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(45, 92, 255, 0.13) 0%, rgba(255, 255, 255, 0) 52%),
    radial-gradient(circle at 92% 10%, rgba(179, 38, 207, 0.1) 0%, rgba(255, 255, 255, 0) 48%),
    #ffffff;
}

/* faint dot grid */
.c8-loc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(45, 92, 255, 0.16) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 75%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 75%);
  pointer-events: none;
}

.c8-loc-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.55;
}

.c8-loc-orb-1 {
  width: 380px;
  height: 380px;
  top: -120px;
  left: -100px;
  background: #5a85ff;
  animation: c8LocFloat 12s ease-in-out infinite;
}

.c8-loc-orb-2 {
  width: 320px;
  height: 320px;
  right: -80px;
  top: 120px;
  background: #c084fc;
  animation: c8LocFloat 15s ease-in-out infinite reverse;
}

@keyframes c8LocFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(26px, 34px); }
}

.c8-loc-hero .c8-blog-container {
  position: relative;
  z-index: 1;
}

.c8-loc-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.c8-loc-pin-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--loc-border);
  box-shadow: 0 4px 14px rgba(15, 30, 80, 0.07);
  color: var(--loc-heading);
  font-family: var(--c8-font-heading);
  font-size: 13.5px;
  font-weight: 700;
}

.c8-loc-pin-tag svg {
  color: var(--c8-primary);
}

.c8-loc-hero-title {
  font-family: var(--c8-font-heading);
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--loc-heading);
  margin-bottom: 22px;
}

.c8-loc-hero-title span {
  background: var(--c8-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.c8-loc-hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--loc-text);
  max-width: 600px;
  margin-bottom: 36px;
}

.c8-loc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  padding-left: 8px; /* room for the signature button's corner brackets */
  margin-bottom: 34px;
}

.c8-loc-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid var(--loc-border);
  background: #ffffff;
  color: var(--loc-heading);
  font-family: var(--c8-font-heading);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(15, 30, 80, 0.06);
  transition: all 0.3s ease;
}

.c8-loc-ghost-btn svg {
  color: var(--c8-primary);
}

.c8-loc-ghost-btn:hover {
  border-color: var(--loc-border-hover);
  background: #f4f7ff;
  box-shadow: 0 6px 22px rgba(45, 92, 255, 0.18);
}

.c8-loc-hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.c8-loc-hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--loc-heading);
}

.c8-loc-hero-points li span,
.c8-loc-mini-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--c8-gradient-brand);
}

/* ---------- Hero visual ---------- */
.c8-loc-hero-visual {
  position: relative;
  padding: 26px 0 56px 20px;
}

.c8-loc-visual-card {
  position: relative;
  padding: 26px 28px 28px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--loc-border);
  box-shadow: 0 30px 70px rgba(15, 30, 80, 0.16);
  overflow: hidden;
}

.c8-loc-visual-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--c8-gradient-brand);
}

.c8-loc-visual-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
}

.c8-loc-visual-head strong {
  margin-left: 8px;
  font-family: var(--c8-font-heading);
  font-size: 15px;
  color: var(--loc-heading);
}

.c8-loc-visual-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dfe5f6;
}

.c8-loc-visual-dot:first-child { background: #ff6b6b; }
.c8-loc-visual-dot:nth-child(2) { background: #ffc857; }
.c8-loc-visual-dot:nth-child(3) { background: #4cd98b; }

.c8-loc-chart {
  display: block;
  width: 100%;
  height: 130px;
  margin-bottom: 20px;
}

.c8-loc-chart-line {
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  animation: c8LocDraw 2.2s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.c8-loc-chart-fill {
  opacity: 0;
  animation: c8LocFade 1.2s 1.2s ease forwards;
}

@keyframes c8LocDraw { to { stroke-dashoffset: 0; } }
@keyframes c8LocFade { to { opacity: 1; } }

.c8-loc-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.c8-loc-bar span {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--loc-text);
}

.c8-loc-bar {
  position: relative;
}

.c8-loc-bar::after {
  content: "";
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #eef2fb;
}

.c8-loc-bar i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 8px;
  width: 0;
  border-radius: 999px;
  background: var(--c8-gradient-brand);
  z-index: 1;
  animation: c8LocBar 1.6s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes c8LocBar { to { width: var(--w); } }

.c8-loc-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--loc-border);
  box-shadow: 0 16px 40px rgba(15, 30, 80, 0.16);
  animation: c8LocBob 6s ease-in-out infinite;
}

.c8-loc-float strong {
  display: block;
  font-family: var(--c8-font-heading);
  font-size: 13.5px;
  color: var(--loc-heading);
}

.c8-loc-float small {
  font-size: 12px;
  color: var(--loc-text-dim);
}

.c8-loc-float-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--c8-gradient-brand);
}

.c8-loc-float-a { top: 0; right: -14px; }
.c8-loc-float-b { bottom: 0; left: -6px; animation-delay: -3s; }

@keyframes c8LocBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   CAPABILITY STRIP
   ========================================================================== */
.c8-loc-strip {
  padding: 34px 0;
  border-top: 1px solid var(--loc-border);
  border-bottom: 1px solid var(--loc-border);
  background: #ffffff;
}

.c8-loc-strip-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--loc-text-dim);
  margin-bottom: 16px;
}

.c8-loc-strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
}

.c8-loc-strip-row span {
  font-family: var(--c8-font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--loc-heading);
}

.c8-loc-strip-row i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c8-gradient-brand);
}

/* ==========================================================================
   SECTIONS (shared)
   ========================================================================== */
.c8-loc-section {
  padding: 96px 0;
  position: relative;
  background: var(--loc-bg);
}

.c8-loc-section-tight {
  padding: 64px 0;
}

.c8-loc-section-alt {
  background: var(--loc-bg-alt);
}

.c8-loc-section-last {
  padding-bottom: 110px;
}

.c8-loc-heading {
  max-width: 800px;
  margin: 0 auto 56px;
  text-align: center;
}

.c8-loc-eyebrow {
  display: inline-block;
  font-family: var(--c8-font-heading);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  background: var(--c8-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}

.c8-loc-h2 {
  font-family: var(--c8-font-heading);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--loc-heading);
  margin-bottom: 16px;
}

.c8-loc-h2 span {
  background: var(--c8-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.c8-loc-lead {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--loc-text);
}

.c8-loc-lead.left {
  margin-bottom: 32px;
}

.c8-loc-heading .c8-loc-h2:last-child {
  margin-bottom: 0;
}

.c8-loc-grid {
  display: grid;
  gap: 28px;
}

.c8-loc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.c8-loc-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }

.c8-loc-card-h3 {
  font-family: var(--c8-font-heading);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--loc-heading);
  margin-bottom: 10px;
}

.c8-loc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin-bottom: 22px;
  color: #ffffff;
  background: var(--c8-gradient-brand);
  box-shadow: 0 10px 24px rgba(45, 92, 255, 0.3);
}

.c8-loc-icon-sm {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 18px;
}

/* ---------- Stats (optional) ---------- */
.c8-loc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border: 1px solid var(--loc-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--loc-shadow);
  overflow: hidden;
}

.c8-loc-stat {
  padding: 34px 28px;
  text-align: center;
  border-right: 1px solid var(--loc-border);
}

.c8-loc-stat:last-child {
  border-right: 0;
}

.c8-loc-stat strong {
  display: block;
  font-family: var(--c8-font-heading);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
  background: var(--c8-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.c8-loc-stat span {
  font-size: 14.5px;
  color: var(--loc-text);
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.c8-loc-service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border-radius: 24px;
  background: var(--loc-card);
  border: 1px solid var(--loc-border);
  box-shadow: var(--loc-shadow);
  overflow: hidden;
}

.c8-loc-service::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--c8-gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.c8-loc-service:hover {
  transform: translateY(-8px) !important;
  border-color: var(--loc-border-hover);
  box-shadow: var(--loc-shadow-hover);
}

.c8-loc-service:hover::after {
  transform: scaleX(1);
}

.c8-loc-service-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--c8-font-heading);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: #eef2fb;
}

.c8-loc-service p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--loc-text);
  margin-bottom: 18px;
}

.c8-loc-mini-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--loc-border);
}

.c8-loc-mini-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--loc-heading);
}

.c8-loc-mini-list li span {
  width: 18px;
  height: 18px;
}

.c8-loc-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-family: var(--c8-font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--c8-primary);
  transition: gap 0.25s ease, color 0.25s ease;
}

.c8-loc-service:hover .c8-loc-card-more {
  gap: 14px;
  color: var(--c8-accent-purple);
}

/* ==========================================================================
   LOCAL EXPERTISE
   ========================================================================== */
.c8-loc-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.c8-loc-inline-btn {
  margin-left: 8px;
}

.c8-loc-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.c8-loc-pillar {
  padding: 26px 24px;
  border-radius: 20px;
  background: var(--loc-card);
  border: 1px solid var(--loc-border);
  box-shadow: var(--loc-shadow);
}

.c8-loc-pillar:hover {
  border-color: var(--loc-border-hover);
  box-shadow: var(--loc-shadow-hover);
}

.c8-loc-pillar-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 16px;
  color: var(--c8-primary);
  background: rgba(45, 92, 255, 0.1);
}

.c8-loc-pillar h3 {
  font-family: var(--c8-font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--loc-heading);
  margin-bottom: 8px;
}

.c8-loc-pillar p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--loc-text);
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.c8-loc-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.c8-loc-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, #2D5CFF, #7264FF 50%, #B326CF);
  opacity: 0.35;
}

.c8-loc-step {
  position: relative;
  padding: 0 8px;
  text-align: center;
}

.c8-loc-step-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 50%;
  font-family: var(--c8-font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  background: var(--c8-gradient-brand);
  box-shadow: 0 0 0 8px #ffffff, 0 12px 26px rgba(45, 92, 255, 0.35);
}

.c8-loc-step p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--loc-text);
}

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.c8-loc-industry {
  padding: 30px 26px;
  border-radius: 22px;
  background: var(--loc-card);
  border: 1px solid var(--loc-border);
  box-shadow: var(--loc-shadow);
}

.c8-loc-industry:hover {
  border-color: var(--loc-border-hover);
  box-shadow: var(--loc-shadow-hover);
}

.c8-loc-industry p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--loc-text);
}

/* ==========================================================================
   AREAS (optional)
   ========================================================================== */
.c8-loc-areas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.c8-loc-area {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--loc-border);
  color: var(--loc-heading);
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(15, 30, 80, 0.05);
}

.c8-loc-area svg {
  color: var(--c8-primary);
}

/* ==========================================================================
   EDITOR CONTENT (shared .c8-entry-content is styled for dark; recolour here)
   ========================================================================== */
.c8-loc-editor {
  max-width: 860px;
  margin: 0 auto;
}

.c8-loc-editor .c8-entry-content {
  margin-top: 10px;
  color: var(--loc-text);
}

.c8-loc-editor .c8-entry-content h2,
.c8-loc-editor .c8-entry-content h3,
.c8-loc-editor .c8-entry-content h4,
.c8-loc-editor .c8-entry-content strong {
  color: var(--loc-heading);
}

.c8-loc-editor .c8-entry-content a {
  color: var(--c8-primary);
}

.c8-loc-editor .c8-entry-content blockquote {
  background: var(--loc-bg-alt);
  color: var(--loc-heading);
}

.c8-loc-editor .c8-entry-content blockquote p {
  color: var(--loc-heading);
}

.c8-loc-editor .c8-entry-content pre,
.c8-loc-editor .c8-entry-content code {
  background: var(--loc-bg-alt);
  color: var(--loc-heading);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.c8-loc-faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.c8-loc-faq-side {
  position: sticky;
  top: 120px;
}

.c8-loc-faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.c8-loc-faq-item {
  border-radius: 18px;
  background: var(--loc-card);
  border: 1px solid var(--loc-border);
  box-shadow: var(--loc-shadow);
}

.c8-loc-faq-item[open] {
  border-color: var(--loc-border-hover);
  box-shadow: var(--loc-shadow-hover);
}

.c8-loc-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-family: var(--c8-font-heading);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--loc-heading);
}

.c8-loc-faq-item summary::-webkit-details-marker {
  display: none;
}

.c8-loc-faq-icon {
  flex-shrink: 0;
  padding: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--c8-primary);
  background: rgba(45, 92, 255, 0.1);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.c8-loc-faq-item[open] .c8-loc-faq-icon {
  transform: rotate(180deg);
  color: #ffffff;
  background: var(--c8-gradient-brand);
}

.c8-loc-faq-item p {
  padding: 0 26px 24px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--loc-text);
}

/* ==========================================================================
   RESPONSIVE (matches theme breakpoints)
   ========================================================================== */
@media (max-width: 1200px) {
  .c8-loc-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .c8-loc-hero-grid { gap: 40px; }
}

@media (max-width: 991px) {
  .c8-loc-hero { padding: 124px 0 64px; }
  .c8-loc-hero-grid,
  .c8-loc-split,
  .c8-loc-faq-layout { grid-template-columns: 1fr; gap: 44px; }
  .c8-loc-hero-visual { max-width: 560px; padding-left: 0; }
  .c8-loc-float-a { right: 0; }
  .c8-loc-faq-side { position: static; }
  .c8-loc-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .c8-loc-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .c8-loc-timeline::before { display: none; }
  .c8-loc-section { padding: 70px 0; }
  .c8-loc-stat { border-right: 0; border-bottom: 1px solid var(--loc-border); }
  .c8-loc-stat:last-child { border-bottom: 0; }
}

@media (max-width: 767px) {
  .c8-loc-hero-sub { font-size: 16.5px; }
  .c8-loc-hero-actions { flex-direction: column; align-items: flex-start; gap: 24px; }
  .c8-loc-grid-3,
  .c8-loc-grid-4,
  .c8-loc-pillars,
  .c8-loc-timeline { grid-template-columns: 1fr; }
  .c8-loc-heading { margin-bottom: 38px; }
  .c8-loc-visual-card { padding: 22px 20px 24px; }
  .c8-loc-float { padding: 9px 14px 9px 9px; }
  .c8-loc-float-a { right: -4px; }
  .c8-loc-float-b { left: -4px; }
  .c8-loc-faq-item summary { padding: 18px 18px; font-size: 15.5px; }
  .c8-loc-faq-item p { padding: 0 18px 20px; }
  .c8-loc-strip-row span { font-size: 15px; }
}

/* ==========================================================================
   SERVICE-SPECIFIC LOCATION TEMPLATES (Local SEO / Google Ads / Meta Ads)
   ========================================================================== */
.c8-loc-tag-sep {
  font-style: normal;
  color: var(--loc-text-dim);
  margin: 0 -2px;
}

/* Non-link service cards: no pointer, keep the lift/gradient hover */
.c8-loc-service-static {
  cursor: default;
}

.c8-loc-service-static .c8-loc-mini-list {
  margin-bottom: 0;
}

/* ==========================================================================
   HERO v3 - headline + intro + badges (left), proposal form + how it works (right)
   ========================================================================== */
.c8-loc-hero-grid-form {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
  gap: 48px;
}

.c8-loc-h1 {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
  font-family: var(--c8-font-heading);
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.c8-loc-h1-city {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 600;
  background: var(--c8-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.c8-loc-h1-main {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: var(--loc-heading);
}

.c8-loc-intro-wrap {
  margin-bottom: 30px;
}

.c8-loc-intro-wrap .c8-loc-hero-sub {
  margin-bottom: 10px;
  max-width: 640px;
  font-size: 17.5px;
}

.c8-loc-intro.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c8-loc-readmore {
  padding: 0 0 2px;
  border: 0;
  border-bottom: 2px solid var(--c8-primary);
  background: none;
  color: var(--c8-primary);
  font-family: var(--c8-font-heading);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.c8-loc-readmore:hover {
  color: var(--c8-accent-purple);
  border-color: var(--c8-accent-purple);
}

/* Badge tiles */
.c8-loc-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 640px;
}

.c8-loc-badge-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 30, 80, 0.16);
}

.c8-loc-badge-tile strong {
  font-family: var(--c8-font-heading);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1;
}

.c8-loc-badge-tile span {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.95;
}

.c8-loc-badge-blue   { background: linear-gradient(135deg, #2D5CFF, #4f7bff); }
.c8-loc-badge-purple { background: linear-gradient(135deg, #7264FF, #B326CF); }
.c8-loc-badge-cyan   { background: linear-gradient(135deg, #1c8fd1, #38BDF8); }

/* Form card */
.c8-loc-hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.c8-loc-formcard {
  padding: 28px 30px 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--loc-border);
  box-shadow: 0 30px 70px rgba(15, 30, 80, 0.14);
  position: relative;
  overflow: hidden;
}

.c8-loc-formcard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--c8-gradient-brand);
}

.c8-loc-form-title {
  text-align: center;
  font-family: var(--c8-font-heading);
  font-size: 24px;
  font-weight: 800;
  background: var(--c8-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.c8-loc-form-sub {
  text-align: center;
  font-size: 15.5px;
  color: var(--loc-heading);
  margin-bottom: 20px;
}

.c8-loc-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.c8-loc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.c8-loc-form-row-1 {
  grid-template-columns: 1fr;
}

.c8-loc-form input,
.c8-loc-form select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--loc-border);
  background: #ffffff;
  color: var(--loc-heading);
  font-family: var(--c8-font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.c8-loc-form select {
  appearance: none;
  -webkit-appearance: none;
  color: var(--loc-text-dim);
  padding-right: 34px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a86a3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.c8-loc-form select:valid {
  color: var(--loc-heading);
}

.c8-loc-form input::placeholder {
  color: var(--loc-text-dim);
}

.c8-loc-form input:focus,
.c8-loc-form select:focus {
  border-color: var(--c8-primary);
  box-shadow: 0 0 0 4px rgba(45, 92, 255, 0.12);
}

.c8-loc-phone {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--loc-border);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.c8-loc-phone:focus-within {
  border-color: var(--c8-primary);
  box-shadow: 0 0 0 4px rgba(45, 92, 255, 0.12);
}

.c8-loc-phone-code {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  background: #f4f7ff;
  border-right: 1px solid var(--loc-border);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--loc-heading);
  white-space: nowrap;
}

.c8-loc-phone input {
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
  min-width: 0;
}

.c8-loc-form-btn {
  height: 52px;
  margin-top: 2px;
  border: 0;
  border-radius: 999px;
  background: var(--c8-gradient-brand);
  color: #ffffff;
  font-family: var(--c8-font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(45, 92, 255, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.c8-loc-form-btn:hover {
  background: var(--c8-gradient-brand-rev);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(179, 38, 207, 0.4);
}

.c8-loc-form-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--loc-text);
}

.c8-loc-form-note a {
  color: var(--c8-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* How it works */
.c8-loc-how {
  padding: 18px 20px 20px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--loc-border);
  box-shadow: var(--loc-shadow);
}

.c8-loc-how-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--c8-font-heading);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--loc-heading);
}

.c8-loc-how-head svg {
  color: var(--c8-primary);
}

.c8-loc-how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.c8-loc-how-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 12px;
}

.c8-loc-how-step b {
  font-family: var(--c8-font-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.c8-loc-how-step span {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--loc-heading);
}

.c8-loc-how-1 { background: rgba(45, 92, 255, 0.09); }
.c8-loc-how-1 b { color: #2D5CFF; }
.c8-loc-how-2 { background: rgba(114, 100, 255, 0.11); }
.c8-loc-how-2 b { color: #7264FF; }
.c8-loc-how-3 { background: rgba(56, 189, 248, 0.14); }
.c8-loc-how-3 b { color: #1c8fd1; }

@media (max-width: 991px) {
  .c8-loc-hero-grid-form { grid-template-columns: 1fr; gap: 36px; }
  .c8-loc-badges { max-width: none; }
}

@media (max-width: 767px) {
  .c8-loc-badges { grid-template-columns: 1fr; }
  .c8-loc-badge-tile { padding: 14px 16px; }
  .c8-loc-form-row { grid-template-columns: 1fr; }
  .c8-loc-formcard { padding: 24px 20px 20px; }
  .c8-loc-how-steps { grid-template-columns: 1fr; }
}

/* ==========================================================================
   REVIEWS / TRUST BAND (under the hero) - shows only when real numbers are set
   ========================================================================== */
.c8-loc-reviews {
  padding: 34px 0;
  background: #f4f7ff;
  border-top: 1px solid var(--loc-border);
  border-bottom: 1px solid var(--loc-border);
}

.c8-loc-reviews-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 28px 40px;
}

.c8-loc-review-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: var(--loc-heading);
  transition: transform 0.25s ease;
}

a.c8-loc-review-cell:hover {
  transform: translateY(-3px);
}

.c8-loc-review-brand {
  display: inline-flex;
  align-items: center;
  height: 44px;
  font-family: var(--c8-font-heading);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--loc-heading);
}

.c8-loc-review-brand img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.c8-loc-review-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.c8-loc-review-meta > strong {
  font-family: var(--c8-font-heading);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: var(--loc-heading);
}

.c8-loc-review-sep {
  width: 1px;
  height: 34px;
  background: #cfd7ee;
}

.c8-loc-review-mini {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.c8-loc-review-mini em {
  font-style: normal;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--loc-heading);
}

.c8-loc-stars {
  display: inline-flex;
  gap: 2px;
}

.c8-loc-stars svg {
  fill: #ffc83d;
  stroke: #f5b800;
  stroke-width: 1;
}

.c8-loc-stars-sm svg { width: 14px; height: 14px; }
.c8-loc-stars-lg svg { width: 32px; height: 32px; }
.c8-loc-stars-lg { gap: 6px; }

.c8-loc-review-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--loc-text);
}

.c8-loc-review-total .c8-loc-review-label svg {
  color: #e67e22;
}

@media (max-width: 767px) {
  .c8-loc-reviews { padding: 28px 0; }
  .c8-loc-reviews-row { flex-direction: column; gap: 26px; }
}

/* ==========================================================================
   CLIENT REELS (dark band, original dark-theme look)
   ========================================================================== */
.c8-loc-reels {
  position: relative;
  padding: 96px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(30, 58, 138, 0.55) 0%, rgba(5, 8, 20, 0) 62%),
    radial-gradient(circle at 90% 100%, rgba(179, 38, 207, 0.22) 0%, rgba(5, 8, 20, 0) 50%),
    #050814;
  color: #ffffff;
}

.c8-loc-reels-glow {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(90, 133, 255, 0.18) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%);
  pointer-events: none;
}

.c8-loc-reels .c8-blog-container {
  position: relative;
  z-index: 1;
}

.c8-loc-reels-head {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.c8-loc-reels-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--c8-font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--c8-primary-light);
}

.c8-loc-reels-title {
  font-family: var(--c8-font-heading);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
}

/* Track + arrows */
.c8-loc-reels-wrap {
  position: relative;
}

.c8-loc-reels-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 4px 22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  outline: none;
}

.c8-loc-reels-track::-webkit-scrollbar {
  display: none;
}

.c8-loc-reel {
  flex: 0 0 calc((100% - 80px) / 5);
  min-width: 190px;
  scroll-snap-align: start;
  margin: 0;
}

.c8-loc-reel-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #0a132c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.c8-loc-reel:hover .c8-loc-reel-frame,
.c8-loc-reel.is-playing .c8-loc-reel-frame {
  transform: translateY(-6px);
  border-color: rgba(90, 133, 255, 0.55);
  box-shadow: 0 26px 60px rgba(45, 92, 255, 0.32);
}

.c8-loc-reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  background: #0a132c;
}

/* soft bottom fade for captions / depth */
.c8-loc-reel-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(5, 8, 20, 0) 0%, rgba(5, 8, 20, 0.55) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.c8-loc-reel.is-playing .c8-loc-reel-frame::after {
  opacity: 0;
}

.c8-loc-reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  padding: 0 0 0 4px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: rgba(5, 8, 20, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.c8-loc-reel-play:hover {
  transform: scale(1.1);
  background: var(--c8-gradient-brand);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(45, 92, 255, 0.55);
}

.c8-loc-reel.is-playing .c8-loc-reel-play {
  opacity: 0;
  pointer-events: none;
}

.c8-loc-reel-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 16px 18px;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.c8-loc-reel.is-playing .c8-loc-reel-cap {
  opacity: 0;
}

.c8-loc-reel-cap strong {
  font-family: var(--c8-font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.c8-loc-reel-cap span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
}

.c8-loc-reels-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-top: -34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 19, 44, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.c8-loc-reels-nav:hover:not(:disabled) {
  background: var(--c8-primary);
  transform: scale(1.08);
}

.c8-loc-reels-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.c8-loc-reels-prev { left: -14px; }
.c8-loc-reels-next { right: -14px; }

@media (max-width: 1200px) {
  .c8-loc-reel { flex-basis: calc((100% - 60px) / 4); }
}

@media (max-width: 991px) {
  .c8-loc-reels { padding: 70px 0 76px; }
  .c8-loc-reel { flex-basis: calc((100% - 40px) / 3); }
}

@media (max-width: 767px) {
  .c8-loc-reel { flex-basis: 62%; }
  .c8-loc-reels-nav { display: none; }
  .c8-loc-reels-head { margin-bottom: 34px; }
  .c8-loc-reel-play { width: 62px; height: 62px; margin: -31px 0 0 -31px; }
}

/* the [hidden] attribute must win over display:flex */
.c8-loc-reels-nav[hidden] { display: none; }

/* ==========================================================================
   LOCATION PAGE SECTIONS (testimonials, CTA band, services grid, results, tools,
   why choose us, awards, full form, FAQ) - brand palette, white background
   ========================================================================== */

/* Colour tones used by cards: --t = strong colour (headers), --tb = soft tint (bodies) */
.c8-tone-1 { --t: #2D5CFF; --t2: #4f7bff; --tb: rgba(45, 92, 255, 0.08); }
.c8-tone-2 { --t: #7264FF; --t2: #8d82ff; --tb: rgba(114, 100, 255, 0.09); }
.c8-tone-3 { --t: #B326CF; --t2: #c855df; --tb: rgba(179, 38, 207, 0.08); }
.c8-tone-4 { --t: #1c8fd1; --t2: #38BDF8; --tb: rgba(56, 189, 248, 0.12); }
.c8-tone-5 { --t: #4338ca; --t2: #6366f1; --tb: rgba(67, 56, 202, 0.08); }
.c8-tone-6 { --t: #0f9fb8; --t2: #22c1dc; --tb: rgba(15, 159, 184, 0.1); }

.c8-loc-sub-grad {
  font-family: var(--c8-font-heading);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  background: var(--c8-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Shared pill button (gradient) */
.c8-loc-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: var(--c8-gradient-brand);
  color: #ffffff;
  font-family: var(--c8-font-heading);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(45, 92, 255, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.c8-loc-pill-btn:hover {
  background: var(--c8-gradient-brand-rev);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(179, 38, 207, 0.4);
  color: #ffffff;
}

.c8-loc-center-btn {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ---------- Testimonials ---------- */
.c8-loc-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.c8-loc-quote {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 36px 32px 30px;
  border-radius: 28px;
  background: var(--tb);
  border: 1px solid rgba(15, 30, 80, 0.05);
  text-align: center;
}

.c8-loc-quote-head {
  font-family: var(--c8-font-heading);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--t);
  margin-bottom: 18px;
}

.c8-loc-quote blockquote {
  font-size: 16px;
  font-style: italic;
  line-height: 1.85;
  color: var(--loc-text);
  margin-bottom: 26px;
  flex: 1;
}

.c8-loc-quote figcaption {
  text-align: right;
}

.c8-loc-quote figcaption strong {
  display: block;
  font-family: var(--c8-font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--t);
}

.c8-loc-quote figcaption span {
  font-size: 15px;
  color: var(--loc-heading);
}

.c8-loc-quote figcaption a {
  font-weight: 700;
  color: var(--t);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- "Ready to grow" band ---------- */
.c8-loc-ctaband {
  padding: 70px 0 20px;
  background: linear-gradient(180deg, #f4f7ff 0%, #ffffff 100%);
}

.c8-loc-ctaband-inner {
  text-align: center;
  padding-bottom: 36px;
}

.c8-loc-ctaband-title {
  font-family: var(--c8-font-heading);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--loc-heading);
  margin-bottom: 12px;
}

.c8-loc-ctaband-sub {
  font-size: 16.5px;
  color: var(--loc-text);
  margin-bottom: 26px;
}

.c8-loc-ranks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  padding: 20px 0 50px;
}

.c8-loc-rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.c8-loc-rank-label {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 999px;
  background: var(--t);
  color: #ffffff;
  font-family: var(--c8-font-heading);
  font-size: 15.5px;
  font-weight: 700;
}

.c8-loc-rank img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(15, 30, 80, 0.18);
}

/* ---------- Services grid (coloured headers) ---------- */
.c8-loc-svcgrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.c8-loc-svc {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--tb);
  box-shadow: var(--loc-shadow);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.c8-loc-svc:last-child:nth-child(3n + 1) {
  grid-column: 3 / span 2;
}

.c8-loc-svc:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 24px 50px rgba(15, 30, 80, 0.18);
}

.c8-loc-svc-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--t), var(--t2));
  color: #ffffff;
}

.c8-loc-svc-ico {
  display: inline-flex;
  flex-shrink: 0;
}

.c8-loc-svc-title {
  font-family: var(--c8-font-heading);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.c8-loc-svc-body {
  display: block;
  padding: 24px 26px 28px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--loc-text);
}

/* ---------- Case studies ---------- */
.c8-loc-case {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--loc-border);
  box-shadow: var(--loc-shadow);
}

.c8-loc-case-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.c8-loc-case-title {
  padding: 16px 20px;
  background: var(--c8-gradient-brand);
  text-align: center;
  font-family: var(--c8-font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
}

.c8-loc-case-title a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.c8-loc-case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 22px 16px 6px;
}

.c8-loc-case-metrics > div {
  text-align: center;
  padding: 0 10px;
}

.c8-loc-case-metrics > div + div {
  border-left: 1px solid var(--loc-border);
}

.c8-loc-case-metrics strong {
  display: block;
  font-family: var(--c8-font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--loc-heading);
}

.c8-loc-case-metrics span {
  font-size: 13px;
  font-weight: 700;
  color: var(--loc-text);
}

.c8-loc-case-text {
  padding: 16px 24px 28px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--loc-text);
}

/* ---------- Tools ---------- */
.c8-loc-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.c8-loc-tools-grid.has-video {
  grid-template-columns: 1fr 1fr;
}

.c8-loc-tool {
  padding: 26px 28px;
  border-radius: 18px;
  background: var(--tb);
}

.c8-loc-tool h3,
.c8-loc-reason h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-family: var(--c8-font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--loc-heading);
}

.c8-loc-tool-ico,
.c8-loc-reason-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--t), var(--t2));
}

.c8-loc-tool p,
.c8-loc-reason p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--loc-text);
}

.c8-loc-tools-video {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  border-radius: 22px;
  overflow: hidden;
  background: #0a132c;
  box-shadow: var(--loc-shadow);
}

.c8-loc-tools-video video,
.c8-loc-why-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0a132c;
}

/* ---------- Why choose us ---------- */
.c8-loc-why-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto 36px;
}

.c8-loc-why-top.has-video {
  grid-template-columns: 1.1fr 0.9fr;
  max-width: none;
  align-items: center;
}

.c8-loc-why-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--loc-text);
  margin-bottom: 16px;
}

.c8-loc-why-video {
  display: flex;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0a132c;
  box-shadow: 0 24px 56px rgba(15, 30, 80, 0.25);
}

.c8-loc-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.c8-loc-reason {
  padding: 26px 26px 28px;
  border-radius: 18px;
  background: var(--tb);
}

/* ---------- Awards ---------- */
.c8-loc-awards .c8-blog-container {
  max-width: 1000px;
}

.c8-loc-award {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-bottom: 24px;
  padding: 30px 36px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--loc-border);
  box-shadow: var(--loc-shadow);
}

.c8-loc-award-logo {
  flex: 0 0 190px;
}

.c8-loc-award-logo img {
  width: 100%;
  height: auto;
}

.c8-loc-award-body h3 {
  font-family: var(--c8-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--loc-heading);
  margin-bottom: 10px;
}

.c8-loc-award-body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--loc-text);
}

.c8-loc-award-body p a {
  font-weight: 700;
  color: var(--c8-primary);
  text-decoration: underline;
}

.c8-loc-award-items {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 8px 22px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--loc-heading);
}

.c8-loc-award-items li::before {
  content: "\2713";
  margin-right: 8px;
  font-weight: 800;
  color: var(--c8-primary);
}

.c8-loc-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 34px;
  margin-top: 40px;
}

.c8-loc-badge-row img {
  height: 78px;
  width: auto;
}

/* ---------- Full proposal form ---------- */
.c8-loc-formsec {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
}

.c8-loc-bigform {
  max-width: 900px;
  margin: 0 auto;
  padding: 34px 36px 36px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--loc-border);
  box-shadow: 0 30px 70px rgba(15, 30, 80, 0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.c8-loc-bf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.c8-loc-bf-span2 {
  grid-column: 1 / -1;
}

.c8-loc-bf-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.c8-loc-bf-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.c8-loc-bf-field label {
  font-family: var(--c8-font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--loc-heading);
}

.c8-loc-bf-field label b {
  color: var(--c8-accent-purple);
}

.c8-loc-bigform input,
.c8-loc-bigform select,
.c8-loc-bigform textarea {
  width: 100%;
  padding: 0 14px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--loc-border);
  background: #ffffff;
  color: var(--loc-heading);
  font-family: var(--c8-font-body);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.c8-loc-bigform textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  min-height: 96px;
}

.c8-loc-bigform select {
  appearance: none;
  -webkit-appearance: none;
  color: var(--loc-text-dim);
  padding-right: 34px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a86a3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.c8-loc-bigform select:valid {
  color: var(--loc-heading);
}

.c8-loc-bigform input::placeholder,
.c8-loc-bigform textarea::placeholder {
  color: var(--loc-text-dim);
}

.c8-loc-bigform input:focus,
.c8-loc-bigform select:focus,
.c8-loc-bigform textarea:focus {
  border-color: var(--c8-primary);
  box-shadow: 0 0 0 4px rgba(45, 92, 255, 0.12);
}

.c8-loc-bigform .c8-loc-phone input {
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
  height: 46px;
}

.c8-loc-bf-submit {
  align-self: flex-start;
  height: 52px;
  padding: 0 38px;
}

/* ---------- FAQ (centered accordion, uppercase questions) ---------- */
.c8-loc-faq-center {
  max-width: 900px;
  margin: 0 auto;
}

.c8-loc-faqsec .c8-loc-faq-item summary {
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 15px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .c8-loc-quote-grid,
  .c8-loc-ranks { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .c8-loc-svcgrid { grid-template-columns: repeat(2, 1fr); }
  .c8-loc-svc,
  .c8-loc-svc:last-child:nth-child(3n + 1) { grid-column: auto; }
  .c8-loc-svc:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .c8-loc-reasons { grid-template-columns: repeat(2, 1fr); }
  .c8-loc-tools-grid,
  .c8-loc-tools-grid.has-video { grid-template-columns: 1fr; }
  .c8-loc-tools-video { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 9; }
  .c8-loc-why-top.has-video { grid-template-columns: 1fr; }
  .c8-loc-award { flex-direction: column; text-align: center; }
  .c8-loc-award-items { grid-template-columns: repeat(2, auto); justify-content: center; text-align: left; }
}

@media (max-width: 767px) {
  .c8-loc-svcgrid,
  .c8-loc-reasons { grid-template-columns: 1fr; }
  .c8-loc-svc:last-child:nth-child(odd) { grid-column: auto; }
  .c8-loc-bf-row,
  .c8-loc-bf-pair { grid-template-columns: 1fr; }
  .c8-loc-bigform { padding: 26px 20px 28px; }
  .c8-loc-bf-submit { align-self: stretch; }
  .c8-loc-award { padding: 24px 20px; }
  .c8-loc-award-items { grid-template-columns: 1fr; }
  .c8-loc-ctaband { padding-top: 54px; }
}

/* ==========================================================================
   DARK SERVICE CARDS (match the main site's service cards)
   ========================================================================== */
.c8-loc-dgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.c8-loc-dgrid-3 {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.c8-loc-dcard {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 34px 30px;
  border-radius: 26px;
  color: #ffffff;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease;
}

.c8-loc-dcard:hover {
  transform: translateY(-8px) !important;
}

/* Backgrounds, borders and shadows copied from the main site */
.c8-loc-dcard.card-web-dev,
.c8-loc-dcard.card-paid-ads {
  background: radial-gradient(circle at 85%, #2968ff 0%, #154be5 35%, #0a2eaf 70%, #031454 100%);
  border: 1px solid rgba(96, 165, 250, 0.45);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.1), 0 25px 60px -15px rgba(10, 46, 175, 0.5);
}

.c8-loc-dcard.card-seo {
  background:
    radial-gradient(circle at 85%, rgba(30, 95, 255, 0.42) 0%, rgba(10, 40, 150, 0.22) 40%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(105deg, #01040a 0%, #030a1a 45%, #071536 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.2), 0 25px 60px -15px rgba(0, 0, 0, 0.7);
}

.c8-loc-dcard.card-ai-automation {
  background:
    radial-gradient(circle at 85%, rgba(168, 85, 247, 0.38) 0%, rgba(45, 92, 255, 0.22) 40%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(105deg, #01040a 0%, #060417 45%, #0b0e2a 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.2), 0 25px 60px -15px rgba(0, 0, 0, 0.7);
}

.c8-loc-dcard:hover.card-web-dev,
.c8-loc-dcard:hover.card-paid-ads {
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.12), 0 32px 75px -15px rgba(10, 46, 175, 0.65);
}

.c8-loc-dcard:hover.card-seo,
.c8-loc-dcard:hover.card-ai-automation {
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.25), 0 32px 75px -15px rgba(0, 0, 0, 0.85);
}

.c8-loc-dcard-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.c8-loc-dcard-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.c8-loc-dcard-icon {
  display: inline-flex;
  flex: none;
  width: 54px;
  height: 54px;
  transition: transform 0.3s ease;
}

.c8-loc-dcard:hover .c8-loc-dcard-icon {
  transform: scale(1.08);
}

.c8-loc-dcard-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.c8-loc-dcard-title h3 {
  font-family: var(--c8-font-heading);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.c8-loc-dcard-desc {
  font-family: var(--c8-font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.c8-loc-learn {
  display: inline-block;
  margin-left: 4px;
  font-weight: 700;
  color: #38bdf8 !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.c8-loc-learn:hover {
  color: #c084fc !important;
  text-decoration: underline;
  transform: translateX(2px);
}

/* Illustration */
.c8-loc-dcard-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.c8-loc-dcard-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(45, 92, 255, 0.2) 45%, rgba(0, 0, 0, 0) 70%);
  filter: blur(40px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.c8-loc-dcard:hover .c8-loc-dcard-visual {
  transform: scale(1.04) translateY(-3px);
}

.c8-loc-dcard-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.45));
}

/* Compact cards (no illustration) */
.c8-loc-dcard.is-compact {
  justify-content: flex-start;
  gap: 0;
  padding: 28px 28px 30px;
}

.c8-loc-dcard.is-compact .c8-loc-dcard-title h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
}

/* Ring icon for cards without a custom SVG: gradient ring + gradient disc + glyph */
.c8-loc-ring {
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2.2px solid transparent;
  background:
    linear-gradient(#0b0e2a, #0b0e2a) padding-box,
    linear-gradient(135deg, #38BDF8, #818CF8, #EC4899) border-box;
  box-shadow: 0 0 14px rgba(129, 140, 248, 0.55);
}

.c8-loc-ring > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #1D4ED8, #C026D3);
}

.c8-loc-ring svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 991px) {
  .c8-loc-dgrid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .c8-loc-dgrid { grid-template-columns: 1fr; gap: 22px; }
  .c8-loc-dcard { padding: 26px 22px 24px; border-radius: 22px; }
  .c8-loc-dcard-desc { font-size: 14px; line-height: 1.6; }
  .c8-loc-dcard-visual img { max-width: 300px; max-height: 210px; }
}

/* ==========================================================================
   DARK SERVICE CARDS v2 - smaller, three per row, illustration in every card
   (later rules override the v1 sizing above)
   ========================================================================== */
.c8-loc-dgrid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.c8-loc-dcard {
  gap: 18px;
  padding: 26px 26px 22px;
  border-radius: 22px;
}

.c8-loc-dcard-content {
  gap: 12px;
}

.c8-loc-dcard-title {
  gap: 12px;
}

.c8-loc-dcard-icon {
  width: 44px;
  height: 44px;
}

.c8-loc-dcard-title h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
}

.c8-loc-dcard-desc {
  font-size: 14px;
  line-height: 1.65;
}

.c8-loc-dcard-visual img {
  max-width: 100%;
  max-height: 190px;
}

.c8-loc-ring svg {
  width: 18px;
  height: 18px;
}

/* seventh card sits centred in the last row */
.c8-loc-dgrid > .c8-loc-dcard:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

@media (max-width: 991px) {
  .c8-loc-dgrid { grid-template-columns: repeat(2, 1fr); }
  .c8-loc-dgrid > .c8-loc-dcard:last-child:nth-child(3n + 1) { grid-column: auto; }
  .c8-loc-dgrid > .c8-loc-dcard:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 560px; width: 100%; justify-self: center; }
}

@media (max-width: 767px) {
  .c8-loc-dgrid { grid-template-columns: 1fr; }
  .c8-loc-dgrid > .c8-loc-dcard:last-child:nth-child(odd) { grid-column: auto; max-width: none; }
  .c8-loc-dcard-visual img { max-height: 200px; }
}

/* Reels: zoom the video slightly inside its rounded frame so the bottom-right
   "clideo.com" watermark (and thin black bars at the top of some clips) fall outside the visible area. */
.c8-loc-reel-video {
  transform: scale(1.2);
  transform-origin: 50% 42%;
}

/* ---- Reels, round 2 ---- */
/* 1) No drop shadow under the reel cards (it was clipped into a hard-edged dark band by the scroller). */
.c8-loc-reel-frame,
.c8-loc-reel:hover .c8-loc-reel-frame,
.c8-loc-reel.is-playing .c8-loc-reel-frame {
  box-shadow: none;
}

/* 2) Crop the video via its size/position (more reliable than scale) so the bottom-right "clideo.com"
      watermark and the thin black top bars sit outside the frame. */
.c8-loc-reel-video {
  inset: auto;
  top: -8%;
  left: -14%;
  width: 128%;
  height: 128%;
  transform: none;
}

/* ==========================================================================
   HERO TRUST BADGES - flat, crisp tiles (solid / outlined "featured" / solid)
   ========================================================================== */
.c8-loc-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 660px;
}

.c8-loc-trust-solid,
.c8-loc-trust-feature {
  display: flex;
  min-height: 104px;
  border-radius: 14px;
  overflow: hidden;
}

/* solid tiles: big number + uppercase label, flat colour, no gloss or shadow */
.c8-loc-trust-solid {
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 18px;
  color: #ffffff;
}

.c8-loc-trust-solid strong {
  font-family: var(--c8-font-heading);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.c8-loc-trust-solid span {
  max-width: 96px;
  font-family: var(--c8-font-heading);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
}

.c8-loc-trust-blue   { background: #2d5cff; }
.c8-loc-trust-purple { background: #8b2fd8; }

/* outlined "featured" tile: coloured header band + white body */
.c8-loc-trust-feature {
  flex-direction: column;
  border: 2px solid #5b4de0;
  background: #ffffff;
}

.c8-loc-trust-feat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px 8px 14px;
  background: #5b4de0;
  color: #ffffff;
}

.c8-loc-trust-feat-head em {
  font-family: var(--c8-font-heading);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.c8-loc-trust-feat-head i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  color: #5b4de0;
}

.c8-loc-trust-feat-body {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 6px 10px 8px;
  font-family: var(--c8-font-heading);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #5b4de0;
  text-align: center;
}

@media (max-width: 991px) {
  .c8-loc-trust { max-width: none; }
}

@media (max-width: 767px) {
  .c8-loc-trust { grid-template-columns: 1fr; gap: 12px; }
  .c8-loc-trust-solid,
  .c8-loc-trust-feature { min-height: 88px; }
  .c8-loc-trust-solid span { max-width: none; text-align: left; }
}

.c8-loc-trust-solid { gap: 10px; padding: 16px 14px; }
.c8-loc-trust-solid strong { font-size: clamp(30px, 3vw, 42px); }
.c8-loc-trust-solid span { max-width: 88px; font-size: 12.5px; }

/* Hero: no glow / lighting effects - plain white background */
.c8-loc-orb {
  display: none !important;
}

.c8-loc-hero {
  background: #ffffff;
}

/* Hero trust badges on mobile: compact stacked tiles (~230px wide, left-aligned), big numbers */
@media (max-width: 767px) {
  .c8-loc-trust {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    max-width: 232px;
  }

  .c8-loc-trust-solid {
    justify-content: flex-start;
    gap: 14px;
    min-height: 84px;
    padding: 12px 20px;
  }

  .c8-loc-trust-solid strong {
    font-size: 42px;
  }

  .c8-loc-trust-solid span {
    max-width: 96px;
    font-size: 12.5px;
    text-align: center;
  }

  .c8-loc-trust-feature {
    min-height: 82px;
  }

  .c8-loc-trust-feat-head {
    padding: 7px 10px 7px 14px;
  }

  .c8-loc-trust-feat-head em {
    font-size: 12px;
    letter-spacing: 0.22em;
  }

  .c8-loc-trust-feat-body {
    font-size: 26px;
  }
}

/* ==========================================================================
   RANKINGS (label pill + phone frame with a real screenshot) - before services
   ========================================================================== */
.c8-loc-rankings {
  padding: 70px 0 10px;
  background: #ffffff;
}

.c8-loc-rank-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.c8-loc-rank-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin: 0;
}

.c8-loc-rank-pill {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 999px;
  background: var(--t);
  color: #ffffff;
  font-family: var(--c8-font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

/* phone: black bezel, rounded, screenshot fades out at the bottom */
.c8-loc-phone-frame {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 250px;
  padding: 9px 9px 0;
  border: 7px solid #0b0b0f;
  border-bottom: 0;
  border-radius: 40px 40px 0 0;
  background: #ffffff;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}

.c8-loc-phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px 28px 0 0;
}

@media (max-width: 991px) {
  .c8-loc-rank-row { grid-template-columns: 1fr; gap: 36px; max-width: 360px; margin: 0 auto; }
}

/* Illustrated phone mockups (used when no real screenshots are provided) */
.c8-loc-mock { padding: 14px 14px 0; color: #5f6b85; }
.c8-loc-mock-bar { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid #dfe5f4; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #0a132c; background: #fff; box-shadow: 0 2px 8px rgba(15,30,80,.08); }
.c8-loc-mock-bar svg { color: #2d5cff; flex-shrink: 0; }
.c8-loc-mock-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c8-loc-mock-tabs { display: flex; gap: 14px; margin: 12px 4px 10px; font-size: 11px; border-bottom: 1px solid #e6ebf6; padding-bottom: 6px; }
.c8-loc-mock-tabs b { color: #2d5cff; border-bottom: 2px solid #2d5cff; padding-bottom: 5px; margin-bottom: -7px; }
.c8-loc-mock-tabs i { font-style: normal; }
.c8-loc-mock-result { margin: 12px 4px 0; }
.c8-loc-mock-result em { display: block; width: 46%; height: 7px; border-radius: 4px; background: #dfe5f4; margin-bottom: 7px; }
.c8-loc-mock-result strong { display: block; width: 82%; height: 10px; border-radius: 4px; background: #2d5cff; opacity: .75; margin-bottom: 8px; }
.c8-loc-mock p, .c8-loc-mock-listing p { height: 7px; border-radius: 4px; background: #e3e8f5; margin-top: 7px; width: 94%; }
.c8-loc-mock p.s { width: 62%; }
.c8-loc-mock-map { position: relative; height: 70px; margin: 12px 0 0; border-radius: 14px; background: linear-gradient(135deg,#e8f0ff,#f1e9ff); overflow: hidden; }
.c8-loc-mock-map u { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #b326cf; }
.c8-loc-mock-map u:nth-child(1) { left: 22%; top: 36%; }
.c8-loc-mock-map u:nth-child(2) { left: 52%; top: 20%; background: #2d5cff; }
.c8-loc-mock-map u:nth-child(3) { left: 76%; top: 48%; background: #38bdf8; }
.c8-loc-mock-listing { margin: 10px 2px 0; padding: 10px 12px; border-radius: 12px; background: #f1f4fb; }
.c8-loc-mock-listing strong { display: block; width: 58%; height: 10px; border-radius: 4px; background: #0a132c; opacity: .7; }
.c8-loc-mock-listing div { display: flex; gap: 8px; margin-top: 9px; }
.c8-loc-mock-listing div span { padding: 3px 10px; border: 1px solid #c9d5f5; border-radius: 999px; font-size: 10.5px; color: #2d5cff; background: #fff; }
.c8-loc-mock-ai { margin-top: 14px; }
.c8-loc-mock-ai p.q { width: 54%; height: 9px; background: #2d5cff; opacity: .55; margin: 0 0 12px auto; }
.c8-loc-mock-bullets { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.c8-loc-mock-bullets i { display: block; height: 8px; width: 80%; border-radius: 4px; background: #e3e8f5; position: relative; margin-left: 14px; }
.c8-loc-mock-bullets i::before { content: ""; position: absolute; left: -14px; top: 1px; width: 6px; height: 6px; border-radius: 50%; background: #b326cf; }

/* Real screenshots already include a phone outline: no extra frame, just fade out at the bottom */
.c8-loc-phone-frame:has(> img) {
  height: 270px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.c8-loc-phone-frame:has(> img) img {
  border-radius: 0;
}

/* ---- Rankings: match reference (slim pills, single phone outline, soft fade background) ---- */
.c8-loc-rankings {
  padding: 56px 0 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 55%, #ffffff 100%);
}

.c8-loc-rank-row {
  gap: 48px;
}

.c8-loc-rank-item {
  gap: 20px;
}

.c8-loc-rank-pill {
  padding: 9px 24px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}

/* real screenshots already include a thin phone outline: no extra frame at all */
.c8-loc-phone-frame.has-img {
  max-width: 300px;
  height: 250px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}

.c8-loc-phone-frame.has-img img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* trim the square black corners baked into the screenshot files */
.c8-loc-phone-frame.has-img { border-radius: 44px 44px 0 0; }
.c8-loc-phone-frame.has-img img { transform: scale(1.03); transform-origin: 50% 0; }

/* Service variants: bullet list inside the dark cards */
.c8-loc-dcard-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.c8-loc-dcard-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}
.c8-loc-dcard-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #38bdf8;
}
