/* =========================================
   DESIGN SYSTEM - Corrugados Fuentes
   Inspired by embba.com aesthetic
   Primary: #A1C037 | Secondary: #919497
   ========================================= */

/* ---- Variables ---- */
:root {
  --cf-primary: #A1C037;
  --cf-primary-dark: #8aaa28;
  --cf-secondary: #919497;
  --cf-dark: #1a1a2e;
  --cf-light: #f8f9fa;
  --cf-white: #ffffff;
  --cf-shadow: 0 8px 30px rgba(0,0,0,0.10);
  --cf-radius: 30px 0 30px 0;
  --cf-radius-sm: 15px 0 15px 0;
  --cf-transition: all 0.3s ease;
}

/* ---- Base ---- */
body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

/* =========================================
   HERO FULL VIEWPORT
   ========================================= */
.cf-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('/img/boxes-production.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.cf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.78) 0%,
    rgba(26,26,46,0.6) 60%,
    rgba(161,192,55,0.2) 100%
  );
  z-index: 1;
}

/* decorative circle */
.cf-hero::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  border: 80px solid rgba(161,192,55,0.08);
  border-radius: 50%;
  z-index: 1;
}

/* Inner wrapper for two-column layout */
.cf-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 6rem 0 5rem;
}

.cf-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 1rem 0;
}

/* Left-aligned text on large screens */
@media (min-width: 992px) {
  .cf-hero-content {
    text-align: left;
  }

  .cf-hero-lead {
    margin-left: 0;
    margin-right: 0;
  }

  .cf-hero-actions {
    justify-content: flex-start;
  }
}

.cf-hero-badge {
  display: inline-block;
  background: rgba(161,192,55,0.15);
  border: 1px solid rgba(161,192,55,0.5);
  color: #A1C037;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 7px 20px;
  border-radius: 30px 0 30px 0;
  margin-bottom: 1.5rem;
}

.cf-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
  color: #fff;
}

.cf-hero h1 .cf-accent {
  color: #A1C037;
}

.cf-hero-lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  opacity: 0.88;
  line-height: 1.75;
  color: #fff;
}

.cf-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cf-hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
  animation: bounceDown 2s ease-in-out infinite;
}

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

/* =========================================
   BUTTONS (embba asymmetric signature)
   ========================================= */
.btn-cf-primary {
  background-color: #A1C037;
  color: #fff !important;
  border: none;
  padding: 14px 38px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 30px 0 30px 0;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.btn-cf-primary:hover {
  background-color: #8aaa28;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(161,192,55,0.4);
  text-decoration: none;
}

.btn-cf-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.65);
  padding: 12px 34px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 30px 0 30px 0;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-cf-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff !important;
  text-decoration: none;
}

.btn-cf-secondary {
  background: transparent;
  color: #A1C037 !important;
  border: 2px solid #A1C037;
  padding: 11px 32px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 30px 0 30px 0;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-cf-secondary:hover {
  background: #A1C037;
  color: #fff !important;
  text-decoration: none;
}

/* =========================================
   STATS BAR
   ========================================= */
.cf-stats-bar {
  background: #fff;
  padding: 3.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.cf-stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #A1C037, #7a9425, #A1C037);
}

.cf-stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid #f0f0f0;
}

.cf-stat-item:last-child {
  border-right: none;
}

.cf-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #A1C037;
  line-height: 1;
  display: block;
  font-variant-numeric: tabular-nums;
}

.cf-stat-label {
  font-size: 0.8rem;
  color: #919497;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.5rem;
  display: block;
}

/* =========================================
   SECTION UTILITIES
   ========================================= */
.cf-section {
  padding: 5rem 0;
}

.cf-section-lg {
  padding: 7rem 0;
}

.cf-section-light {
  background: #f8f9fa;
}

.cf-section-white {
  background: #fff;
}

.cf-section-tag {
  display: inline-block;
  background: rgba(161,192,55,0.1);
  color: #A1C037;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 6px 16px;
  border-radius: 30px 0 30px 0;
  margin-bottom: 1rem;
}

.cf-section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
}

