/* ==========================================================================
   Eterno Landing Page Styles
   Brand-aligned, Divi-safe (cl- prefix), production-ready
   ========================================================================== */

/* Fonts loaded via functions.php (Montserrat + Inter) */

/* ==========================================================================
   1. Custom Properties
   ========================================================================== */
:root {
  /* Brand palette */
  --cl-ocker:        #BFA762;
  --cl-ocker-dark:   #a8924f;
  --cl-ocker-light:  #d4c48e;
  --cl-ocker-bg:     rgba(191, 167, 98, 0.10);
  --cl-ocker-bg-md:  rgba(191, 167, 98, 0.18);
  --cl-dark-grey:    #484848;
  --cl-warm-grey:    #9C9B92;
  --cl-white:        #FFFFFF;
  --cl-muted-bg:     #FAFAF8;
  --cl-border:       #E8E6DF;
  --cl-cta-dark:     #2D2D2D;

  /* Gradients */
  --cl-gold-gradient:       linear-gradient(135deg, var(--cl-ocker), var(--cl-ocker-dark));
  --cl-gold-gradient-hover: linear-gradient(135deg, var(--cl-ocker-dark), #96813e);
  --cl-gold-gradient-soft:  linear-gradient(135deg, var(--cl-ocker-bg), var(--cl-ocker-bg-md));

  /* Typography */
  --cl-font-heading: 'Montserrat', sans-serif;
  --cl-font-body:    'Inter', sans-serif;

  /* Spacing */
  --cl-section-py:   50px;
  --cl-gap:          32px;
  --cl-radius:       20px;
  --cl-radius-sm:    10px;
  --cl-radius-pill:  100px;

  /* Shadows */
  --cl-shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.06);
  --cl-shadow-md:   0 8px 30px rgba(0, 0, 0, 0.08);
  --cl-shadow-lg:   0 16px 48px rgba(0, 0, 0, 0.10);
  --cl-shadow-xl:   0 24px 64px rgba(0, 0, 0, 0.14);

  /* Transitions */
  --cl-ease:        cubic-bezier(.4, 0, .2, 1);
  --cl-duration:    0.35s;
}

/* ==========================================================================
   2. Base / Reset (scoped)
   ========================================================================== */
#page-container,
.et_fixed_nav #page-container,
.et_fixed_nav.et_show_nav #page-container {
  padding-top: 0 !important;
}

[class*="cl-"] {
  box-sizing: border-box;
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */
.cl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%,
      rgba(191, 167, 98, 0.18) 0%,
      rgba(212, 196, 142, 0.10) 40%,
      var(--cl-muted-bg) 100%);
  background-size: 200% 200%;
  animation: cl-hero-bg 20s ease infinite;
}

@keyframes cl-hero-bg {
  0%   { background-position: 0% 0%; }
  25%  { background-position: 100% 50%; }
  50%  { background-position: 50% 100%; }
  75%  { background-position: 0% 50%; }
  100% { background-position: 0% 0%; }
}

/* Staggered fade-in for hero children */
.cl-hero-fade {
  opacity: 0;
  transform: translateY(30px);
  animation: cl-fade-up 0.9s var(--cl-ease) forwards;
}
.cl-hero-fade:nth-child(1) { animation-delay: 0.1s; }
.cl-hero-fade:nth-child(2) { animation-delay: 0.25s; }
.cl-hero-fade:nth-child(3) { animation-delay: 0.4s; }
.cl-hero-fade:nth-child(4) { animation-delay: 0.55s; }
.cl-hero-fade:nth-child(5) { animation-delay: 0.7s; }
.cl-hero-fade:nth-child(6) { animation-delay: 0.85s; }

@keyframes cl-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typewriter effect — hide text until JS starts the animation */
.cl-typewriter {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  min-height: 180px;
  color: transparent;
}
.cl-typewriter.cl-typewriter-active {
  color: inherit;
}
@media (max-width: 980px) {
  .cl-typewriter { min-height: 144px; }
}
@media (max-width: 767px) {
  .cl-typewriter { min-height: 108px; }
}
.cl-typewriter-active::after {
  content: '|';
  color: var(--cl-ocker);
  font-weight: 400;
  animation: cl-blink-cursor 0.7s step-end infinite;
  margin-left: 2px;
}
.cl-typewriter-done::after {
  display: none;
}
@keyframes cl-blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Hero typography */
.cl-hero h1,
.cl-hero-title {
  font-family: var(--cl-font-heading) !important;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--cl-dark-grey);
  margin: 0 auto 20px;
  max-width: 800px;
  letter-spacing: -0.02em;
}

.cl-hero-sub {
  font-family: var(--cl-font-body) !important;
  font-size: 18px;
  line-height: 1.7;
  color: var(--cl-warm-grey);
  max-width: 580px;
  margin: 0 auto 36px;
}

/* CTA button group */
.cl-hero-actions {
  display: flex;
  gap: 5px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Primary CTA (gold gradient) */
.cl-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  font-family: var(--cl-font-heading) !important;
  font-size: 15px;
  font-weight: 600;
  color: var(--cl-white);
  background: var(--cl-gold-gradient);
  border: none;
  border-radius: var(--cl-radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition:
    transform var(--cl-duration) var(--cl-ease),
    box-shadow var(--cl-duration) var(--cl-ease),
    background var(--cl-duration) var(--cl-ease);
  box-shadow: 0 4px 20px rgba(191, 167, 98, 0.30);
}

.cl-btn-primary:hover {
  background: var(--cl-gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(191, 167, 98, 0.40);
  color: var(--cl-white);
  text-decoration: none;
}

/* Secondary CTA (outlined) */
.cl-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--cl-font-heading) !important;
  font-size: 15px;
  font-weight: 600;
  color: var(--cl-ocker);
  background: transparent;
  border: 2px solid var(--cl-ocker);
  border-radius: var(--cl-radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--cl-duration) var(--cl-ease),
    color var(--cl-duration) var(--cl-ease),
    transform var(--cl-duration) var(--cl-ease),
    box-shadow var(--cl-duration) var(--cl-ease);
}

.cl-btn-secondary:hover {
  background: var(--cl-ocker);
  color: var(--cl-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191, 167, 98, 0.25);
  text-decoration: none;
}

