.cf-hs {
    --hs-teal: #06938B;
    --hs-teal-hover: #057A73;
    --hs-teal-bright: #5EEAD4;
    --hs-ink: #050B14;
    --hs-duration: 6500ms;
    --hs-ease: cubic-bezier(.22, 1, .36, 1);
    position: relative;
    width: 100%;
    height: calc(100vh - 44px);
    height: calc(100svh - 44px);
    min-height: 600px;
    max-height: 980px;
    background: var(--hs-ink);
    overflow: hidden;
    isolation: isolate;
    font-family: 'Poppins', sans-serif;
    color: #fff;
}
.cf-hs-track { position: absolute; inset: 0; }

.cf-hs-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--hs-ease), visibility 1.1s; z-index: 1; }
.cf-hs-slide.active { opacity: 1; visibility: visible; z-index: 2; }

.cf-hs-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.12); transition: transform 9s cubic-bezier(.25, 1, .5, 1); }
.cf-hs-slide.active .cf-hs-bg { transform: scale(1); }

.cf-hs-overlay { position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(95deg, rgba(5,11,20,.94) 0%, rgba(5,11,20,.78) 38%, rgba(5,11,20,.25) 75%, rgba(5,11,20,.1) 100%),
        linear-gradient(180deg, rgba(5,11,20,.65) 0%, rgba(5,11,20,0) 30%, rgba(5,11,20,0) 60%, rgba(5,11,20,.9) 100%),
        radial-gradient(900px 500px at 8% 85%, rgba(6,147,139,.28), transparent 70%);
}

.cf-hs-content { position: relative; z-index: 5; height: 100%; max-width: 1240px; margin: 0 auto; padding: 120px 24px 140px; display: flex; flex-direction: column; justify-content: center; }


.cf-hs-title { font-family: 'DM Serif Display', 'Playfair Display', Georgia, serif; font-weight: 400; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.1; letter-spacing: -.01em; max-width: 860px; margin: 0 0 22px; color: #fff; }
.cf-hs-line { display: block; }
.cf-hs-accent { font-style: italic; background: linear-gradient(90deg, #5EEAD4 0%, #2DD4BF 45%, #06938B 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }

.cf-hs-desc { font-size: clamp(14.5px, 1.2vw, 17px); line-height: 1.75; color: rgba(255,255,255,.78); max-width: 560px; margin: 0 0 36px; }

.cf-hs-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cf-hs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 14px; font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .25s, border-color .25s, color .25s, transform .35s cubic-bezier(.34,1.56,.64,1); }
.cf-hs-btn i { font-size: 13px; transition: transform .3s var(--hs-ease); }
.cf-hs-btn:hover { transform: translateY(-2px); }
.cf-hs-btn:hover i { transform: translateX(4px); }
.cf-hs-btn-primary { position: relative; overflow: hidden; background: var(--hs-teal); color: #fff; box-shadow: 0 12px 30px -10px rgba(6,147,139,.65); }
.cf-hs-btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent); transition: left .6s ease; }
.cf-hs-btn-primary:hover { background: var(--hs-teal-hover); color: #fff; }
.cf-hs-btn-primary:hover::before { left: 140%; }
.cf-hs-btn-ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cf-hs-btn-ghost:hover { background: #fff; color: var(--hs-ink); border-color: #fff; }

.cf-hs-slide.active .cf-hs-title .cf-hs-line:nth-child(1) { opacity: 1; transform: none; transition-delay: .25s; }
.cf-hs-slide.active .cf-hs-title .cf-hs-line:nth-child(2) { opacity: 1; transform: none; transition-delay: .5s; }
.cf-hs-slide.active .cf-hs-desc { opacity: 1; transform: none; transition-delay: .64s; }
.cf-hs-slide.active .cf-hs-actions { opacity: 1; transform: none; transition-delay: .78s; }

.cf-hs-bottom { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 10; max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.cf-hs-features { display: flex; align-items: center; gap: 28px; }
.cf-hs-feature { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.85); }
.cf-hs-feature i { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(6,147,139,.22); border: 1px solid rgba(94,234,212,.22); color: var(--hs-teal-bright); font-size: 13px; }

.cf-hs-controls { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.cf-hs-progress { display: flex; align-items: center; gap: 8px; }
.cf-hs-dot { position: relative; width: 28px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.25); cursor: pointer; overflow: hidden; transition: width .45s var(--hs-ease), background .3s; }
.cf-hs-dot::after { content: ''; position: absolute; inset: -10px 0; }
.cf-hs-dot:hover { background: rgba(255,255,255,.45); }
.cf-hs-dot.active { width: 56px; }
.cf-hs-dot-fill { position: absolute; inset: 0; width: 0; background: var(--hs-teal-bright); border-radius: inherit; }
.cf-hs-dot.done .cf-hs-dot-fill { width: 100%; }
.cf-hs-dot.active .cf-hs-dot-fill { animation: cfHsFill var(--hs-duration) linear forwards; }
.cf-hs.paused .cf-hs-dot.active .cf-hs-dot-fill { animation-play-state: paused; }
@keyframes cfHsFill { from { width: 0; } to { width: 100%; } }

.cf-hs-counter { display: flex; align-items: baseline; gap: 6px; font-size: 14px; font-weight: 600; letter-spacing: .06em; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.cf-hs-cur { font-size: 20px; color: #fff; }
.cf-hs-sep { opacity: .5; }

.cf-hs-arrows { display: flex; gap: 10px; }
.cf-hs-arrow { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 14px; cursor: pointer; transition: background .25s, border-color .25s, transform .3s cubic-bezier(.34,1.56,.64,1); }
.cf-hs-arrow:hover { background: var(--hs-teal); border-color: var(--hs-teal); transform: scale(1.06); }
.cf-hs-arrow:focus-visible, .cf-hs-dot:focus-visible, .cf-hs-btn:focus-visible { outline: 2px solid var(--hs-teal-bright); outline-offset: 3px; }

@media (max-width: 1100px) {
    .cf-hs-features { gap: 18px; }
    .cf-hs-feature span { display: none; }
}
@media (max-width: 768px) {
    .cf-hs { min-height: 560px; max-height: none; }
    .cf-hs-overlay { background:
        linear-gradient(180deg, rgba(5,11,20,.7) 0%, rgba(5,11,20,.35) 30%, rgba(5,11,20,.8) 62%, rgba(5,11,20,.97) 100%),
        radial-gradient(500px 400px at 0% 100%, rgba(6,147,139,.3), transparent 70%); }
    .cf-hs-content { padding: 100px 20px 110px; justify-content: flex-end; }
    .cf-hs-title { font-size: clamp(28px, 8vw, 34px); margin-bottom: 14px; line-height: 1.12; }
    .cf-hs-desc { margin-bottom: 26px; line-height: 1.65; }
    .cf-hs-actions { gap: 10px; flex-direction: column; align-items: stretch; }
    .cf-hs-btn { width: 100%; height: 52px; }
    .cf-hs-bottom { bottom: 26px; padding: 0 20px; }
    .cf-hs-features, .cf-hs-arrows { display: none; }
    .cf-hs-controls { width: 100%; justify-content: space-between; margin: 0; }
    .cf-hs-dot { width: 22px; }
    .cf-hs-dot.active { width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .cf-hs-slide, .cf-hs-bg, .cf-hs-title .cf-hs-line, .cf-hs-desc, .cf-hs-actions { transition: opacity .3s !important; transform: none !important; }
}