.cf-section-subtitle {
  font-size: 1rem;
  color: #919497;
  line-height: 1.75;
  max-width: 520px;
}

.cf-divider {
  width: 55px;
  height: 4px;
  background: linear-gradient(90deg, #A1C037, #c8e05a);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

/* =========================================
   ABOUT / EXPERTS SECTION
   ========================================= */
.cf-about-image {
  border-radius: 30px 0 30px 0;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.cf-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.cf-about-image:hover img {
  transform: scale(1.03);
}

.cf-mini-thumb {
  border-radius: 15px 0 15px 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.cf-mini-thumb:hover {
  transform: translateY(-3px);
}

/* =========================================
   PRODUCT SECTION CARDS
   ========================================= */
.cf-product-block {
  border-radius: 30px 0 30px 0;
  overflow: hidden;
  box-shadow: 0 12px 50px rgba(0,0,0,0.09);
  margin-bottom: 2.5rem;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.cf-product-block:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.cf-product-block .cf-product-content {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.cf-product-block .cf-product-img-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 320px;
}

.cf-product-block .cf-product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.cf-product-block:hover .cf-product-img-wrap img {
  transform: scale(1.04);
}

/* =========================================
   PROCESS / DARK SECTION
   ========================================= */
.cf-dark-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #252545 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.cf-dark-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: rgba(161,192,55,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.cf-dark-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: rgba(161,192,55,0.03);
  border-radius: 50%;
  pointer-events: none;
}

/* =========================================
   FEATURES GRID
   ========================================= */
.cf-feature-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 30px 0 30px 0;
  transition: all 0.3s ease;
  background: #fff;
}

.cf-feature-item:hover {
  background: #f8fff0;
  box-shadow: 0 8px 30px rgba(161,192,55,0.12);
}

.cf-feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(161,192,55,0.12) 0%, rgba(161,192,55,0.04) 100%);
  border-radius: 30px 0 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.cf-feature-item:hover .cf-feature-icon {
  background: #A1C037;
  transform: rotate(6deg) scale(1.05);
}

.cf-feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

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

.cf-feature-icon i {
  font-size: 1.8rem;
  color: #A1C037;
  transition: color 0.3s ease;
}

.cf-feature-item:hover .cf-feature-icon i {
  color: #fff;
}

.cf-feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.cf-feature-text {
  font-size: 0.88rem;
  color: #919497;
  line-height: 1.65;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.cf-testimonial {
  background: #fff;
  border-radius: 30px 0 30px 0;
  padding: 2rem 1.75rem;
  box-shadow: 0 6px 25px rgba(0,0,0,0.07);
  height: 100%;
  border-left: 4px solid #A1C037;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cf-testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  border-left-color: #8aaa28;
}

.cf-testimonial .cf-stars {
  color: #A1C037;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 3px;
}

.cf-testimonial .cf-quote {
  font-style: italic;
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  flex-grow: 1;
}

.cf-testimonial .cf-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cf-testimonial .cf-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.cf-testimonial .cf-author-name {
  font-weight: 700;
  color: #1a1a2e;
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

.cf-testimonial .cf-author-role {
  font-size: 0.78rem;
  color: #919497;
}

/* =========================================
   MINI FEATURE CARDS
   ========================================= */
.cf-mini-card {
  background: #fff;
  border-radius: 30px 0 30px 0;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
}

.cf-mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.13);
}

.cf-mini-card .cf-mini-card-body {
  padding: 1.75rem 2rem;
}

.cf-mini-card .cf-mini-card-img {
  height: 100%;
  min-height: 200px;
  background-size: cover;
  background-position: center;
}

/* =========================================
   CTA BANNER
   ========================================= */
.cf-cta-banner {
  background: linear-gradient(135deg, #A1C037 0%, #7a9425 100%);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.cf-cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.cf-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cf-cta-banner .cf-cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.cf-cta-banner .cf-cta-text {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.btn-cf-white {
  background: #fff;
  color: #A1C037 !important;
  border: none;
  padding: 14px 38px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 30px 0 30px 0;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-cf-white:hover {
  background: #1a1a2e;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  text-decoration: none;
}

/* =========================================
   VIDEO CARD
   ========================================= */
.cf-video-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px 0 30px 0;
  overflow: hidden;
}

.cf-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 20px 0 20px 0;
}

.cf-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* =========================================
   NAVBAR IMPROVEMENTS
   ========================================= */
.header-section {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navbar-topbar {
  background: #1a1a2e;
  border-bottom: none;
}

.navbar-topbar .nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.82rem;
  font-weight: 500;
}

.navbar-topbar .nav-link:hover {
  color: #A1C037 !important;
}

/* =========================================
   FOOTER IMPROVEMENTS
   ========================================= */
.cf-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.7);
  padding-top: 4rem;
}