/* Trust line */
.cl-hero-trust {
  font-family: var(--cl-font-body) !important;
  font-size: 13px;
  color: var(--cl-warm-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cl-hero-trust svg,
.cl-hero-trust img {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

/* ==========================================================================
   4. Screenshot Showcase (Swiper)
   ========================================================================== */
.cl-hero-carousel {
  max-width: 1200px;
  width: 100%;
  margin: 56px auto 0;
  position: relative;
  padding: 0 24px;
}

/* Screenshot card */
.cl-screenshot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cl-white);
  box-shadow:
    0 4px 6px rgba(0,0,0,0.04),
    0 12px 28px rgba(0,0,0,0.06),
    0 32px 60px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  aspect-ratio: 16 / 10;
}

.cl-screenshot {
  cursor: pointer;
}

.cl-screenshot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
}

/* Lightbox */
.cl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--cl-ease), visibility 0.35s;
  cursor: zoom-out;
}

.cl-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.cl-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: scale(0.92);
  transition: transform 0.4s var(--cl-ease);
  object-fit: contain;
}

.cl-lightbox.is-open img {
  transform: scale(1);
}

.cl-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s;
}

.cl-lightbox-close:hover {
  background: rgba(255,255,255,0.25);
}

.cl-lightbox-close svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2;
}

/* Slide label */
.cl-slide-label {
  font-family: var(--cl-font-body) !important;
  font-size: 13px;
  font-weight: 500;
  color: var(--cl-warm-grey);
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.01em;
}

/* ---------- Swiper ---------- */
.cl-hero-carousel .swiper {
  padding-bottom: 44px;
  overflow: hidden;
}

.cl-hero-carousel .swiper-slide {
  overflow: visible;
  transition: opacity 0.5s var(--cl-ease), filter 0.5s var(--cl-ease), transform 0.5s var(--cl-ease);
}

/* Neighboring slides: faded, blurred, slightly scaled down */
.cl-hero-carousel .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.3;
  filter: blur(2px);
  transform: scale(0.95);
}

.cl-hero-carousel .swiper-slide-active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

/* Pagination */
.cl-hero-carousel .swiper-pagination {
  position: relative;
  bottom: auto;
  margin-top: 8px;
}

.cl-hero-carousel .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--cl-border);
  opacity: 1;
  transition: all var(--cl-duration) var(--cl-ease);
}

.cl-hero-carousel .swiper-pagination-bullet-active {
  background: var(--cl-ocker);
  width: 24px;
  border-radius: 4px;
}

/* Hide nav arrows */
.cl-hero-carousel .swiper-button-next,
.cl-hero-carousel .swiper-button-prev {
  display: none;
}

/* ---------- Browser Topbar (feature detail sections) ---------- */
.cl-browser-frame {
  background: var(--cl-white);
  border-radius: var(--cl-radius);
  box-shadow: var(--cl-shadow-xl);
  overflow: hidden;
  border: 1px solid var(--cl-border);
}

.cl-browser-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #FAFAFA;
  border-bottom: 1px solid var(--cl-border);
}

.cl-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.cl-browser-dot:nth-child(1) { background: #FF5F57; }
.cl-browser-dot:nth-child(2) { background: #FFBD2E; }
.cl-browser-dot:nth-child(3) { background: #28C840; }

.cl-browser-url {
  flex: 1;
  height: 26px;
  background: var(--cl-white);
  border: 1px solid var(--cl-border);
  border-radius: 6px;
  margin-left: 10px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 12px;
  color: var(--cl-warm-grey);
}

.cl-browser-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   5. Social Proof (Stats + Testimonials + Logos – vertical stack)
   ========================================================================== */
.cl-social-proof {
  max-width: min(95%, 1140px);
  margin: 0 auto;
  padding: 64px 24px 56px;
  background: transparent;
  text-align: center;
}

.cl-social-proof-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 0;
}

.cl-key-figure {
  text-align: center;
  padding: 0 36px;
  border-right: 1px solid var(--cl-border);
}

.cl-key-figure:first-child {
  padding-left: 0;
}

.cl-key-figure:last-child {
  border-right: none;
  padding-right: 0;
}

.cl-key-figure-number {
  font-family: var(--cl-font-heading) !important;
  font-size: 32px;
  font-weight: 600;
  color: var(--cl-ocker);
  line-height: 1;
  margin-bottom: 6px;
}

.cl-key-figure-label {
  font-family: var(--cl-font-body) !important;
  font-size: 12px;
  color: var(--cl-warm-grey);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Logo Marquee (infinite scroll) */
.cl-logo-marquee {
  text-align: center;
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cl-social-proof-logos-label {
  font-family: var(--cl-font-body) !important;
  font-size: 13px;
  color: var(--cl-warm-grey);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 20px;
  text-align: center;
}

.cl-logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: cl-marquee 25s linear infinite;
}

.cl-logo-marquee-track--reverse {
  animation: cl-marquee-reverse 28s linear infinite;
}

.cl-logo-marquee:hover .cl-logo-marquee-track {
  animation-play-state: paused;
}

@keyframes cl-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes cl-marquee-reverse {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.cl-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  flex-shrink: 0;
  background: var(--cl-white);
  border-radius: 12px;
  margin: 0 6px;
  min-width: 140px;
  min-height: 56px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.cl-logo-cell img {
  max-height: 32px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: all var(--cl-duration) var(--cl-ease);
  object-fit: contain;
}

.cl-logo-cell:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* ==========================================================================
   7. Section Headings
   ========================================================================== */
.cl-section {
  padding: var(--cl-section-py) 24px;
}

.cl-section--muted {
  background: var(--cl-muted-bg);
}

.cl-section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: min(95%, 700px);
  margin-left: auto;
  margin-right: auto;
}

.cl-badge {
  display: inline-block;
  font-family: var(--cl-font-heading) !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cl-ocker);
  background: var(--cl-ocker-bg);
  padding: 6px 18px;
  border-radius: var(--cl-radius-pill);
  margin-bottom: 18px;
}

.cl-section-heading {
  font-family: var(--cl-font-heading) !important;
  font-size: 38px;
  font-weight: 600;
  color: var(--cl-dark-grey);
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.cl-section-sub {
  font-family: var(--cl-font-body) !important;
  font-size: 17px;
  line-height: 1.7;
  color: var(--cl-warm-grey);
  max-width: 560px;
  margin: 0 auto;
}

/* ==========================================================================
   8. Feature Cards
   ========================================================================== */
.cl-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: min(95%, 1100px);
  margin: 0 auto;
}

.cl-feature-card {
  position: relative;
  background: var(--cl-white);
  border-radius: var(--cl-radius);
  padding: 36px 28px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition:
    transform var(--cl-duration) var(--cl-ease),
    box-shadow var(--cl-duration) var(--cl-ease);
  display: flex;
  flex-direction: column;
}

/* Gold top-bar on hover */
.cl-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cl-gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--cl-ease);
}

.cl-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.cl-feature-card:hover::before {
  transform: scaleX(1);
}

