/* ==========================================================================
   Hero Slideshow - WordPress component
   Unique prefixed classes (hss-*) to avoid conflicts with theme styles.
   Mirrors: https://hero-slideshow.framer.website/
   ========================================================================== */

.hss-root,
.hss-root *,
.hss-root *::before,
.hss-root *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.hss-body {
	padding-bottom: 40px !important;
}
.hss-root {
  /* scope base font styles so nothing inherited from theme breaks the layout */
  --hss-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --hss-black: #e3e9f0;
  --hss-panel: #1a1a1a;
  --hss-white: #2d3748;
  --hss-white-soft: rgba(255, 255, 255, 0.8);
  --hss-gap: 8px;

  position: relative;
  width: 100%; 
  max-height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* background-color: var(--hss-black); */
  font-family: "Google Sans Flex", "Inter", system-ui, -apple-system, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.2;
  color: var(--hss-white);
  overflow: hidden;
  isolation: isolate;
}

/* ---------- Decorative grid background (SVG wireframe) ---------- */
.hss-bg-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 1;
}
.hss-bg-grid svg {
  display: block;
  width: 100%;
  height: 100%;
}
.hss-bg-grid path {
  stroke: rgba(255, 255, 255, 0.15);
  fill: transparent;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Body / layout ---------- */
.hss-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--hss-gap);
  width: 100%; 
  padding: 0;
}

/* Left column: text content */
.hss-left {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 64px;
}
.hss-left-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

/* ---------- Avatar / social proof row ---------- */
.hss-proof {
  display: flex;
  flex-direction: row;
  align-items: end;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
}
.hss-avatars {
  position: relative;
  flex: none;
  width: 60px;
  height: 60px;
}
.hss-avatar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  height: 60px; 
  overflow: hidden; 
}
.hss-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  display: block;
  filter: hue-rotate(52deg);
}
.hss-avatar.is-1 { left: 0; }
.hss-avatar.is-2 { left: 16px; }
.hss-avatar.is-3 { left: 32px; }

.hss-count {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  background: #3d3d3d;
  font-size: 12px;
  font-weight: 600;
  color: #2d3748;
}
.hss-trusted {
  flex: 1 1 0;
  font-size: 14px;
	font-weight: bold;
	color: #9fa597;
}

/* ---------- Heading ---------- */
.hss-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hss-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--hss-white);
}
.hss-title-gradient {
  background-image: linear-gradient(358deg, #ffffff 0%, #595959 91%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Description ---------- */
.hss-desc {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.2;
  color: #2d3748;
}

/* ---------- Buttons ---------- */
.hss-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.hss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px !important;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  border: 0;
}
.hss-btn-primary {
  background: #bfd9bf;
  color: rgba(0, 0, 0, 0.8);
}
.hss-btn-ghost {
  background: var(--hss-black);
  color: var(--hss-white);
  border: 1px solid var(--hss-white) important;
}
.hss-btn:hover { opacity: 0.92; }

/* ==========================================================================
   Right column: slideshow
   ========================================================================== */
.hss-right {
  flex: 1 1 0;
  min-width: 0;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.hss-stage {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: var(--hss-panel);
}
.hss-swiper {
  position: absolute;
  inset: 0;
  width: 100%; 
}
.hss-slide {
  position: relative;
  width: 100%;
  height: 100%;
}
.hss-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* bottom gradient overlay */
.hss-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 50%);
  pointer-events: none;
}

/* slide caption label */
.hss-label {
  position: absolute;
  bottom: 22px;
  left: 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.7;
  white-space: nowrap;
  pointer-events: none;
}

/* counter + progress ring */
.hss-meta {
  position: absolute;
  bottom: 16px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}
.hss-ring {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.hss-ring svg {
  transform: rotate(-90deg);
  display: block;
}
.hss-ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.5;
}
.hss-ring-progress {
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.hss-counter {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
  white-space: nowrap;
}
.hss-counter strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* Swiper fade effect handles its own opacity transitions (speed: 0.9s). */

/* Arrows (nice-to-have, hidden by default to mirror original) */
.hss-arrow {
  display: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Tablet-ish */
@media (max-width: 1399px) and (min-width: 810px) {
  .hss-title { font-size: clamp(36px, 6.5vw, 53px); }
  .hss-desc { font-size: 16px; }
}

/* Mobile / stacked */
@media (max-width: 809.98px) {
  .hss-body {
    width: 86.25vw;
    flex-direction: column;
		height: auto;
		gap: 50px;
		max-height: unset;
		padding-top: 50px !important;
  }
  .hss-left {
    width: 100%;
    flex: none;
    height: auto;
    padding: 24px;
  }
  .hss-left-inner { gap: 24px; }
  .hss-right {
    width: 100%;
    flex: none;
    height: auto;
    padding: 0 24px 27px;
  }
  .hss-stage {
    /* mobile ratio mirrors framer phone layout (~0.62 aspect) */
    aspect-ratio: 16 / 10;
    height: auto;
  }
  .hss-swiper { position: absolute; inset: 0; }
}
