* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }

.social-badge {
  width: 28px; height: 28px; border: 1px solid currentColor; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}

.nav-link {
  display: flex; align-items: center; gap: 4px; padding-bottom: 5px;
  transition: color .2s ease, border-color .2s ease;
}
.nav-link:hover { color: #E01B3D; }
.nav-link.active { color: #E01B3D; border-bottom: 2px solid #E01B3D; }
.nav-link svg { width: 14px; height: 14px; }

.ads-button, .white-button {
  border-radius: 9999px; padding: 10px 20px; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.ads-button { background: #E01B3D; color: white; }
.ads-button:hover, .white-button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.12); opacity: .96; }
.white-button { background: white; color: #111; }
.button-circle, .black-circle {
  width: 24px; height: 24px; border-radius: 9999px; display: inline-flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.button-circle { background: white; }
.black-circle { background: #111; }
.button-circle svg, .black-circle svg { width: 14px; height: 14px; }
.button-circle svg { color: #E01B3D; }
.black-circle svg { color: white; }

.section-label {
  font-size: 14px; font-weight: 700; text-transform: uppercase; color: #E01B3D;
}

/* =========================
   DESKTOP DROPDOWN
========================= */

.nav-dropdown {
  position: relative;
}

/* Dropdown hidden by default */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;

  min-width: 210px;

  background: white;
  border-radius: 10px;
  padding: 8px 0;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #f1f1f1;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(8px);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;

  z-index: 100;
}

/* OPEN ON HOVER */
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Dropdown links */
.dropdown-menu a {
  display: block;
  padding: 10px 16px;

  font-size: 13px;
  color: #4b5563;

  transition: background-color 0.2s ease,
              color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: #fce8ea;
  color: #E01B3D;
}

/* Rotate arrow on hover */
.nav-dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.workflow-step { flex: 1; min-width: 100px; text-align: center; }
.workflow-step .icon-circle {
  width: 48px; height: 48px; margin: 0 auto 8px; border-radius: 9999px;
  background: white; display: flex; align-items: center; justify-content: center;
}
.workflow-step .icon-circle svg { width: 20px; height: 20px; color: #E01B3D; }
.workflow-step p { font-size: 12px; font-weight: 600; }
.workflow-step small { display: block; margin-top: 4px; color: #9ca3af; font-size: 10px; line-height: 1.35; }

.service-icon {
  width: 40px; height: 40px; border-radius: 8px; background: #FCE8EA;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.service-icon svg { width: 28px; height: 28px; color: #E01B3D; }

.step-number-circle {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 9999px;
  background: white; display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2; box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.step-number-circle svg { width: 30px; height: 30px; color: #E01B3D; }
.step-number-circle span {
  position: absolute; top: -4px; right: -4px; width: 20px; height: 20px;
  border-radius: 9999px; background: #E01B3D; color: white; font-size: 9px;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}

.image-tag {
  position: absolute; bottom: 8px; left: 8px; background: #E01B3D;
  color: white; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px;
}

.main-product-card {
  transition: box-shadow .2s ease, transform .2s ease;
}
.main-product-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.10); transform: translateY(-2px); }
.main-product-card:hover .product-name { color: #E01B3D; }

@keyframes hotProductSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hot-product-slider { animation: hotProductSlide 25s linear infinite; }
.hot-product-slider:hover { animation-play-state: paused; }
.hot-product-card { width: 280px; flex: 0 0 280px; }

@media (max-width: 767px) {
  .hot-product-slider { animation-duration: 32s; }
  .hot-product-card { width: 240px; flex-basis: 240px; }
}

/* Before / After case gallery controls */
.case-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: #fff;
  color: #E01B3D;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  z-index: 10;
  transition: all .2s ease;
}
.case-arrow:hover {
  background: #E01B3D;
  color: #fff;
}
.case-arrow-left { left: calc(50% - 50px); }
.case-arrow-right { right: calc(50% - 50px); }
.case-arrow svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .case-arrow { width: 36px; height: 36px; }
  .case-arrow-left { left: calc(50% - 44px); }
  .case-arrow-right { right: calc(50% - 44px); }
}
