/**
 * Custom Service Styles - BGStudio
 * Corrections de contraste pour les pages de services
 */

/* ======================
   Features Section - Fix blanc sur blanc
   ====================== */

/* Titre de la section features - forcer en noir */
.tp-service-5-feature-title {
    color: #030303 !important;
}

/* Icône SVG - forcer stroke noir */
.tp-service-5-feature-content span svg path {
    stroke: #030303 !important;
}

/* Bouton vidéo "Découvrir nos réalisations" */
.tp-service-4-process-video.service-5-pos .popup-video span {
    color: #030303 !important;
    font-weight: 600;
}

/* Circle du bouton play */
.popup-video.dgm-testimonial-playbtn {
    background-color: #C6F962;
    border: 2px solid #030303;
}

/* ======================
   Section Pricing - Amélioration lisibilité
   ====================== */

.tp-service-5-price-heading .tp-section-subtitle {
    color: #666 !important;
}

.tp-service-5-price-heading h3 {
    color: #030303 !important;
}

/* ======================
   Bannière - S'assurer qu'elle existe
   ====================== */

.tp-service-4-banner-area {
    min-height: 400px;
    background-color: #f5f5f5;
}

.ar-banner-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Si l'image manque, afficher un placeholder */
.ar-banner-wrap img[src=""],
.ar-banner-wrap img:not([src]) {
    display: none;
}