.cl-feature-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(191,167,98,0.12), rgba(191,167,98,0.04));
  color: var(--cl-ocker);
  margin-bottom: 22px;
  transition: background 0.4s var(--cl-ease), transform 0.4s var(--cl-ease);
}

.cl-feature-card:hover .cl-feature-card-icon {
  background: var(--cl-gold-gradient);
  transform: scale(1.05);
}

.cl-feature-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: none;
}

.cl-feature-card:hover .cl-feature-card-icon img {
  filter: brightness(0) invert(1);
}

.cl-feature-card h3,
.cl-feature-card-title {
  font-family: var(--cl-font-heading) !important;
  font-size: 18px;
  font-weight: 600;
  color: var(--cl-dark-grey);
  margin: 0 0 10px;
}

.cl-feature-card p,
.cl-feature-card-text {
  font-family: var(--cl-font-body) !important;
  font-size: 15px;
  line-height: 1.65;
  color: var(--cl-warm-grey);
  margin: 0;
  flex: 1;
}

.cl-feature-card-link {
  font-family: var(--cl-font-body) !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--cl-ocker);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  transition: gap var(--cl-duration) var(--cl-ease);
}

.cl-feature-card-link:hover {
  gap: 10px;
}

.cl-feature-card:hover .cl-feature-card-link span {
  transform: translateX(4px);
}

.cl-feature-card-link span {
  transition: transform var(--cl-duration) var(--cl-ease);
}

/* ==========================================================================
   9. Feature Detail (alternating layout)
   ========================================================================== */
.cl-feature-detail {
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: min(95%, 1100px);
  margin: 0 auto;
  padding: 60px 0;
}

.cl-feature-detail--reverse {
  flex-direction: row-reverse;
}

.cl-feature-detail-content {
  flex: 1;
  min-width: 0;
}

.cl-feature-detail-media {
  flex: 1;
  min-width: 0;
}

/* Browser-frame mockup for feature screenshots */
.cl-feature-mockup {
  background: var(--cl-white);
  border-radius: var(--cl-radius);
  box-shadow: var(--cl-shadow-lg);
  overflow: hidden;
  border: 1px solid var(--cl-border);
}

.cl-feature-mockup .cl-browser-topbar {
  padding: 8px 14px;
}

.cl-feature-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

.cl-feature-detail h3 {
  font-family: var(--cl-font-heading) !important;
  font-size: 28px;
  font-weight: 600;
  color: var(--cl-dark-grey);
  margin: 0 0 14px;
  line-height: 1.25;
}

.cl-feature-detail p {
  font-family: var(--cl-font-body) !important;
  font-size: 16px;
  line-height: 1.7;
  color: var(--cl-warm-grey);
  margin: 0 0 24px;
}

/* Checkmark list */
.cl-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.cl-feature-list li {
  position: relative;
  padding-left: 30px;
  font-family: var(--cl-font-body) !important;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cl-dark-grey);
  margin-bottom: 12px;
}

.cl-feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--cl-ocker);
  font-weight: 600;
  font-size: 16px;
}

/* Link-style CTA */
.cl-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--cl-font-heading) !important;
  font-size: 15px;
  font-weight: 600;
  color: var(--cl-ocker);
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: gap var(--cl-duration) var(--cl-ease), color var(--cl-duration) var(--cl-ease);
}

.cl-btn-link:hover {
  color: var(--cl-ocker-dark);
  gap: 10px;
}

.cl-btn-link::after {
  content: '\2192';
  transition: transform var(--cl-duration) var(--cl-ease);
}

.cl-btn-link:hover::after {
  transform: translateX(3px);
}

/* ==========================================================================
   10. Benefits Grid
   ========================================================================== */
.cl-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cl-gap);
  max-width: min(95%, 1100px);
  margin: 0 auto;
}

.cl-benefit-card {
  position: relative;
  background: var(--cl-white);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  padding: 36px 28px;
  overflow: hidden;
  transition:
    transform var(--cl-duration) var(--cl-ease),
    box-shadow var(--cl-duration) var(--cl-ease);
}

.cl-benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cl-gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--cl-duration) var(--cl-ease);
}

.cl-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cl-shadow-md);
}

.cl-benefit-card:hover::before {
  transform: scaleX(1);
}

.cl-benefit-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--cl-gold-gradient-soft);
  color: var(--cl-ocker);
  font-size: 20px;
  margin-bottom: 16px;
}

.cl-benefit-card h4,
.cl-benefit-card-title {
  font-family: var(--cl-font-heading) !important;
  font-size: 16px;
  font-weight: 600;
  color: var(--cl-dark-grey);
  margin: 0 0 8px;
}

.cl-benefit-card p,
.cl-benefit-card-text {
  font-family: var(--cl-font-body) !important;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cl-warm-grey);
  margin: 0;
}

/* ==========================================================================
   11. Testimonials
   ========================================================================== */
.cl-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cl-gap);
  max-width: min(95%, 1100px);
  margin: 0 auto;
}

.cl-testimonial {
  background: var(--cl-white);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--cl-duration) var(--cl-ease),
    box-shadow var(--cl-duration) var(--cl-ease);
}

.cl-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--cl-shadow-md);
}

.cl-testimonial-quote {
  position: relative;
  font-family: var(--cl-font-body) !important;
  font-size: 15px;
  line-height: 1.7;
  color: var(--cl-dark-grey);
  margin: 0 0 24px;
  padding-top: 28px;
}

.cl-testimonial-quote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 0;
  font-family: var(--cl-font-heading) !important;
  font-size: 52px;
  font-weight: 600;
  color: var(--cl-ocker-light);
  line-height: 1;
}

.cl-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.cl-testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--cl-white);
  border: 1px solid var(--cl-border);
  padding: 4px;
  flex-shrink: 0;
}

.cl-testimonial-name {
  font-family: var(--cl-font-heading) !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--cl-dark-grey);
  margin: 0;
  line-height: 1.2;
}

.cl-testimonial-sep {
  color: var(--cl-ocker-light);
  margin: 0 2px;
}

.cl-testimonial-role {
  font-family: var(--cl-font-body) !important;
  font-size: 13px;
  font-weight: 400;
  color: var(--cl-warm-grey);
}

/* Star rating */
.cl-testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: var(--cl-ocker);
  font-size: 14px;
}

/* ==========================================================================
   12. Certifications
   ========================================================================== */
.cl-cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--cl-gap);
  max-width: min(95%, 1100px);
  margin: 0 auto;
}

.cl-cert-card {
  text-align: center;
  background: var(--cl-white);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  padding: 32px 20px;
  transition:
    transform var(--cl-duration) var(--cl-ease),
    box-shadow var(--cl-duration) var(--cl-ease);
}

