/* =====================================================================
   Harbour House — homepage sections
   ===================================================================== */

.hh-section { padding-block: clamp(36px, 4.5vw, 60px); position: relative; }
.hh-section--grey { background: var(--hh-bg); }
.hh-center { display: flex; justify-content: center; margin-top: clamp(26px, 3vw, 40px); }
.hh-head--center { justify-content: center; text-align: center; }
.hh-head--center .hh-kicker { justify-content: center; }

/* ============================== HERO ============================== */
.hh-hero { padding-top: 20px; }
.hh-hero__grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 18px; }

.hh-slider { position: relative; min-height: 400px; border-radius: var(--hh-r-xl); overflow: hidden; isolation: isolate; box-shadow: var(--hh-shadow-sm); }
.hh-slider__track { position: absolute; inset: 0; }
.hh-slide {
    position: absolute; inset: 0; display: flex; align-items: center; padding: clamp(28px, 4vw, 56px);
    opacity: 0; visibility: hidden; transition: opacity .9s var(--hh-ease), visibility .9s;
}
.hh-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hh-slide--ocean { background: radial-gradient(80% 120% at 85% 50%, #133C55 0%, #0A2234 55%, #06131E 100%); color: #fff; }
.hh-slide--red { background: linear-gradient(115deg, #E8384E 0%, #C71F35 55%, #9E1427 100%); color: #fff; }
.hh-slide--amber { background: radial-gradient(90% 120% at 80% 50%, #FFE6A8 0%, #FDF0D2 45%, #FFF8EA 100%); color: #1C1F24; }
.hh-slide--amber .hh-slide__title span { color: var(--hh-red); }
.hh-slide--amber .hh-slide__tag { color: #9A5B00; }
.hh-slide.hh-slide--amber::before { background: rgba(249, 171, 1, .12); }
.hh-slide.hh-slide--amber::after { border-color: rgba(249, 171, 1, .14); }
.hh-slide::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -200px; border-radius: 50%; background: rgba(255, 255, 255, .06); z-index: -1; }
.hh-slide::after { content: ""; position: absolute; width: 260px; height: 260px; left: 38%; bottom: -150px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .05); z-index: -1; }

.hh-slide__content { position: relative; z-index: 2; max-width: 50%; }
.hh-slide__content > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--hh-ease), transform .8s var(--hh-ease); }
.hh-slide.is-active .hh-slide__content > * { opacity: 1; transform: none; }
.hh-slide.is-active .hh-slide__content > :nth-child(2) { transition-delay: .1s; }
.hh-slide.is-active .hh-slide__content > :nth-child(3) { transition-delay: .2s; }
.hh-slide.is-active .hh-slide__content > :nth-child(4) { transition-delay: .3s; }
.hh-slide__tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font: 600 13px var(--hh-font); backdrop-filter: blur(6px); }
.hh-slide--ocean .hh-slide__tag i { color: var(--hh-amber); }
.hh-slide--amber .hh-slide__tag { background: rgba(14, 34, 51, .1); }
.hh-slide__title { margin: 16px 0 12px !important; font: 800 clamp(28px, 3.4vw, 46px)/1.12 var(--hh-head) !important; color: inherit !important; letter-spacing: -.02em; }
.hh-slide__title span { font-weight: 600; font-size: .72em; opacity: .95; }
.hh-slide--ocean .hh-slide__title span { color: var(--hh-amber); }
.hh-slide__text { font-size: 16px; line-height: 1.6; opacity: .88; max-width: 420px; }
.hh-slide__cta { display: flex !important; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 26px; }
.hh-slide__from { display: flex; flex-direction: column; font-size: 13px; opacity: .85; line-height: 1.3; }
.hh-slide__from b { font: 800 26px var(--hh-head); color: var(--hh-amber); opacity: 1; }

.hh-slide__img {
    position: absolute; right: -4%; top: 50%; width: 62%; height: 120%; object-fit: cover; object-position: center;
    transform: translateY(-50%) scale(1.12) translateX(40px); opacity: 0;
    -webkit-mask-image: radial-gradient(ellipse 62% 58% at 55% 50%, #000 52%, transparent 100%);
    mask-image: radial-gradient(ellipse 62% 58% at 55% 50%, #000 52%, transparent 100%);
    transition: transform 1.4s var(--hh-ease), opacity 1s var(--hh-ease);
}
.hh-slide.is-active .hh-slide__img { transform: translateY(-50%) scale(1); opacity: 1; }
.hh-slide__photo {
    position: absolute; right: clamp(24px, 4vw, 56px); top: 50%; width: min(40%, 360px); aspect-ratio: 4 / 3.4;
    border-radius: 22px; overflow: hidden; border: 6px solid rgba(255, 255, 255, .9); box-shadow: 0 30px 50px -18px rgba(0, 0, 0, .45);
    transform: translateY(-50%) rotate(6deg) scale(.86); opacity: 0; transition: transform 1.1s var(--hh-spring), opacity .8s var(--hh-ease);
}
.hh-slide__photo img { width: 100%; height: 100%; object-fit: cover; }
.hh-slide__photo--round { aspect-ratio: 1; border-radius: 50%; width: min(36%, 320px); }
.hh-slide.is-active .hh-slide__photo { transform: translateY(-50%) rotate(-3deg); opacity: 1; transition-delay: .15s; }

.hh-code { display: inline-flex; align-items: stretch; height: 48px; padding: 0; border: 2px dashed rgba(255, 255, 255, .8); border-radius: var(--hh-r); background: rgba(255, 255, 255, .12); color: #fff; overflow: hidden; cursor: pointer; transition: background .25s; }
.hh-code:hover { background: rgba(255, 255, 255, .2); }
.hh-code > span { display: grid; place-items: center; padding: 0 16px; font: 800 18px var(--hh-head); letter-spacing: .12em; }
.hh-code em { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; background: #fff; color: var(--hh-red); font: 700 13px var(--hh-font); font-style: normal; }
.hh-code em b { font-weight: 700; }
.hh-code.is-copied em { background: var(--hh-green); color: #fff; }

.hh-slider__arrow {
    position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; margin-top: -21px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .92); color: var(--hh-ink); font-size: 16px; display: grid; place-items: center; cursor: pointer;
    box-shadow: var(--hh-shadow-sm); opacity: 0; transition: opacity .3s, transform .3s var(--hh-ease), background .2s;
}
.hh-slider__arrow--prev { left: 14px; transform: translateX(-10px); }
.hh-slider__arrow--next { right: 14px; transform: translateX(10px); }
.hh-slider:hover .hh-slider__arrow { opacity: 1; transform: none; }
.hh-slider__arrow:hover { background: #fff; color: var(--hh-red); }
.hh-slider__dots { position: absolute; left: clamp(28px, 4vw, 56px); bottom: 22px; z-index: 3; display: flex; gap: 6px; }
.hh-slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .45); cursor: pointer; overflow: hidden; transition: width .5s var(--hh-ease), background .3s; }
.hh-slider__dots button[aria-selected="true"] { width: 36px; background: rgba(255, 255, 255, .45); }
.hh-slider__dots button span { display: block; height: 100%; width: 0; background: #fff; border-radius: inherit; }
.hh-slider__dots button[aria-selected="true"] span { animation: hh-dotfill var(--slide-interval, 5s) linear forwards; }
.hh-slider.is-paused .hh-slider__dots span { animation-play-state: paused !important; }
.hh-slider:has(.hh-slide--amber.is-active) .hh-slider__dots button { background: rgba(14, 34, 51, .25); }
.hh-slider:has(.hh-slide--amber.is-active) .hh-slider__dots span { background: var(--hh-ink); }
@keyframes hh-dotfill { to { width: 100%; } }

/* side tiles */
.hh-hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.hh-tile { position: relative; display: flex; align-items: center; overflow: hidden; isolation: isolate; min-height: 190px; padding: 24px; border-radius: var(--hh-r-xl); color: #fff; transition: transform .45s var(--hh-ease), box-shadow .45s var(--hh-ease); }
.hh-tile:hover { transform: translateY(-4px); box-shadow: var(--hh-shadow); }
.hh-tile__copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 4px; max-width: 58%; }
.hh-tile__copy small { font: 600 13px var(--hh-font); opacity: .9; }
.hh-tile__copy strong { font: 800 24px/1.15 var(--hh-head); }
.hh-tile__copy em { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font: 700 13px var(--hh-font); font-style: normal; }
.hh-tile__copy em i { transition: transform .35s var(--hh-ease); }
.hh-tile:hover .hh-tile__copy em i { transform: translateX(4px); }
.hh-tile--teal { background: linear-gradient(135deg, #13A3B4 0%, #0A4D68 60%, #052B3D 100%); }
.hh-tile--teal::before { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -60px; border-radius: 50%; background: rgba(255, 255, 255, .08); z-index: -1; }
.hh-tile__img { position: absolute; right: 16px; bottom: 50%; transform: translateY(50%); height: 76%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .5); transition: transform .6s var(--hh-ease); }
.hh-tile__img img { width: 82%; height: 82%; object-fit: contain; }
.hh-tile:hover .hh-tile__img { transform: translateY(50%) rotate(-8deg) scale(1.05); }
.hh-tile--photo { background: #222; }
.hh-tile--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--hh-ease); }
.hh-tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .25) 70%, transparent 100%); }
.hh-tile--photo:hover > img { transform: scale(1.07); }
.hh-tile--photo.is-cutout { background: var(--hh-amber-50); color: var(--hh-ink); }
.hh-tile--photo.is-cutout > img { inset: 10% 0 10% 40%; width: 60%; height: 80%; object-fit: contain; }
.hh-tile--photo.is-cutout::after { display: none; }

/* ============================== CATEGORIES ============================== */
.hh-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 22px 16px; }
.hh-cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; color: var(--hh-ink); }
.hh-cat__img {
    position: relative; width: 116px; height: 116px; margin-bottom: 10px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
    background: #FFF4E6; box-shadow: 0 0 0 0 var(--hh-aqua); transition: transform .45s var(--hh-spring), box-shadow .35s var(--hh-ease);
}
.hh-cat:nth-child(5n+2) .hh-cat__img { background: #E8F4FB; }
.hh-cat:nth-child(5n+3) .hh-cat__img { background: #FDEDEF; }
.hh-cat:nth-child(5n+4) .hh-cat__img { background: #EAF6EE; }
.hh-cat:nth-child(5n+5) .hh-cat__img { background: #F2EEFB; }
.hh-cat__img img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--hh-ease); }
.hh-cat__img.is-photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.hh-cat:hover .hh-cat__img { transform: translateY(-6px); box-shadow: 0 0 0 3px var(--hh-aqua), 0 16px 28px -10px rgba(10, 77, 104, .45); }
.hh-cat:hover .hh-cat__img img { transform: scale(1.1) rotate(-4deg); }
.hh-cat strong { font: 600 15px var(--hh-font); transition: color .2s; }
.hh-cat:hover strong { color: var(--hh-ocean); }
.hh-cat small { font-size: 12.5px; color: var(--hh-muted); }
.hh-cat--all .hh-cat__img { background: var(--hh-ocean-50) !important; color: var(--hh-ocean); font-size: 32px; border: 2px dashed var(--hh-ocean-100); }

/* ============================== TRUST ============================== */
.hh-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hh-trust li { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--hh-r-lg); background: var(--hh-bg); transition: background .3s, transform .35s var(--hh-ease), box-shadow .35s; }
.hh-trust li:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--hh-shadow-sm); }
.hh-trust span { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--hh-red-50); color: var(--hh-red); font-size: 24px; transition: transform .45s var(--hh-spring); }
.hh-trust li:nth-child(2) span { background: var(--hh-amber-50); color: var(--hh-amber-600); }
.hh-trust li:nth-child(3) span { background: var(--hh-teal-50); color: var(--hh-teal); }
.hh-trust li:nth-child(4) span { background: var(--hh-green-50); color: var(--hh-green); }
.hh-trust li:hover span { transform: rotate(-10deg) scale(1.08); }
.hh-trust strong { display: block; font: 600 15px var(--hh-font); color: var(--hh-ink); }
.hh-trust small { font-size: 13px; color: var(--hh-muted); }