.ar-banner-wrap:has(img[src=""]),
.ar-banner-wrap:has(img:not([src])) {
    min-height: 400px;
    background: linear-gradient(135deg, #C6F962 0%, #A5D950 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ar-banner-wrap:has(img[src=""]):after,
.ar-banner-wrap:has(img:not([src])):after {
    content: "Image à venir";
    font-size: 24px;
    color: #030303;
    font-weight: 600;
}
/* FAQ accordion styling */
.tp-faq-area {
  --faq-bg: #ffffff;
  --faq-border: #e8e8ec;
  --faq-shadow: 0 8px 24px rgba(3, 3, 3, 0.06);
  --faq-radius: 14px;
  --faq-accent: #cfff00; /* lime-1 */
  /* Footer block spacing + rounded corners like hero/header */
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 20px;
}

/* FAQ column narrower */
.tp-faq-area .col-lg-7 .tp-faq-list { max-width: 720px; }

/* Related services hover carousel */
.tp-related-hover .tp-related-hover-active { overflow: visible; }
.tp-related-hover .swiper-slide { height: auto; }
.tp-related-hover-card {
  display: block;
  border: 1px solid #ececf0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(3,3,3,0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tp-related-hover-body { padding: 18px; }
.tp-related-hover-title { margin: 0 0 6px; font-size: 18px; font-weight: 800; color:#030303; }
.tp-related-hover-text { margin: 0; color:#4a4a4f; line-height:1.6; }
.tp-related-hover-card:hover {
  transform: scale(1.04);
  box-shadow: 0 18px 42px rgba(3,3,3,0.12);
  border-color: #e2e2e8;
}
.tp-related-hover-nav .swiper-button-prev,
.tp-related-hover-nav .swiper-button-next { color:#030303; }

.tp-faq-list {
  display: grid;
  gap: 14px;
}

/* "Twice"-inspired FAQ look */
.tp-faq-item details {
  background: var(--faq-bg);
  border: 1px solid var(--faq-border);
  border-radius: var(--faq-radius);
  box-shadow: 0 2px 10px rgba(3,3,3,0.04);
  overflow: hidden;
  transition: box-shadow 360ms cubic-bezier(.2,.7,.2,1), border-color 260ms ease, transform 220ms ease;
}

.tp-faq-item details[open] {
  box-shadow: 0 16px 40px rgba(3,3,3,0.08);
  border-color: rgba(3,3,3,0.08);
  position: relative;
}
.tp-faq-item details[open]::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--faq-accent);
}

.tp-faq-item summary.tp-faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  cursor: pointer;
  padding: 22px 24px;
  min-height: 64px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  list-style: none; /* remove default marker */
}

/* Remove default summary marker (Safari/Chrome) */
.tp-faq-item summary::-webkit-details-marker { display: none; }

/* Icon */
.tp-faq-item summary.tp-faq-question::after {
  content: '';
  width: 24px;
  height: 24px;
  margin-left: auto;
  flex: 0 0 24px;
  border-radius: 999px;
  background-color: rgba(198, 249, 98, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23030303' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  transition: transform 420ms cubic-bezier(.2,.7,.2,1), background-color 260ms ease, box-shadow 260ms ease;
}

.tp-faq-item details[open] summary.tp-faq-question::after {
  transform: rotate(180deg);
  background-color: rgba(198, 249, 98, 0.28);
  box-shadow: 0 6px 12px rgba(198,249,98,0.35);
}

.tp-faq-item .tp-faq-answer {
  padding: 0 22px 18px 22px;
  color: #4a4a4f;
  font-size: 16px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(-4px);
  max-height: 0;
  overflow: hidden;
  will-change: opacity, transform, max-height;
  transition: opacity 420ms cubic-bezier(.2,.7,.2,1), transform 420ms cubic-bezier(.2,.7,.2,1), max-height 620ms cubic-bezier(.2,.7,.2,1);
}

.tp-faq-item details[open] .tp-faq-answer {
  opacity: 1;
  transform: translateY(0);
  max-height: 1000px; /* large enough for typical content */
}

/* Hover and focus states */
.tp-faq-item summary.tp-faq-question:hover {
  background: rgba(3,3,3,0.02);
}

.tp-faq-item summary.tp-faq-question:focus-visible {
  outline: 2px solid var(--faq-accent);
  outline-offset: 4px;
  border-radius: calc(var(--faq-radius) - 4px);
}
/* Service Detail V2 */
.sv2-hero {
  position: relative;
  padding: clamp(90px, 12vw, 180px) 0 clamp(60px, 8vw, 110px);
  border-radius: 0 0 30px 30px;
  --sv2-accent: #C6F962;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.sv2-hero .sv2-hero-overlay {
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(246,248,239,.92) 0%, rgba(246,248,239,.75) 60%, rgba(246,248,239,.92) 100%);
  backdrop-filter: blur(2px);
  border-radius: 0 0 30px 30px;
}
.sv2-hero-badge {
  display:inline-block; background:var(--sv2-accent); color:#030303;
  font-weight:700; text-transform:uppercase; letter-spacing:.08em;
  padding:8px 16px; border-radius: 999px; margin-bottom:16px; font-size:12px;
}
.sv2-hero-title { font-size: clamp(40px, 6vw, 72px); line-height:1.08; font-weight:800; margin: 0 0 16px; color:#030303; }
.sv2-hero-desc { font-size: clamp(16px, 2vw, 20px); line-height:1.75; color:#4a4a4f; margin:0 0 18px; }
.sv2-hero-features { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:12px 22px; padding:0; margin:18px 0 0; list-style:none; }
.sv2-hero-features li {
  position:relative; padding-left:26px; font-weight:600; color:#030303;
}
/* Checkmark removed - using + icon from template instead */
/* .sv2-hero-features li::before {
  content: '';
  position:absolute; left:0; top:.35em; width:16px; height:16px; opacity:.9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23030303' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-size:16px 16px; background-position:center;
} */

.sv2-banner { padding: 40px 0 0; }
.sv2-banner-inner { border-radius: 18px; overflow: hidden; box-shadow: 0 14px 40px rgba(3,3,3,.08); }

.sv2-sec-head { margin-bottom: 24px; }
.sv2-sec-badge { display:inline-block; background:#F1F2F6; color:#030303; font-weight:600; padding:6px 12px; border-radius:999px; font-size:12px; letter-spacing:.6px; margin-bottom:10px; }
.sv2-sec-title { font-size: clamp(28px, 3.6vw, 48px); line-height:1.16; font-weight:800; margin: 0 0 8px; color:#030303; }

.sv2-process .sv2-steps { display:grid; gap:14px; }
.sv2-step { display:grid; grid-template-columns: 56px 1fr; gap:16px; align-items:flex-start; }
.sv2-step-num { display:inline-grid; place-items:center; width:56px; height:56px; border-radius:14px; background:#030303; color:#fff; font-weight:700; }
.sv2-step-text { margin: 8px 0 0; color:#4a4a4f; line-height:1.7; }
.sv2-process-visual { position:relative; }
.sv2-process-desc { color:#4a4a4f; line-height:1.7; margin-bottom: 20px; }
.sv2-process-img { width:100%; border-radius:18px; box-shadow: 0 16px 42px rgba(3,3,3,.08); }
.sv2-video-btn, .sv2-video-link { position:absolute; right:20px; bottom:20px; display:inline-grid; place-items:center; width:56px; height:56px; border-radius:999px; background:#C6F962; color:#030303; font-weight:700; box-shadow: 0 8px 20px rgba(198,249,98,.5); transition: transform .2s ease; }
.sv2-video-link { position:relative; inset:auto; margin-top:10px; width:auto; height:auto; padding:10px 14px; border-radius:12px; }
.sv2-video-btn:hover, .sv2-video-link:hover { transform: translateY(-2px); }

.sv2-benefits-desc { color:#4a4a4f; line-height:1.8; }
.sv2-features .sv2-feat-head { display:grid; gap:10px; margin-bottom:14px; }
.sv2-features .sv2-feat-title { font-size: clamp(22px,3vw,36px); line-height:1.25; font-weight:800; }
.sv2-features .sv2-feat-media img { width:100%; border-radius:18px; box-shadow: 0 14px 40px rgba(3,3,3,.08); }
.sv2-features { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* Responsive tweaks */
@media (max-width: 991px) {
  .sv2-hero-features { grid-template-columns: 1fr; }
  .sv2-step { grid-template-columns: 48px 1fr; }
  .sv2-step-num { width:48px; height:48px; border-radius:12px; }
}

/* hero shapes and section backgrounds */
.sv2-hero-shape { position:absolute; opacity:.18; pointer-events:none; user-select:none; }
.sv2-hero-shape-1 { left: -40px; bottom: -20px; width: 48vw; max-width: 680px; transform: scaleX(-1); }
.sv2-hero-shape-2 { right: -40px; top: -30px; width: 42vw; max-width: 600px; }
.sv2-process { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* Service v1 list: force single-line items and widen columns */
.tp-service-5-list ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
.tp-service-5-list ul li {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #ffffff;
  border: 1px solid #ececf0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  /* Force 100% width per grid cell; cancel legacy float/width from base theme */
  width: 100% !important;
  float: none !important;
  box-sizing: border-box;
}
.tp-service-5-list ul li::before {
  content: '';
  width: 18px; height: 18px; flex: 0 0 18px;
  border-radius: 999px;
  background-color: rgba(198, 249, 98, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23030303' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px 12px;
}
@media (max-width: 991px) { .tp-service-5-list ul { grid-template-columns: 1fr !important; } }
@media (max-width: 575px) { .tp-service-5-list ul { grid-template-columns: 1fr !important; } }

/* ======================
   Long-text readability (m-twice style)
   ====================== */

:root {
  --measure: 68ch;
  --measure-wide: 72ch;
  --measure-narrow: 56ch;
  /* Brand pep gradient stops */
  --pep-1: #D9FF00; /* vivid lime */
  --pep-2: #C6F962; /* brand */
  --pep-3: #b2db00; /* King Lime */
  --pep-4: #cfff00ca; /* vivid lime-yellow with alpha */
}

/* Utilities */
.measure { max-width: var(--measure); }
.measure-wide { max-width: var(--measure-wide); }
.measure-narrow { max-width: var(--measure-narrow); }

/* Apply measure and improved typography to key text blocks */
.tp-service-5-text p,
.tp-service-4-process-wrapper > p,
.tp-benefits-heading p,
.sv2-hero-desc,
.sv2-process-desc,
.sv2-benefits-desc {
  max-width: var(--measure);
  line-height: 1.75;
  color: #4a4a4f;
}

/* Normalize font sizing responsively for paragraphs */
.tp-service-5-text p,
.tp-service-4-process-wrapper > p,
.tp-benefits-heading p {
  font-size: clamp(16px, 1.6vw, 18px);
  margin-bottom: 24px;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

/* Remove manual line breaks inside long paragraphs for natural wrapping */
.tp-service-4-process-wrapper > p br,
.tp-benefits-heading p br {
  display: none;
}

/* Balance large headings for nicer line breaks where supported */
.ar-hero-title-box .tp-career-title,
.tp-benefits-heading .tp-career-title,
.ar-hero-title-box h1 {
  text-wrap: balance;
}

/* Hero media & pep background */
.ar-hero-area { position: relative; }
.ar-hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 18px 48px rgba(3,3,3,0.12);
}
.ar-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Show decorative fallback when image missing */
.ar-hero-media:has(img[src=""]),
.ar-hero-media:has(img:not([src])) {
  background: radial-gradient(60% 60% at 70% 30%, rgba(207,255,0,0.45) 0%, rgba(207,255,0,0.10) 60%, transparent 100%),
              linear-gradient(180deg, #F2FFD1 0%, #E8FFB0 100%);
}

/* Pep overlay over any background image */
.ar-hero-area.has-pep { position: relative; }
.ar-hero-area.has-pep::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, var(--pep-1) 0%, var(--pep-2) 35%, var(--pep-3) 70%, var(--pep-4) 100%);
}
.ar-hero-area.has-pep > .container { position: relative; z-index: 1; }

/* Round hero bottom corners */
.ar-hero-area.has-pep { border-radius: 0 0 30px 30px; overflow: hidden; }

/* Animated gradient background for hero (brand pep) */
.ar-hero-area.has-pep.hero-animated::before {
  background: linear-gradient(120deg, var(--pep-1), var(--pep-2), var(--pep-3), var(--pep-4));
  background-size: 220% 220%;
  animation: hero-gradient-animation 5.5s ease-in-out infinite;
}

@keyframes hero-gradient-animation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Vertical giant title for related services */
.tp-related-hover { position: relative; }

/* Flex hover expand related services (CodePen-inspired) */
.tp-related-flex {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 480px;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 4px;
  cursor: grab;
  /* Hide scrollbar (Firefox/IE/Edge/Chromium) */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.tp-related-flex::-webkit-scrollbar { /* WebKit */
  display: none;
}
/* Optional snap for nicer swipe */
.tp-related-flex { scroll-snap-type: x proximity; }
.tp-related-flex .tp-related-flex-item { scroll-snap-align: start; }
.tp-related-flex.dragging { cursor: grabbing; }
}
.tp-related-flex-item {
  position: relative;
  flex: 0 0 120px;
  border-radius: 12px;
  transition: 0.5s ease-in-out;
  cursor: pointer;
  box-shadow: none;
  overflow: hidden;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border: 2px solid rgba(207,255,0,0.45);
}
.tp-related-flex-item .content {
  color: #030303;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 1;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
  /* Attenuated lime overlay, similar to hero but softer */
  background:
    linear-gradient(0deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0.25) 60%, rgba(255,255,255,0) 100%),
    radial-gradient(60% 60% at 80% 20%, rgba(207,255,0,0.18) 0%, rgba(207,255,0,0.0) 60%),
    linear-gradient(135deg, var(--pep-1), var(--pep-2), var(--pep-3), var(--pep-4));
  background-size: 160% 160%;
  animation: related-gradient-animation 12s ease-in-out infinite;
  transform: translateY(0%);
  transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out;
  visibility: visible;
}
.tp-related-flex-item .content span { display: block; margin-top: 6px; font-size: 0.95rem; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.tp-related-flex-item .tp-related-hover-title {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-weight: 800; letter-spacing: .06em; line-height: .9;
  font-size: clamp(16px, 2vw, 28px);
  text-transform: uppercase;
  /* Outline text: white stroke, transparent fill */
  color: transparent;
  -webkit-text-stroke: 1.5px #ffffff;
  text-shadow: none;
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.tp-related-flex-item:hover {
  flex: 0 0 250px;
  box-shadow: 0 10px 28px rgba(3,3,3,0.10);
  transform: translateY(-16px);
  border-color: rgba(207,255,0,0.85);
}
.tp-related-flex-item:hover .content {
  opacity: 1;
  transform: translateY(0%);
}
.tp-related-flex-item:hover .content span { opacity: 1; transform: translateY(0); }
@media (max-width: 991px) {
  .tp-related-flex { height: 380px; }
  .tp-related-flex-item:hover { flex: 1 1 auto; transform: translateY(-8px); }
}

/* Placeholder when no image */
.tp-related-flex-item:not([style*="background-image"]) {
  background-image:
    linear-gradient(0deg, rgba(255,255,255,0.55), rgba(255,255,255,0.2)),
    linear-gradient(135deg, var(--pep-1) 0%, var(--pep-2) 35%, var(--pep-3) 70%, var(--pep-4) 100%);
}

@keyframes related-gradient-animation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Reduce excessive left padding on process description on smaller screens */
@media (max-width: 1199px) {
  .tp-service-4-process-wrapper .pl-200 {
    padding-left: 0 !important;
  }
}

/* Slightly narrower measure on very wide screens for optimal readability */
@media (min-width: 1400px) {
  .tp-service-5-text p,
  .tp-service-4-process-wrapper > p,
  .tp-benefits-heading p,
  .sv2-hero-desc,
  .sv2-process-desc,
  .sv2-benefits-desc {
    max-width: 62ch;
  }
}

/* ======================
   Structure visuelle: Process (cartes / timeline)
   ====================== */
.tp-service-4-process-wrap { display: grid; gap: 18px; }
.tp-service-4-process-list {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: start;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(3,3,3,0.04);
}
.tp-service-4-process-list:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 28px;
  top: calc(100% - 8px);
  height: 18px;
  width: 2px;
  background: #e9e9ee;
}
.tp-service-4-process-list span {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: #030303; color: #fff;
  font-weight: 700;
}
.tp-service-4-process-list p { margin: 8px 0 0; color: #4a4a4f; line-height: 1.6; }

@media (max-width: 991px) {
  .tp-service-4-process-list { grid-template-columns: 48px 1fr; }
  .tp-service-4-process-list span { width:48px; height:48px; border-radius:12px; }
}

/* ======================
   Structure visuelle: Benefits (illustration légère)
   ====================== */
/* Keep text readable; ensure proper stacking */
.tp-benefits-heading { position: relative; z-index: 1; }

/* ======================
   Benefits: cards grid + illustration
   ====================== */
.tp-benefits-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.tp-benefit-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #ececf0;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(3,3,3,0.05);
}
.tp-benefit-card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: #F1F2F6;
}
.tp-benefit-card-icon img { width: 26px; height: 26px; object-fit: contain; opacity: .9; }
.tp-benefit-card-title { margin: 2px 0 6px; font-weight: 800; font-size: 18px; color: #030303; }
.tp-benefit-card-text { margin: 0; color: #4a4a4f; line-height: 1.65; }

@media (max-width: 991px) {
  .tp-benefits-cards { grid-template-columns: 1fr; }
}

.tp-benefits-illustration img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(3,3,3,0.08);
}

/* Hide empty illustration gracefully */
.tp-benefits-illustration img[src=""],
.tp-benefits-illustration img:not([src]) {
  display: none;
}

/* Improve placement: sticky, aspect-ratio, spacing */
.tp-benefits-illustration {
  position: relative;
  aspect-ratio: 4 / 3;
}
@media (min-width: 1200px) {
  .tp-benefits-illustration { position: sticky; top: 110px; }
}

/* Show a default decorative placeholder when image is missing */
.tp-benefits-illustration:has(img[src=""]),
.tp-benefits-illustration:has(img:not([src])) {
  border-radius: 18px;
  background: radial-gradient(60% 60% at 70% 30%, rgba(207,255,0,0.35) 0%, rgba(207,255,0,0.06) 60%, transparent 100%),
              linear-gradient(180deg, #F6F8EF 0%, #ffffff 100%);
  box-shadow: 0 16px 42px rgba(3,3,3,0.08);
}

/* Benefit icon placeholder if no icon provided */
.tp-benefit-card-icon { position: relative; overflow: hidden; }
.tp-benefit-card-icon:has(img[src=""]),
.tp-benefit-card-icon:has(img:not([src])) { background: rgba(207,255,0,0.25); }
.tp-benefit-card-icon:has(img[src=""])::after,
.tp-benefit-card-icon:has(img:not([src]))::after {
  content: '';
  position: absolute; inset: 0; margin: auto;
  width: 22px; height: 22px;
  background-repeat: no-repeat; background-position: center; background-size: 22px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23030303' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12h8M12 8v8'/%3E%3C/svg%3E");
}

/* ======================
   Related services section
   ====================== */
.tp-related-services { background: #fff; }
.tp-related-head .tp-career-title { margin-bottom: 18px; }

.tp-related-grid { margin-top: 8px; }
.tp-related-card {
  display: block;
  height: 100%;
  border: 1px solid #ececf0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(3,3,3,0.05);
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-decoration: none;
}
.tp-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(3,3,3,0.08);
  border-color: #e2e2e8;
}
.tp-related-card-body { padding: 20px; }
.tp-related-card-title { margin: 4px 0 6px; font-size: 20px; font-weight: 800; color: #030303; }
.tp-related-card-text { margin: 0 0 10px; color: #4a4a4f; line-height: 1.65; }
.tp-related-card-cta { display: inline-block; font-weight: 700; color: #030303; }

/* ======================
   Feature highlight (corporate)
   ====================== */
.tp-feat-highlight { background: #fff; }
.tp-feat-highlight .tp-career-title { margin: 0 0 10px; }
.tp-feat-highlight .sv2-video-link { background: var(--lime-1); color: #030303; font-weight: 700; }
.tp-feat-highlight-media img {
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(3,3,3,0.08);
}

/* ======================
   Stats strip
   ====================== */
.tp-stats-grid { align-items: stretch; }
.tp-stat {
  border: 1px solid #ececf0; border-radius: 14px; background:#fff;
  padding: 16px; height: 100%; text-align: center;
}
.tp-stat-num { font-size: 34px; font-weight: 800; color:#030303; }
.tp-stat-suffix { margin-left: 4px; font-weight:800; }
.tp-stat-label { color:#4a4a4f; margin-top: 6px; }

/* ======================
   Deliverables grid
   ====================== */
.tp-deliverables-grid { margin-top: 6px; }
.tp-deliverable {
  border: 1px solid #ececf0; border-radius: 14px; background:#fff;
  padding: 18px; height: 100%;
}
.tp-deliverable-title { font-size: 18px; font-weight: 800; margin: 0 0 6px; color:#030303; }
.tp-deliverable-text { margin: 0; color:#4a4a4f; line-height:1.65; }

/* ======================
   CTA wide
   ====================== */
.tp-cta-box { display:flex; gap: 18px; align-items: center; justify-content: space-between; border:1px solid #ececf0; background:#fff; border-radius: 16px; padding: 22px 24px; box-shadow: 0 10px 28px rgba(3,3,3,.06); }
.tp-cta-title { margin: 0 0 6px; font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; color:#030303; }
.tp-cta-text { margin: 0; color:#4a4a4f; }
.tp-cta-btn { display:inline-block; background:#C6F962; color:#030303; font-weight:700; padding:12px 16px; border-radius:12px; text-decoration:none; }
@media (max-width: 767px){ .tp-cta-box{ flex-direction: column; align-items: flex-start; } }

/* ======================
   Process balanced
   ====================== */
.tp-process-balanced { background: #fff; }
.tp-process-head .tp-section-subtitle { margin-bottom: 8px; display:inline-block; }
.tp-process-desc { color:#4a4a4f; line-height: 1.75; max-width: var(--measure); }
.tp-process-media img { border-radius: 18px; box-shadow: 0 16px 42px rgba(3,3,3,0.08); }

.tp-steps-list { display: grid; gap: 14px; }
.tp-steps-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.tp-step-card {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center;
  padding: 14px; border:1px solid #ececf0; border-radius: 14px; background:#fff; box-shadow: 0 8px 20px rgba(3,3,3,.05);
}
.tp-step-num { display:inline-grid; place-items:center; width:56px; height:56px; border-radius:14px; background:#C1ED00; color:#fff; font-weight:800; }
.tp-step-text { color:#030303; font-weight:700; line-height:1.4; }
@media (max-width: 767px){ .tp-steps-grid { grid-template-columns: 1fr; } .tp-step-card { grid-template-columns: 48px 1fr; } .tp-step-num{ width:48px;height:48px;border-radius:12px; } }

/* ======================
   Benefits balanced
   ====================== */
.tp-benefits-balanced { background:#fff; }

/* Benefits balanced: make left image full height of content */
.tp-benefits-balanced .row { align-items: stretch; }
.tp-benefits-balanced .benefits-media-col { display: flex; }
.tp-benefits-balanced .tp-benefits-illustration { height: 100%; width: 100%; }
.tp-benefits-balanced .tp-benefits-illustration img { height: 100%; object-fit: cover; }
/* Override sticky/aspect for balanced layout to allow full-height */
.tp-benefits-balanced .tp-benefits-illustration { aspect-ratio: auto; position: static; top: auto; }

/* Benefits list (no cards, no icons) */
.tp-benefits-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tp-benefits-list li { position: relative; padding-left: 28px; }
.tp-benefits-list li::before {
  content: '';
  position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 999px;
  background-color: rgba(207,255,0,0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23030303' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px 12px;
}
.tp-benefits-list { color: #030303; }
.tp-benefits-list li strong { display: block; font-weight: 800; color: #030303 !important; margin-bottom: 2px; font-size: 18px; }
.tp-benefits-list li span { display: block; color: #4a4a4f !important; line-height: 1.65; font-size: 16px; }
.tp-benefits-balanced .tp-benefits-list li { opacity: 1 !important; visibility: visible !important; }

/* ======================
   Section titles sizing (below hero)
   ====================== */
/* Reduce oversized titles under hero for corporate layout */
.tp-process-balanced .tp-career-title.fs-54,
.tp-benefits-balanced .tp-career-title.fs-54,
.tp-deliverables .tp-career-title,
.tp-related-head .tp-career-title.fs-44,
.tp-faq-title .tp-career-title.fs-60 {
  font-size: clamp(24px, 2.6vw, 40px) !important;
  line-height: 1.18;
  letter-spacing: normal;
}

/* Tighten spacing slightly */
.tp-process-balanced .tp-career-title.fs-54,
.tp-benefits-balanced .tp-career-title.fs-54,
.tp-deliverables .tp-career-title,
.tp-related-head .tp-career-title.fs-44,
.tp-faq-title .tp-career-title.fs-60 {
  margin-bottom: 10px;
}

/* ======================
   Inline styles cleanup: utilities for hero + features
   ====================== */
.pre-badge {
  display: inline-block;
  background-color: var(--lime-1);
  color: #030303;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
}
.hero-title-xl { font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: 1.1; margin: 0 0 10px; }
.hero-desc { font-size: 18px; line-height: 1.7; color: #333; margin-bottom: 22px; }
.feature-list-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.feature-item { font-size: 16px; font-weight: 500; color: #030303; }
.has-faq-bg { background-color: #F6F8EF; }

/* ======================
   Force old orange utilities to new lime
   ====================== */
.tp-section-subtitle.orange-color,
.tp-section-subtitle.orange-color.pre,
.tp-section-subtitle.pre.orange-color {
  background-color: var(--lime-1) !important;
  color: #030303 !important;
}