.cl-cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cl-shadow-sm);
}

.cl-cert-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cl-gold-gradient-soft);
  color: var(--cl-ocker);
  font-size: 26px;
  margin-bottom: 18px;
}

.cl-cert-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 18px;
}

.cl-cert-card h4,
.cl-cert-card-title {
  font-family: var(--cl-font-heading) !important;
  font-size: 15px;
  font-weight: 600;
  color: var(--cl-dark-grey);
  margin: 0 0 8px;
}

.cl-cert-card p,
.cl-cert-card-text {
  font-family: var(--cl-font-body) !important;
  font-size: 13px;
  line-height: 1.55;
  color: var(--cl-warm-grey);
  margin: 0;
}

/* ==========================================================================
   13. FAQ Accordion
   ========================================================================== */
/* FAQ Section layout */
/* Two-column layout */
.cl-faq-section {
  max-width: min(95%, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

/* Left column – sticky header */
.cl-faq-header {
  text-align: left;
  position: sticky;
  top: 100px;
}

.cl-faq-label {
  font-family: var(--cl-font-body) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cl-ocker) !important;
  margin-bottom: 16px !important;
}

.cl-faq-header .cl-section-heading {
  text-align: left !important;
  font-size: 36px !important;
  line-height: 1.2 !important;
  margin-bottom: 16px !important;
}

.cl-faq-header .cl-section-sub {
  text-align: left !important;
  max-width: 380px;
}

/* Right column – accordion list */
.cl-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cl-faq {
  background: none;
  border-radius: 0;
  box-shadow: none;
  border: none;
  border-bottom: 1px solid var(--cl-border);
  overflow: hidden;
  transition: none;
}

.cl-faq:first-child {
  border-top: 1px solid var(--cl-border);
}

.cl-faq:hover {
  box-shadow: none;
  border-color: var(--cl-border);
}

.cl-faq.is-open {
  box-shadow: none;
  border-color: var(--cl-border);
}

.cl-faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 24px 0;
  font-family: var(--cl-font-heading) !important;
  font-size: 17px;
  font-weight: 600;
  color: var(--cl-dark-grey);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s var(--cl-ease);
}

.cl-faq-question:hover {
  color: var(--cl-ocker);
}

.cl-faq.is-open .cl-faq-question {
  color: var(--cl-dark-grey);
}

/* Hide number badge */
.cl-faq-num {
  display: none;
}

.cl-faq-text {
  flex: 1;
  min-width: 0;
}

/* Icon – clean plus */
.cl-faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: none;
  display: grid;
  place-items: center;
  color: var(--cl-dark-grey);
  transition: transform 0.4s var(--cl-ease);
}

.cl-faq-icon svg {
  width: 22px;
  height: 22px;
  transition: transform 0.4s var(--cl-ease);
}

.cl-faq.is-open .cl-faq-icon {
  background: none;
}

.cl-faq.is-open .cl-faq-icon svg {
  transform: rotate(45deg);
}

/* Answer panel */
.cl-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--cl-ease), padding 0.45s var(--cl-ease);
  padding: 0 0 0 0;
}

.cl-faq.is-open .cl-faq-answer {
  max-height: 500px;
  padding: 0 40px 28px 0;
}

.cl-faq-answer p {
  font-family: var(--cl-font-body) !important;
  font-size: 15px;
  line-height: 1.75;
  color: var(--cl-warm-grey);
  margin: 0;
}

/* ==========================================================================
   14. Leistungsübersicht (3 Pillars)
   ========================================================================== */
.cl-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: min(95%, 1100px);
  margin: 0 auto;
}

.cl-pillar {
  position: relative;
  background: var(--cl-white);
  border-radius: var(--cl-radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform var(--cl-duration) var(--cl-ease), box-shadow var(--cl-duration) var(--cl-ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cl-pillar:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.10), 0 8px 20px rgba(191,167,98,0.08);
}

/* Illustrated header area */
.cl-pillar-visual {
  position: relative;
  padding: 20px 16px 12px;
  background: linear-gradient(135deg, #f0ede5, #e8e4d9, #f0ede5);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.cl-pillar-visual svg {
  width: 100%;
  height: auto;
  display: block;
}


/* Decorative number below illustration */
.cl-pillar-number {
  font-family: var(--cl-font-heading) !important;
  font-size: 48px;
  font-weight: 600;
  color: rgba(191,167,98,0.25);
  line-height: 1;
  padding: 20px 28px 0;
}

/* Card body */
.cl-pillar h3 {
  font-family: var(--cl-font-heading) !important;
  font-size: 20px;
  font-weight: 600;
  color: var(--cl-dark-grey);
  margin: 0 0 10px;
  padding: 24px 28px 0;
}

.cl-pillar p {
  font-family: var(--cl-font-body) !important;
  font-size: 15px;
  line-height: 1.65;
  color: var(--cl-warm-grey);
  margin: 0;
  padding: 0 28px;
  flex: 1;
}

.cl-pillar-link {
  font-family: var(--cl-font-body) !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--cl-ocker);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 20px 28px 28px;
  transition: gap var(--cl-duration) var(--cl-ease), color var(--cl-duration) var(--cl-ease);
}

.cl-pillar-link:hover {
  gap: 10px;
  color: var(--cl-ocker-dark);
}

.cl-pillar-link span {
  transition: transform var(--cl-duration) var(--cl-ease);
}

.cl-pillar:hover .cl-pillar-link span {
  transform: translateX(4px);
}

/* ==========================================================================
   15. Beratung Section – Horizontal Timeline (Full Width, Premium)
   ========================================================================== */

/* Full-width wrapper */
.cl-timeline-wrap {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0 4%;
  position: relative;
}

/* Horizontal track */
.cl-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Horizontal baseline */
.cl-timeline-line {
  position: absolute;
  top: 32px;
  left: calc(12.5% - 2px);
  right: calc(12.5% - 2px);
  height: 2px;
  background: var(--cl-border);
  z-index: 0;
}

/* Gold fill animates on scroll */
.cl-timeline-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cl-gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cl-timeline.is-visible .cl-timeline-line-fill {
  transform: scaleX(1);
}

/* Each item: dot → card */
.cl-timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.cl-timeline-item:nth-child(2) { transition-delay: 0.15s; }
.cl-timeline-item:nth-child(3) { transition-delay: 0.3s; }
.cl-timeline-item:nth-child(4) { transition-delay: 0.45s; }

.cl-timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dot – perfectly centered on line */
.cl-timeline-dot {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cl-white);
  border: 3px solid var(--cl-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cl-font-heading) !important;
  font-size: 22px;
  font-weight: 600;
  color: var(--cl-ocker);
  margin-bottom: 28px;
  transition: all 0.5s var(--cl-ease);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

/* Outer ring pulse */
.cl-timeline-dot::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 0.5s var(--cl-ease), transform 0.5s var(--cl-ease);
}