.cf-footer h5 {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.cf-footer .link-secondary {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.cf-footer .link-secondary:hover {
  color: #A1C037 !important;
}

.cf-footer .navbar-brand-logo {
  opacity: 0.9;
}

.cf-footer .border-top {
  border-color: rgba(255,255,255,0.1) !important;
}

.cf-footer .text-muted {
  color: rgba(255,255,255,0.4) !important;
}

.cf-footer .btn-soft-secondary {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.7) !important;
  transition: all 0.3s ease;
}

.cf-footer .btn-soft-secondary:hover {
  background: #A1C037 !important;
  color: #fff !important;
  border-color: #A1C037 !important;
}

.cf-footer .text-body {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.cf-footer .text-body:hover {
  color: #A1C037 !important;
}

/* =========================================
   UTILITIES
   ========================================= */
.text-cf-primary { color: #A1C037 !important; }
.bg-cf-primary { background-color: #A1C037 !important; }
.text-cf-dark { color: #1a1a2e !important; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
  .cf-hero {
    background-attachment: scroll;
  }

  .cf-product-block .cf-product-content {
    padding: 2rem;
  }

  .cf-stat-item {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }

  .cf-stat-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .cf-hero {
    min-height: 100svh;
  }

  .cf-hero-inner {
    padding: 4rem 0 3rem;
  }

  .cf-section {
    padding: 3.5rem 0;
  }

  .cf-section-lg {
    padding: 4.5rem 0;
  }

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

  .cf-hero-actions .btn-cf-primary,
  .cf-hero-actions .btn-cf-outline {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .cf-product-block .cf-product-img-wrap {
    min-height: 240px;
  }

  /* Section subtitle: full width on mobile */
  .cf-section-subtitle {
    max-width: 100%;
  }

  /* Mini cards: stack image below content on mobile */
  .cf-mini-card .row.g-0 {
    flex-direction: column;
  }

  .cf-mini-card .col-7,
  .cf-mini-card .col-5 {
    width: 100% !important;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .cf-mini-card .cf-mini-card-img {
    min-height: 200px;
    height: 200px;
  }

  /* CTA banner: stack buttons vertically */
  .cf-cta-banner .col-lg-5 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .cf-cta-banner .btn-cf-white,
  .cf-cta-banner .btn-cf-outline {
    width: 100%;
    text-align: center;
    margin-right: 0 !important;
  }

  /* Dark section padding */
  .cf-dark-section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 576px) {
  .cf-stat-item {
    padding: 1.25rem 1rem;
  }

  .cf-product-block .cf-product-content {
    padding: 1.75rem 1.25rem;
  }

  .cf-feature-item {
    padding: 1.75rem 1rem;
  }

  .cf-mini-card .cf-mini-card-body {
    padding: 1.5rem;
  }

  .cf-cta-banner {
    padding: 3.5rem 0;
  }
}

/* =========================================
   BOX OPENING ANIMATION
   ========================================= */
.cf-box-anim-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: cfBoxFloat 4s ease-in-out infinite;
}

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

/* Wrapper holds flaps (top) + body (bottom) */
.cf-box-anim-wrap {
  position: relative;
  width: 200px;
  /* flap area 90px + body 140px */
  height: 230px;
}

/* ---- Box Body ---- */
.cf-box-anim-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 140px;
  background: linear-gradient(160deg, #CA8530 0%, #8F5B12 100%);
  border-radius: 3px 3px 8px 8px;
  box-shadow:
    inset -16px 0 28px rgba(0,0,0,0.22),
    0 8px 30px rgba(0,0,0,0.45);
}

/* Vertical center crease */
.cf-box-anim-body::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(0,0,0,0.14);
  transform: translateX(-50%);
}

/* Horizontal tape/belt line */
.cf-box-anim-body::after {
  content: '';
  position: absolute;
  left: 0;
  top: 44%;
  width: 100%;
  height: 3px;
  background: rgba(0,0,0,0.10);
}

/* ---- Flaps ---- */
.cf-box-anim-flap {
  position: absolute;
  top: 0;
  width: 100px;
  height: 90px;
  background: linear-gradient(160deg, #E0A040 0%, #C07A20 100%);
  border: 1px solid rgba(0,0,0,0.18);
}

/* Crease line on each flap */
.cf-box-anim-flap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(0,0,0,0.10);
}

/* Left flap: pivots from bottom-left corner */
.cf-box-anim-flap--l {
  left: 0;
  border-radius: 4px 0 0 0;
  transform-origin: 0% 100%;
  animation: cfFlapLeft 6s ease-in-out infinite;
  z-index: 3;
  box-shadow: inset -6px 0 12px rgba(0,0,0,0.15);
}

/* Right flap: pivots from bottom-right corner */
.cf-box-anim-flap--r {
  right: 0;
  border-radius: 0 4px 0 0;
  transform-origin: 100% 100%;
  animation: cfFlapRight 6s ease-in-out infinite;
  z-index: 3;
  box-shadow: inset 6px 0 12px rgba(0,0,0,0.15);
}

@keyframes cfFlapLeft {
  0%, 20%   { transform: rotate(0deg); }
  50%, 68%  { transform: rotate(-85deg); }
  88%, 100% { transform: rotate(0deg); }
}

@keyframes cfFlapRight {
  0%, 20%   { transform: rotate(0deg); }
  50%, 68%  { transform: rotate(85deg); }
  88%, 100% { transform: rotate(0deg); }
}

/* ---- Inner content (appears when flaps open) ---- */
.cf-box-anim-inner {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.cf-box-anim-inner > i {
  font-size: 2.2rem;
  color: #A1C037;
  animation: cfStarReveal 6s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(161,192,55,0.9));
}

@keyframes cfStarReveal {
  0%, 25%   { opacity: 0; transform: scale(0.2) translateY(20px); }
  55%, 65%  { opacity: 1; transform: scale(1) translateY(-8px); }
  85%, 100% { opacity: 0; transform: scale(0.5) translateY(-25px); }
}

/* ---- Sparkle particles ---- */
.cf-box-anim-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cf-box-anim-sparkles span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #A1C037;
  animation: cfSparkle 6s ease-in-out infinite;
}

.cf-box-anim-sparkles span:nth-child(1) { top: 8px;  left: 4px;  animation-delay: 0.15s; }
.cf-box-anim-sparkles span:nth-child(2) { top: 4px;  right: 4px; animation-delay: 0.30s; }
.cf-box-anim-sparkles span:nth-child(3) { top: 22px; left: 50%;  animation-delay: 0.05s; }
.cf-box-anim-sparkles span:nth-child(4) { top: 15px; right: 10px; animation-delay: 0.45s; width: 5px; height: 5px; }

@keyframes cfSparkle {
  0%, 38%   { opacity: 0; transform: scale(0) translate(0, 0); }
  58%        { opacity: 1; transform: scale(1) translate(0, -8px); }
  72%, 100%  { opacity: 0; transform: scale(0) translate(0, -18px); }
}

/* ---- Ground shadow ---- */
.cf-box-anim-shadow {
  width: 170px;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.40) 0%, transparent 70%);
  margin-top: 6px;
  animation: cfShadowPulse 4s ease-in-out infinite;
}

@keyframes cfShadowPulse {
  0%, 100% { transform: scaleX(1);    opacity: 0.7; }
  50%       { transform: scaleX(0.78); opacity: 0.35; }
}

/* ---- Label under box ---- */
.cf-box-anim-label {
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.5);
}