/* ============================== DEALS ============================== */
.hh-deals .hh-head { position: relative; overflow: hidden; padding: 16px 18px; border-radius: var(--hh-r-lg); background: linear-gradient(90deg, var(--hh-amber-50), #fff 70%); border: 1px solid #F6DFA6; }
.hh-deals .hh-head > * { position: relative; z-index: 1; }
.hh-deals .hh-head::after { content: ""; position: absolute; top: 0; bottom: 0; left: -30%; width: 25%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-20deg); animation: hh-sheen 5s var(--hh-ease) infinite; pointer-events: none; }
@keyframes hh-sheen { 0%, 60% { left: -30%; } 100% { left: 130%; } }

/* ============================== PROMO BANNERS ============================== */
.hh-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-block: 10px; }
.hh-promo { position: relative; display: flex; align-items: center; min-height: 200px; padding: 26px 28px; border-radius: var(--hh-r-xl); overflow: hidden; isolation: isolate; transition: transform .45s var(--hh-ease), box-shadow .45s; }
.hh-promo:hover { transform: translateY(-4px); box-shadow: var(--hh-shadow); }
.hh-promo--blue { background: var(--hh-grad-ocean); color: #fff; }
.hh-promo--amber { background: linear-gradient(120deg, #FFF8EA 0%, #FDEFCF 55%, #FBE0A0 100%); color: #1C1F24; }
.hh-promo.hh-promo--amber::before, .hh-promo.hh-promo--amber::after { background: rgba(249, 171, 1, .14); }
.hh-promo::before { content: ""; position: absolute; width: 300px; height: 300px; right: -80px; bottom: -150px; border-radius: 50%; background: rgba(255, 255, 255, .12); z-index: -1; }
.hh-promo__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: 55%; }
.hh-promo__copy small { font: 600 13px var(--hh-font); opacity: .85; }
.hh-promo__copy strong { font: 800 clamp(24px, 2.4vw, 32px)/1.1 var(--hh-head); }
.hh-promo__copy > span { font-size: 14px; opacity: .85; margin-bottom: 12px; }
.hh-promo__img { position: absolute; right: 26px; top: 50%; height: 78%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .5); transition: transform .7s var(--hh-ease); }
.hh-promo__img img { width: 80%; height: 80%; object-fit: contain; }
.hh-promo__img.is-photo img { width: 100%; height: 100%; object-fit: cover; }
.hh-promo:hover .hh-promo__img { transform: translateY(-50%) rotate(-6deg) scale(1.05); }

/* ============================== TABS + GRID ============================== */
.hh-tabs { display: flex; gap: 10px; margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.hh-tabs::-webkit-scrollbar { display: none; }
.hh-tabs button {
    flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 5px; border: 1.5px solid var(--hh-line);
    border-radius: 999px; background: #fff; color: var(--hh-ink); font: 600 14px var(--hh-font); cursor: pointer;
    transition: border-color .25s, background .25s, color .25s, transform .3s var(--hh-ease), box-shadow .3s;
}
.hh-tabs button:hover { border-color: var(--hh-ocean); transform: translateY(-2px); }
.hh-tabs button img, .hh-tabs__all { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--hh-bg); display: grid; place-items: center; }
.hh-tabs button[aria-selected="true"] { background: var(--hh-ocean); border-color: var(--hh-ocean); color: #fff; box-shadow: var(--hh-glow-ocean); }
.hh-tabs button[aria-selected="true"] .hh-tabs__all { background: rgba(255, 255, 255, .2); color: #fff; }

.hh-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.hh-grid__item.is-extra, .hh-grid__item.is-hidden { display: none; }
.hh-grid__item.is-entering { animation: hh-grid-in .6s var(--hh-ease) both; animation-delay: calc(var(--n, 0) * 55ms); }
@keyframes hh-grid-in { from { opacity: 0; transform: translateY(22px) scale(.97); } }
.hh-grid__empty { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--hh-muted); }

/* ============================== HOW IT WORKS ============================== */
.hh-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.hh-steps::before { content: ""; position: absolute; top: 44px; left: 12%; right: 12%; border-top: 2px dashed var(--hh-ocean-100); }
.hh-steps li { position: relative; text-align: center; padding: 0 8px; }
.hh-steps__icon { position: relative; width: 88px; height: 88px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--hh-ocean-100); color: var(--hh-ocean); font-size: 34px; transition: transform .45s var(--hh-spring), background .3s, color .3s; }
.hh-steps__icon b { position: absolute; top: -2px; right: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--hh-red); color: #fff; font: 700 13px var(--hh-head); box-shadow: 0 0 0 3px #fff; }
.hh-steps li:hover .hh-steps__icon { transform: translateY(-6px) rotate(-6deg); background: var(--hh-ocean); border-color: var(--hh-ocean); color: #fff; }
.hh-steps li.is-in .hh-steps__icon b { animation: hh-pop .6s var(--hh-spring) calc(var(--d, 0) * 120ms + .35s) backwards; }
@keyframes hh-pop { from { transform: scale(0); } }
.hh-steps h3 { font: 600 17px var(--hh-head) !important; margin-bottom: 6px !important; }
.hh-steps p { font-size: 14px; color: var(--hh-muted); max-width: 230px; margin-inline: auto !important; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1199px) {
    .hh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hh-slide__content { max-width: 56%; }
}
@media (max-width: 991px) {
    .hh-hero { padding-top: 12px; }
    .hh-hero__grid { grid-template-columns: 1fr; }
    .hh-slider { min-height: 330px; }
    .hh-hero__side { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 12px; }
    .hh-tile { min-height: 140px; padding: 18px; }
    .hh-tile__copy strong { font-size: 19px; }
    .hh-trust { grid-template-columns: 1fr 1fr; }
    .hh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hh-steps { grid-template-columns: 1fr 1fr; row-gap: 30px; }
    .hh-steps::before { display: none; }
    .hh-slider__arrow { display: none; }
}
@media (max-width: 767px) {
    .hh-slider { min-height: 0; aspect-ratio: auto; }
    .hh-slider__track { position: relative; display: grid; }
    .hh-slide { position: relative; grid-area: 1 / 1; flex-direction: column; align-items: flex-start; padding: 22px 20px 46px; min-height: 380px; }
    .hh-slide__content { max-width: 100%; }
    .hh-slide__title { font-size: 27px !important; margin: 12px 0 8px !important; }
    .hh-slide__text { font-size: 14px; max-width: 70%; }
    .hh-slide__cta { margin-top: 18px; }
    .hh-btn--lg { height: 48px; padding: 0 22px; font-size: 15px; }
    .hh-slide__img { width: 92%; height: 64%; top: auto; bottom: -8%; right: -16%; transform: scale(1.1); }
    .hh-slide.is-active .hh-slide__img { transform: none; }
    .hh-slide--ocean .hh-slide__text { max-width: 100%; }
    .hh-slide--ocean { padding-bottom: 210px; }
    .hh-slide__photo { position: relative; right: auto; top: auto; width: 52%; margin: 18px 0 0 auto; transform: rotate(6deg) scale(.86); }
    .hh-slide.is-active .hh-slide__photo { transform: rotate(-3deg); }
    .hh-slide__photo--round { width: 46%; }
    .hh-slider__dots { left: 20px; bottom: 16px; }
    .hh-cats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 92px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; gap: 14px; }
    .hh-cats::-webkit-scrollbar { display: none; }
    .hh-cat__img { width: 82px; height: 82px; }
    .hh-cat strong { font-size: 13px; }
    .hh-cat small { font-size: 11.5px; }
    .hh-trust { gap: 10px; }
    .hh-trust li { flex-direction: column; text-align: center; gap: 8px; padding: 14px 8px; }
    .hh-trust strong { font-size: 13.5px; }
    .hh-trust small { font-size: 12px; }
    .hh-deals .hh-head { padding: 12px; }
    .hh-promos { grid-template-columns: 1fr; gap: 12px; }
    .hh-promo { min-height: 170px; padding: 20px; }
    .hh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .hh-tabs button { height: 42px; font-size: 13px; }
    .hh-tabs button img, .hh-tabs__all { width: 30px; height: 30px; }
}
@media (max-width: 575px) {
    .hh-hero__side { gap: 10px; }
    .hh-tile { min-height: 120px; padding: 14px; border-radius: var(--hh-r-lg); }
    .hh-tile__copy { max-width: 70%; }
    .hh-tile__copy small { font-size: 11.5px; }
    .hh-tile__copy strong { font-size: 16px; }
    .hh-tile__copy em { font-size: 12px; margin-top: 4px; }
    .hh-tile__img { height: 62%; right: 8px; }
    .hh-steps { gap: 24px 10px; }
    .hh-steps__icon { width: 70px; height: 70px; font-size: 28px; }
    .hh-steps h3 { font-size: 15px !important; }
    .hh-steps p { font-size: 13px; }
}

/* =====================================================================
   Motion layer — ticker, hero entrance, Ken Burns, idle floats
   ===================================================================== */
.hh-js [data-reveal="hero"] { transform: scale(.965); }

/* Slow push-in on the active slide's photo (uses `scale` so it stacks with the slide transform) */
.hh-slide.is-active .hh-slide__img, .hh-slide.is-active .hh-slide__photo img { animation: hh-kenburns 9s ease-out both; }
@keyframes hh-kenburns { from { scale: 1; } to { scale: 1.045; } }
.hh-slide__tag { animation: hh-float 4s ease-in-out infinite; }
@keyframes hh-float { 50% { translate: 0 -4px; } }

/* Ticker band */
.hh-ticker { position: relative; margin-top: 22px; overflow: hidden; background: var(--hh-ocean); color: #fff; }
.hh-ticker::before, .hh-ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 1; pointer-events: none; }
.hh-ticker::before { left: 0; background: linear-gradient(90deg, var(--hh-ocean), transparent); }
.hh-ticker::after { right: 0; background: linear-gradient(-90deg, var(--hh-ocean), transparent); }
.hh-ticker__track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: hh-marquee 38s linear infinite; }
.hh-ticker:hover .hh-ticker__track { animation-play-state: paused; }
.hh-ticker li { display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; white-space: nowrap; font: 600 14px var(--hh-font); letter-spacing: .01em; }
.hh-ticker li::after { content: ""; width: 6px; height: 6px; margin-left: 46px; border-radius: 50%; background: var(--hh-amber); box-shadow: 0 0 0 4px rgba(249, 171, 1, .2); }
.hh-ticker li i { font-size: 18px; color: var(--hh-amber); }
@keyframes hh-marquee { to { transform: translateX(-50%); } }