.cl-timeline-item.is-visible .cl-timeline-dot {
  background: var(--cl-gold-gradient);
  color: #fff;
  border-color: var(--cl-ocker);
  box-shadow: 0 6px 24px rgba(191,167,98,0.25);
  animation: cl-dot-pop 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cl-timeline-item.is-visible .cl-timeline-dot::before {
  border-color: rgba(191,167,98,0.15);
  animation: cl-ring-pulse 2s ease-in-out infinite 0.7s;
}

@keyframes cl-dot-pop {
  0%   { transform: scale(0.6); }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes cl-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0; }
}

/* Hover: even when already active */
.cl-timeline-item:hover .cl-timeline-dot {
  background: var(--cl-gold-gradient);
  color: #fff;
  border-color: var(--cl-ocker);
  box-shadow: 0 8px 32px rgba(191,167,98,0.35);
  transform: scale(1.12);
}

/* Card */
.cl-timeline-card {
  background: var(--cl-white);
  border-radius: var(--cl-radius);
  padding: 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: transform 0.5s var(--cl-ease), box-shadow 0.5s var(--cl-ease), border-color 0.5s var(--cl-ease);
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--cl-border);
}

/* Image placeholder */
.cl-timeline-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #f0ede5 0%, #e8e4d9 50%, #f0ede5 100%);
}

.cl-timeline-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--cl-ease);
}

.cl-timeline-item:hover .cl-timeline-img img {
  transform: scale(1.08);
}

/* Gradient overlay on image */
.cl-timeline-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26,26,26,0.04) 100%);
  pointer-events: none;
  transition: opacity 0.5s;
}

/* Icon overlay on image */
.cl-timeline-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background 0.4s, transform 0.4s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cl-timeline-icon svg {
  width: 20px;
  height: 20px;
  color: var(--cl-ocker);
  transition: color 0.4s;
}

.cl-timeline-item:hover .cl-timeline-icon {
  background: var(--cl-gold-gradient);
  transform: scale(1.08);
}

.cl-timeline-item:hover .cl-timeline-icon svg {
  color: #fff;
}

/* Card body */
.cl-timeline-body {
  padding: 24px 24px 28px;
}

.cl-timeline-label {
  font-family: var(--cl-font-body) !important;
  font-size: 11px;
  font-weight: 600;
  color: var(--cl-ocker);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.cl-timeline-card h3 {
  font-family: var(--cl-font-heading) !important;
  font-size: 19px;
  font-weight: 600;
  color: var(--cl-dark-grey);
  margin: 0 0 10px;
  transition: color 0.4s;
}

.cl-timeline-item:hover .cl-timeline-card h3 {
  color: var(--cl-ocker);
}

.cl-timeline-card p {
  font-family: var(--cl-font-body) !important;
  font-size: 14px;
  line-height: 1.7;
  color: var(--cl-warm-grey);
  margin: 0;
}

/* Hover: card lifts + gold border glow */
.cl-timeline-item:hover .cl-timeline-card {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.08), 0 6px 20px rgba(191,167,98,0.08);
  border-color: rgba(191,167,98,0.25);
}

/* Gold bar at bottom of card – reveals on hover */
.cl-timeline-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cl-gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--cl-ease);
}

.cl-timeline-item:hover .cl-timeline-card::after {
  transform: scaleX(1);
}

/* CTA buttons */
.cl-consult-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 52px;
}

/* -- Responsive -- */
@media (max-width: 980px) {
  .cl-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-top: 0;
  }

  .cl-timeline-line { display: none; }

  .cl-timeline-dot {
    width: 48px;
    height: 48px;
    font-size: 18px;
    margin-bottom: 20px;
  }

  .cl-timeline-dot::before { display: none; }
}

@media (max-width: 767px) {
  .cl-timeline {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 420px;
    margin: 0 auto;
  }

  .cl-timeline-wrap {
    padding: 0 5%;
  }

  .cl-timeline-dot {
    width: 42px;
    height: 42px;
    font-size: 16px;
    margin-bottom: 16px;
  }
}

/* ==========================================================================
   15b. Standort Section – Image background with text overlay
   ========================================================================== */
.cl-standort {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background image */
.cl-standort-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cl-standort-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  display: block;
  will-change: transform;
}

/* Dark overlay */
.cl-standort::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.82) 0%, rgba(26,26,26,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Content */
.cl-standort-content {
  position: relative;
  z-index: 2;
  width: min(92%, 1100px);
  margin: 0 auto;
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cl-standort-text {
  color: #fff;
}

.cl-standort-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cl-font-body) !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cl-ocker-light);
  margin-bottom: 20px;
}

.cl-standort-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--cl-ocker);
}

.cl-standort-text h2 {
  font-family: var(--cl-font-heading) !important;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 16px;
}

.cl-standort-text h2 em {
  font-style: normal;
  color: var(--cl-ocker-light);
}

.cl-standort-text p {
  font-family: var(--cl-font-body) !important;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin: 0;
  max-width: 460px;
}

/* Stats on the right */
.cl-standort-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cl-standort-stat {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: background 0.4s var(--cl-ease), transform 0.4s var(--cl-ease);
}

.cl-standort-stat:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.cl-standort-stat-num {
  font-family: var(--cl-font-heading) !important;
  font-size: 32px;
  font-weight: 600;
  color: var(--cl-ocker-light);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.cl-standort-stat-label {
  font-family: var(--cl-font-body) !important;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 980px) {
  .cl-standort-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .cl-standort-text p { margin: 0 auto; }
  .cl-standort-label { justify-content: center; }
}

@media (max-width: 767px) {
  .cl-standort { min-height: auto; }
  .cl-standort-content { padding: 56px 0; }
  .cl-standort-stats { gap: 12px; }
  .cl-standort-stat { padding: 20px 16px; }
  .cl-standort-stat-num { font-size: 26px; }
}

/* ==========================================================================
   16. Video Section
   ========================================================================== */
/* Video grid */
.cl-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: min(95%, 1100px);
  margin: 0 auto;
}

.cl-video-wrap {
  background: var(--cl-white);
  border-radius: var(--cl-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform var(--cl-duration) var(--cl-ease), box-shadow var(--cl-duration) var(--cl-ease);
}

.cl-video-wrap:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.10), 0 8px 20px rgba(191,167,98,0.06);
}

.cl-video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--cl-dark-grey);
  overflow: hidden;
}

.cl-video-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cl-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--cl-ease);
}

.cl-video-wrap:hover .cl-video-card img {
  transform: scale(1.03);
}

.cl-video-play {
  position: absolute;
  bottom: 12px;
  right: 12px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  z-index: 2;
  transition: transform 0.3s var(--cl-ease), filter 0.3s var(--cl-ease);
}

.cl-video-play:hover {
  transform: scale(1.12);
}

.cl-video-play svg circle {
  transition: fill 0.3s var(--cl-ease);
}

.cl-video-play:hover svg circle {
  fill: #fff;
}

.cl-video-play svg path {
  transition: fill 0.3s var(--cl-ease);
}

.cl-video-play:hover svg path {
  fill: var(--cl-ocker);
}

.cl-video-meta {
  padding: 20px 24px;
}

.cl-video-meta h3 {
  font-family: var(--cl-font-heading) !important;
  font-size: 17px;
  font-weight: 600;
  color: var(--cl-dark-grey);
  margin: 0 0 4px;
}

.cl-video-meta p {
  font-family: var(--cl-font-body) !important;
  font-size: 14px;
  line-height: 1.5;
  color: var(--cl-warm-grey);
  margin: 0;
}

.cl-video-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
}

/* ==========================================================================
   17. Team Section
   ========================================================================== */

/* Outer wrapper card */
.cl-team-wrapper {
  max-width: min(95%, 1100px);
  margin: 0 auto;
  background: var(--cl-muted-bg);
  border-radius: 24px;
  padding: 48px;
}

/* 2-column layout: intro left, cards right */
.cl-team-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
}

.cl-team-intro {
  position: sticky;
  top: 120px;
}

.cl-team-intro .cl-section-heading {
  font-size: 28px !important;
  line-height: 1.2 !important;
  margin-bottom: 16px !important;
}

.cl-team-intro .cl-section-heading em {
  font-style: italic;
  color: var(--cl-ocker);
}

.cl-team-intro-text {
  font-family: var(--cl-font-body) !important;
  font-size: 15px;
  line-height: 1.7;
  color: var(--cl-warm-grey);
  margin: 0 0 24px;
}

/* Cards grid */
.cl-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cl-team-card {
  background: var(--cl-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.45s var(--cl-ease), box-shadow 0.45s var(--cl-ease);
  display: flex;
  flex-direction: column;
}

.cl-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.cl-team-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  margin: 10px 10px 0;
  border-radius: 12px;
}

.cl-team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s var(--cl-ease), transform 0.6s var(--cl-ease);
}

.cl-team-img-fun {
  opacity: 0;
}

.cl-team-card:hover .cl-team-img-serious {
  opacity: 0;
  transform: scale(1.04);
}

.cl-team-card:hover .cl-team-img-fun {
  opacity: 1;
  transform: scale(1.04);
}

.cl-team-info {
  padding: 16px 16px 20px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cl-team-name {
  font-family: var(--cl-font-heading) !important;
  font-size: 15px;
  font-weight: 600;
  color: var(--cl-dark-grey);
  margin: 0 0 2px;
  letter-spacing: -0.01em;
}

.cl-team-role {
  font-family: var(--cl-font-body) !important;
  font-size: 12px;
  color: var(--cl-ocker);
  font-weight: 600;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cl-team-desc {
  font-family: var(--cl-font-body) !important;
  font-size: 13px;
  line-height: 1.6;
  color: var(--cl-warm-grey);
  margin: 0 0 16px;
}

/* Audio player */
.cl-team-audio {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 8px 14px;
  background: var(--cl-muted-bg);
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.3s var(--cl-ease);
}

.cl-team-audio:hover {
  background: var(--cl-ocker-bg);
}

.cl-team-audio-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cl-gold-gradient);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--cl-ease), box-shadow 0.3s var(--cl-ease);
  padding: 0;
}

.cl-team-audio-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(191,167,98,0.3);
}

.cl-team-audio-btn svg {
  width: 14px;
  height: 14px;
  fill: #fff;
  margin-left: 2px;
}

.cl-team-audio-btn.is-playing svg {
  margin-left: 0;
}

.cl-team-audio-wave {
  flex: 1;
  min-width: 0;
  position: relative;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 0.7px;
}

.cl-team-audio-wave span {
  flex: 1 1 0;
  min-width: 1px;
  display: block;
  border-radius: 2px;
  background: var(--cl-ocker-light);
  transition: background 0.2s;
}

.cl-team-audio-wave span.is-active {
  background: var(--cl-ocker);
}

.cl-team-audio-time {
  font-family: var(--cl-font-body) !important;
  font-size: 12px;
  font-weight: 500;
  color: var(--cl-warm-grey);
  flex-shrink: 0;
  min-width: 32px;
  text-align: right;
}

@media (max-width: 980px) {
  .cl-team-wrapper {
    padding: 32px 24px;
  }

  .cl-team-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cl-team-intro {
    position: static;
    text-align: center;
  }

  .cl-team-intro .cl-section-heading {
    text-align: center !important;
  }

  .cl-team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .cl-team-wrapper {
    padding: 28px 16px;
    border-radius: 20px;
  }

  .cl-team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
    gap: 16px;
  }
}

/* ==========================================================================
   18. Contact Form (CF7)
   ========================================================================== */

/* 2-column layout: sidebar + form */
.cl-contact-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  max-width: min(95%, 1100px);
  margin: 0 auto;
  align-items: start;
}

/* Sidebar */
.cl-contact-sidebar {
  text-align: center;
}

.cl-contact-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid var(--cl-white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.cl-contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cl-contact-person-name {
  font-family: var(--cl-font-heading) !important;
  font-size: 18px;
  font-weight: 600;
  color: var(--cl-dark-grey);
  margin: 0 0 2px;
}

.cl-contact-person-role {
  font-family: var(--cl-font-body) !important;
  font-size: 13px;
  font-weight: 600;
  color: var(--cl-ocker);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 14px;
}

.cl-contact-person-text {
  font-family: var(--cl-font-body) !important;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cl-warm-grey);
  margin: 0 0 20px;
}

.cl-contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cl-contact-details br {
  display: none;
}

.cl-contact-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cl-font-body) !important;
  font-size: 13px;
  color: var(--cl-dark-grey);
  text-decoration: none;
  transition: color 0.3s var(--cl-ease);
  justify-content: center;
}

.cl-contact-detail:hover {
  color: var(--cl-ocker);
}

.cl-contact-detail svg {
  flex-shrink: 0;
  color: var(--cl-ocker);
}