/* Category bubbles: gentle idle bob, staggered */
.hh-cat.is-in .hh-cat__img { animation: hh-bob 5s ease-in-out infinite; animation-delay: calc(var(--d, 0) * -.7s); }
.hh-cat:hover .hh-cat__img { animation-play-state: paused; }
@keyframes hh-bob { 50% { translate: 0 -5px; } }

/* Trust tiles: icon pops in after the tile */
.hh-trust li.is-in span { animation: hh-icon-in .7s var(--hh-spring) calc(var(--d, 0) * 80ms + .25s) backwards; }
@keyframes hh-icon-in { from { transform: scale(.4) rotate(-20deg); opacity: 0; } }

/* Section kicker icon wiggle when the head appears */
.hh-head.is-in .hh-kicker i { animation: hh-wiggle .9s var(--hh-ease) .3s; }
@keyframes hh-wiggle { 25% { transform: rotate(-14deg) scale(1.2); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-4deg); } }

/* Promo banners: drifting glow */
.hh-promo::after { content: ""; position: absolute; width: 180px; height: 180px; left: 40%; top: -90px; border-radius: 50%; background: rgba(255, 255, 255, .14); z-index: -1; animation: hh-glow-drift 12s ease-in-out infinite alternate; }

@media (max-width: 767px) {
    .hh-ticker { margin-top: 14px; }
    .hh-ticker li { padding: 10px 18px; font-size: 13px; }
    .hh-ticker li::after { margin-left: 30px; }
}

/* Hero follows the pointer a little (hh-home.js sets --mx / --my between -1 and 1) */
.hh-slide__img, .hh-slide__photo { translate: calc(var(--mx, 0) * -16px) calc(var(--my, 0) * -10px); transition-property: transform, opacity, translate; }
.hh-slide__content { translate: calc(var(--mx, 0) * 6px) calc(var(--my, 0) * 4px); transition: translate .8s var(--hh-ease); }

/* ============================== SHOP BY BUDGET ============================== */
.hh-budget__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.hh-recent { padding-top: clamp(36px, 4.5vw, 60px); }
.hh-budget__card {
    --c: var(--hh-ocean); --bg: var(--hh-ocean-50);
    position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 2px;
    padding: 22px 22px 20px; border-radius: var(--hh-r-xl); background: var(--bg); border: 1px solid transparent; color: var(--hh-ink);
    transition: transform .5s var(--hh-ease), box-shadow .5s var(--hh-ease), border-color .3s;
}
.hh-budget__card--1 { --c: var(--hh-red); --bg: var(--hh-red-50); }
.hh-budget__card--2 { --c: var(--hh-amber-600); --bg: var(--hh-amber-50); }
.hh-budget__card--3 { --c: var(--hh-ocean-900); --bg: #E8EEF2; }
.hh-budget__card::before { content: ""; position: absolute; width: 150px; height: 150px; right: -50px; top: -60px; border-radius: 50%; background: var(--c); opacity: .08; z-index: -1; transition: transform .7s var(--hh-ease); }
.hh-budget__card > i { width: 52px; height: 52px; margin-bottom: 14px; display: grid; place-items: center; border-radius: 16px; background: var(--c); color: #fff; font-size: 26px; box-shadow: 0 12px 22px -12px var(--c); transition: transform .55s var(--hh-spring); }
.hh-budget__card small { font: 600 12.5px var(--hh-font); color: var(--hh-muted); }
.hh-budget__card strong { font: 700 21px/1.25 var(--hh-head); }
.hh-budget__card span { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font: 600 13px var(--hh-font); color: var(--c); }
.hh-budget__card span i { transition: transform .4s var(--hh-ease); }
.hh-budget__card:hover { transform: translateY(-6px); border-color: rgba(14, 34, 51, .06); box-shadow: 0 22px 40px -22px rgba(14, 34, 51, .35); }
.hh-budget__card:hover::before { transform: scale(1.6); }
.hh-budget__card:hover > i { transform: rotate(-10deg) scale(1.08); }
.hh-budget__card:hover span i { transform: translateX(5px); }
@media (max-width: 575px) { .hh-budget__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    .hh-budget__grid { gap: 10px; }
    .hh-budget__card { padding: 16px 14px; border-radius: var(--hh-r-lg); }
    .hh-budget__card > i { width: 42px; height: 42px; font-size: 21px; border-radius: 12px; margin-bottom: 10px; }
    .hh-budget__card strong { font-size: 16px; }
}