/* Form side */
.cl-contact-form-side {
  background: var(--cl-white);
  border-radius: var(--cl-radius);
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.cl-contact-form-sub {
  font-family: var(--cl-font-body) !important;
  font-size: 14px;
  color: var(--cl-warm-grey);
  margin: 0 0 24px;
  line-height: 1.5;
}

.cl-cf7-wrap {
  margin-top: 0;
}

/* Grid layout */
.cl-cf7-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cl-cf7-full {
  grid-column: 1 / -1;
}

/* Labels */
.cl-cf7 label {
  display: block;
  font-family: var(--cl-font-body) !important;
  font-size: 12px;
  font-weight: 600;
  color: var(--cl-dark-grey);
  margin-bottom: 4px;
}

/* Inputs & textarea */
.cl-cf7 input[type="text"],
.cl-cf7 input[type="email"],
.cl-cf7 input[type="tel"],
.cl-cf7 textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--cl-font-body) !important;
  font-size: 14px;
  color: var(--cl-dark-grey);
  background: var(--cl-muted-bg);
  border: 1px solid transparent;
  border-radius: var(--cl-radius-sm);
  transition: border-color var(--cl-duration) var(--cl-ease), box-shadow var(--cl-duration) var(--cl-ease);
  outline: none;
  box-sizing: border-box;
}

.cl-cf7 input[type="text"]:focus,
.cl-cf7 input[type="email"]:focus,
.cl-cf7 input[type="tel"]:focus,
.cl-cf7 textarea:focus {
  border-color: var(--cl-ocker);
  box-shadow: 0 0 0 3px var(--cl-ocker-bg);
  background: var(--cl-white);
}

.cl-cf7 textarea {
  min-height: 100px;
  resize: vertical;
}

/* Acceptance / consent */
.cl-cf7-consent {
  font-family: var(--cl-font-body) !important;
  font-size: 12px;
  color: var(--cl-warm-grey);
  line-height: 1.5;
}

.cl-cf7-consent .wpcf7-list-item {
  margin: 0;
}

.cl-cf7-consent input[type="checkbox"] {
  accent-color: var(--cl-ocker);
  margin-right: 6px;
  vertical-align: middle;
}

.cl-cf7-consent a {
  color: var(--cl-ocker);
  text-decoration: underline;
}

/* Submit button */
.cl-cf7-actions {
  margin-top: 2px;
}

.cl-cf7 input[type="submit"],
.cl-cf7 .wpcf7-submit {
  display: inline-block;
  padding: 12px 32px;
  font-family: var(--cl-font-heading) !important;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--cl-gold-gradient);
  border: none;
  border-radius: var(--cl-radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(191,167,98,0.25);
  transition: transform 0.35s var(--cl-ease), box-shadow 0.35s var(--cl-ease);
}

.cl-cf7 input[type="submit"]:hover,
.cl-cf7 .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(191,167,98,0.35);
}

/* Validation messages */
.cl-cf7 .wpcf7-not-valid-tip {
  font-family: var(--cl-font-body) !important;
  font-size: 11px;
  color: #d94f4f;
  margin-top: 3px;
}

.cl-cf7 .wpcf7-response-output {
  font-family: var(--cl-font-body) !important;
  font-size: 13px;
  border-radius: var(--cl-radius-sm) !important;
  padding: 12px 16px !important;
  margin: 14px 0 0 !important;
  border: 1px solid var(--cl-ocker) !important;
  background: var(--cl-ocker-bg);
  color: var(--cl-dark-grey);
}

.cl-cf7 .wpcf7-spinner {
  margin-left: 12px;
}

.cl-cf7 .wpcf7-form-control-wrap {
  display: block;
}

.cl-cf7 br {
  display: none;
}

.cl-cf7 p {
  margin: 0;
}

@media (max-width: 980px) {
  .cl-contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cl-contact-form-side {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .cl-cf7-grid {
    grid-template-columns: 1fr;
  }

  .cl-contact-form-side {
    padding: 20px;
  }
}

/* ==========================================================================
   18. CTA Banner
   ========================================================================== */
.cl-cta-banner {
  position: relative;
  background: var(--cl-cta-dark);
  padding: 80px 24px;
  text-align: center;
  overflow: hidden;
  border-radius: var(--cl-radius);
  max-width: min(95%, 1100px);
  margin: 0 auto;
}

/* Subtle gradient overlay */
.cl-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 30% 20%,
      rgba(191, 167, 98, 0.12) 0%,
      transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 80%,
      rgba(191, 167, 98, 0.08) 0%,
      transparent 70%);
  pointer-events: none;
}

.cl-cta-banner > * {
  position: relative;
  z-index: 1;
}

.cl-cta-banner h2 {
  font-family: var(--cl-font-heading) !important;
  font-size: 34px;
  font-weight: 600;
  color: var(--cl-white);
  margin: 0 0 14px;
  line-height: 1.2;
}

.cl-cta-banner p {
  font-family: var(--cl-font-body) !important;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* Full-width variant (no border-radius, not constrained) */
.cl-cta-banner--full {
  max-width: none;
  border-radius: 0;
}

/* ==========================================================================
   15. Contact Section (Divi-compatible)
   ========================================================================== */
.cl-contact-section {
  padding: var(--cl-section-py) 24px;
}

/* Minimal styling to complement Divi forms */
.cl-contact-section .et_pb_contact_form .et_pb_contact_field {
  margin-bottom: 20px;
}

/* ==========================================================================
   16. Scroll Reveal
   ========================================================================== */
.cl-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--cl-ease),
    transform 0.7s var(--cl-ease);
  will-change: opacity, transform;
}

.cl-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay variants */
.cl-reveal-d1 { transition-delay: 0.1s; }
.cl-reveal-d2 { transition-delay: 0.2s; }
.cl-reveal-d3 { transition-delay: 0.3s; }
.cl-reveal-d4 { transition-delay: 0.4s; }

/* ==========================================================================
   17. Utility Classes
   ========================================================================== */
.cl-container {
  max-width: min(95%, 1100px);
  margin: 0 auto;
  padding: 0 24px;
}

.cl-text-center { text-align: center; }
.cl-mx-auto { margin-left: auto; margin-right: auto; }

/* Divider */
.cl-divider {
  border: none;
  height: 1px;
  background: var(--cl-border);
  margin: 60px auto;
  max-width: min(95%, 1100px);
}

/* ==========================================================================
   18. Responsive — Tablet (max-width: 980px)
   ========================================================================== */
@media (max-width: 980px) {
  :root {
    --cl-section-py: 72px;
    --cl-gap: 24px;
  }

  .cl-hero h1,
  .cl-hero-title {
    font-size: 40px;
  }

  .cl-hero-sub {
    font-size: 17px;
  }

  .cl-section-heading {
    font-size: 32px;
  }

  .cl-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cl-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cl-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cl-cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cl-feature-detail {
    gap: 40px;
  }

  .cl-hero-carousel {
    max-width: 95%;
  }

  .cl-key-figure {
    padding: 0 20px;
  }

  .cl-key-figure-number {
    font-size: 26px;
  }

  .cl-logo-cell {
    padding: 14px 28px;
  }

  .cl-logo-cell img {
    max-height: 30px;
  }

  .cl-pillars {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cl-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cl-cta-banner h2 {
    font-size: 28px;
  }

  .cl-feature-detail h3 {
    font-size: 24px;
  }
}

/* ==========================================================================
   19. Responsive — Mobile (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
  :root {
    --cl-section-py: 40px;
    --cl-gap: 20px;
  }

  .cl-hero {
    min-height: auto;
    padding: 100px 20px 56px;
  }

  .cl-hero h1,
  .cl-hero-title {
    font-size: 30px;
  }

  .cl-hero-sub {
    font-size: 16px;
  }

  .cl-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .cl-btn-primary,
  .cl-btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .cl-section-heading {
    font-size: 26px;
  }

  .cl-section-sub {
    font-size: 15px;
  }

  /* Single column grids */
  .cl-feature-grid,
  .cl-benefit-grid,
  .cl-testimonials-grid,
  .cl-cert-grid {
    grid-template-columns: 1fr;
  }

  .cl-feature-detail {
    flex-direction: column;
    gap: 32px;
  }

  .cl-feature-detail--reverse {
    flex-direction: column;
  }

  .cl-feature-detail h3 {
    font-size: 22px;
  }

  .cl-hero-carousel {
    max-width: 100%;
    margin-top: 32px;
  }

  .cl-screenshot { border-radius: 12px; }
  .cl-slide-label { font-size: 12px; margin-top: 12px; }

  .cl-social-proof {
    padding: 48px 20px 40px;
  }

  .cl-social-proof-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cl-key-figure {
    padding: 0 16px;
  }

  .cl-key-figure-number {
    font-size: 22px;
  }

  .cl-logo-cell {
    padding: 12px 24px;
  }

  .cl-logo-cell img {
    max-height: 24px;
  }

  .cl-video-grid {
    grid-template-columns: 1fr;
  }

  .cl-contact-form {
    grid-template-columns: 1fr;
  }

  .cl-cta-banner {
    padding: 56px 20px;
    border-radius: var(--cl-radius-sm);
  }

  .cl-cta-banner h2 {
    font-size: 24px;
  }

  .cl-cta-banner p {
    font-size: 15px;
  }


  .cl-faq-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cl-faq-header {
    position: static;
  }

  .cl-faq-header .cl-section-heading {
    font-size: 26px !important;
  }

  .cl-faq-question {
    font-size: 15px;
    padding: 20px 0;
    gap: 12px;
  }

  .cl-faq.is-open .cl-faq-answer {
    padding: 0 0 20px 0;
  }
}

/* ==========================================================================
   Team Gallery – Compact Full-Bleed Mosaic
   ========================================================================== */
.cl-gallery {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0;
  overflow: hidden;
}

.cl-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 200px 200px;
  gap: 6px;
}

.cl-gallery-item {
  position: relative;
  overflow: hidden;
}

.cl-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--cl-ease);
  will-change: transform;
}

.cl-gallery-item:hover img {
  transform: scale(1.05);
}

/* Object-position fixes for face visibility */
.cl-gallery-item:nth-child(1) img { object-position: center 61%; }
.cl-gallery-item:nth-child(2) img { object-position: center 30%; }
.cl-gallery-item:nth-child(5) img { object-position: center 35%; }

/* Row 1: 4 images */
.cl-gallery-item:nth-child(1) { grid-column: 1 / 4; }
.cl-gallery-item:nth-child(2) { grid-column: 4 / 8; }
.cl-gallery-item:nth-child(3) { grid-column: 8 / 10; }
.cl-gallery-item:nth-child(4) { grid-column: 10 / 13; }

/* Row 2: 3 images */
.cl-gallery-item:nth-child(5) { grid-column: 1 / 5; }
.cl-gallery-item:nth-child(6) { grid-column: 5 / 9; }
.cl-gallery-item:nth-child(7) { grid-column: 9 / 13; }

/* Staggered reveal */
.cl-gallery-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--cl-ease), transform 0.5s var(--cl-ease);
}

.cl-gallery-grid.is-visible .cl-gallery-item:nth-child(1) { transition-delay: 0s; }
.cl-gallery-grid.is-visible .cl-gallery-item:nth-child(2) { transition-delay: 0.06s; }
.cl-gallery-grid.is-visible .cl-gallery-item:nth-child(3) { transition-delay: 0.12s; }
.cl-gallery-grid.is-visible .cl-gallery-item:nth-child(4) { transition-delay: 0.18s; }
.cl-gallery-grid.is-visible .cl-gallery-item:nth-child(5) { transition-delay: 0.24s; }
.cl-gallery-grid.is-visible .cl-gallery-item:nth-child(6) { transition-delay: 0.30s; }
.cl-gallery-grid.is-visible .cl-gallery-item:nth-child(7) { transition-delay: 0.36s; }

.cl-gallery-grid.is-visible .cl-gallery-item {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */
@media (max-width: 980px) {
  .cl-gallery-grid {
    grid-template-rows: 160px 160px;
    gap: 4px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .cl-gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 130px 130px 130px;
    gap: 3px;
  }
  .cl-gallery-item:nth-child(1) { grid-column: 1 / 4; }
  .cl-gallery-item:nth-child(2) { grid-column: 4 / 7; }
  .cl-gallery-item:nth-child(3) { grid-column: 1 / 3; }
  .cl-gallery-item:nth-child(4) { grid-column: 3 / 5; }
  .cl-gallery-item:nth-child(5) { grid-column: 5 / 7; }
  .cl-gallery-item:nth-child(6) { grid-column: 1 / 4; }
  .cl-gallery-item:nth-child(7) { grid-column: 4 / 7; }
}

/* ==========================================================================
   20. Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .cl-hero {
    animation: none;
  }

  .cl-hero-fade {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .cl-marquee-track {
    animation: none;
  }

  .cl-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   21. Print
   ========================================================================== */
@media print {
  .cl-hero {
    min-height: auto;
    background: none;
    padding: 40px 0;
  }

  .cl-marquee,
  .cl-hero-carousel {
    display: none;
  }

  .cl-cta-banner {
    background: #eee;
    color: #000;
  }

  .cl-cta-banner h2,
  .cl-cta-banner p {
    color: #000;
  }
}
