/* ==========================================================================
   Home page
   ========================================================================== */

/* ---------- Hero parallax slider ---------- */
.hero { position: relative; background: #1d1217; overflow: hidden; }
.hero-swiper { height: clamp(520px, 82vh, 760px); }
.hero-slide { position: relative; overflow: hidden; display: flex; align-items: center; }
.hero-slide__bg { position: absolute; inset: -6% -12%; will-change: transform; }
.hero-slide__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.swiper-slide-active .hero-slide__bg img { transform: scale(1); }
.hero-slide__overlay { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(29, 18, 23, .88) 0%, rgba(29, 18, 23, .55) 45%, rgba(29, 18, 23, .1) 100%); }
.hero-slide__content { position: relative; z-index: 2; color: #fff; max-width: 640px; }
.hero-slide__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: .4rem 1.1rem; border-radius: 999px; background: rgba(200, 160, 74, .2); border: 1px solid rgba(200, 160, 74, .55); color: #f5dea8; font-weight: 700; font-size: .92rem; margin-bottom: 1.2rem; backdrop-filter: blur(4px); }
.hero-slide__title { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.3; margin-bottom: 1rem; text-shadow: 0 4px 30px rgba(0, 0, 0, .3); }
.hero-slide__subtitle { font-size: clamp(1rem, 1.6vw, 1.2rem); color: #eadde2; margin-bottom: 2rem; max-width: 520px; }
.hero-slide__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-controls { position: absolute; bottom: 40px; inset-inline: 0; z-index: 5; pointer-events: none; }
.hero-controls .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero-controls .hero-nav { display: flex; gap: 10px; pointer-events: auto; }
.hero-controls .swiper-nav-btn { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.hero-controls .swiper-nav-btn:hover { background: #fff; color: var(--brand); }
.hero-pagination { position: static !important; width: auto !important; pointer-events: auto; display: flex; align-items: center; gap: 4px; }
.hero-pagination .swiper-pagination-bullet { background: #fff; opacity: .45; }
.hero-pagination .swiper-pagination-bullet-active { opacity: 1; background: var(--gold); }
.hero-progress { position: absolute; top: 0; inset-inline-start: 0; height: 4px; width: 100%; z-index: 6; background: rgba(255, 255, 255, .1); }
.hero-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), #f5dea8); }
.hero-progress span.is-running { animation: heroProgress linear forwards; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }

.hero-scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 5; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px; display: none; }
.hero-scroll::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(16px); } }
@media (min-width: 992px) { .hero-scroll { display: block; } }

/* Floating decorative shapes in the hero */
.hero-shape { position: absolute; z-index: 1; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.hero-shape.shape-1 { width: 140px; height: 140px; background: radial-gradient(circle, rgba(200, 160, 74, .45), transparent 70%); top: 12%; inset-inline-end: 8%; }
.hero-shape.shape-2 { width: 90px; height: 90px; background: radial-gradient(circle, rgba(194, 65, 111, .5), transparent 70%); bottom: 22%; inset-inline-end: 30%; }

@media (max-width: 767.98px) {
    .hero-slide__overlay { background: linear-gradient(0deg, rgba(29, 18, 23, .92) 0%, rgba(29, 18, 23, .55) 60%, rgba(29, 18, 23, .25) 100%); }
    .hero-slide { align-items: flex-end; padding-bottom: 110px; }
    .hero-controls { bottom: 28px; }
}

/* ---------- Features strip (overlapping the hero) ---------- */
.features-strip { position: relative; z-index: 4; margin-top: -48px; }
.features-strip .feature-box { box-shadow: var(--shadow); border-color: transparent; }
@media (max-width: 991.98px) { .features-strip { margin-top: 24px; } }

/* ---------- Occasions ---------- */
.occasion-card { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; isolation: isolate; }
.occasion-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); z-index: -2; }
.occasion-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(29, 18, 23, .85) 0%, rgba(29, 18, 23, .15) 60%); z-index: -1; transition: background .4s var(--ease); }
.occasion-card:hover img { transform: scale(1.1) rotate(-1deg); }
.occasion-card:hover::before { background: linear-gradient(0deg, rgba(139, 30, 70, .9) 0%, rgba(139, 30, 70, .2) 70%); }
.occasion-card__content { position: absolute; inset-inline: 0; bottom: 0; padding: 1.3rem; color: #fff; }
.occasion-card__content h3 { color: #fff; font-size: 1.2rem; margin: 0 0 .2rem; }
.occasion-card__content p { margin: 0; font-size: .85rem; color: #f0e2e7; }
.occasion-card__arrow { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); color: #fff; backdrop-filter: blur(6px); transform: scale(.6); opacity: 0; transition: all .35s var(--ease); }
.occasion-card:hover .occasion-card__arrow { transform: scale(1); opacity: 1; }

/* ---------- Categories ---------- */
.category-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .8rem; color: var(--ink); }
.category-card__img { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; padding: 6px; background: conic-gradient(from 180deg, var(--brand), var(--gold), var(--brand)); transition: transform .4s var(--ease); }
.category-card__img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; }
.category-card:hover .category-card__img { transform: translateY(-6px) rotate(4deg); }
.category-card h3 { font-size: 1rem; margin: 0; }
.category-card span { font-size: .8rem; color: var(--muted); }
.category-card:hover h3 { color: var(--brand); }

/* ---------- Budget finder ---------- */
.budget-card { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); height: 100%; overflow: hidden; transition: all .35s var(--ease); }
.budget-card::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: var(--brand-soft); top: -60px; inset-inline-end: -50px; transition: transform .5s var(--ease); }
.budget-card > * { position: relative; z-index: 1; }
.budget-card .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: linear-gradient(135deg, var(--brand), #c2416f); color: #fff; }
.budget-card h3 { font-size: 1.15rem; margin: .3rem 0 0; }
.budget-card small { color: var(--muted); font-weight: 600; }
.budget-card .go { margin-top: auto; font-weight: 800; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.budget-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.budget-card:hover::after { transform: scale(3.2); }

/* ---------- Product tabs ---------- */
.product-tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); flex-wrap: wrap; justify-content: center; }
.product-tabs .nav-link { border-radius: 999px; color: var(--ink); font-weight: 700; padding: .55rem 1.4rem; border: 0; }
.product-tabs .nav-link.active { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(139, 30, 70, .3); }
.tab-pane.fade { transition: opacity .35s var(--ease); }

/* ---------- Promo parallax banner ---------- */
.promo-banner { position: relative; overflow: hidden; padding: 110px 0; color: #fff; isolation: isolate; }
.promo-banner__bg { position: absolute; inset: -25% 0; z-index: -2; will-change: transform; }
.promo-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.promo-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(106, 21, 53, .92), rgba(29, 18, 23, .75)); }
.promo-banner h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); }
.promo-banner p { color: #f1dfe6; font-size: 1.1rem; }
.countdown { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.8rem 0 2rem; }
.countdown__item { min-width: 84px; padding: .9rem .6rem; border-radius: 18px; text-align: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.countdown__item strong { display: block; font-size: 2rem; font-weight: 800; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.countdown__item span { font-size: .8rem; color: #f1dfe6; }
.promo-floating { position: relative; }
.promo-floating img { border-radius: 28px; box-shadow: var(--shadow-lg); border: 6px solid rgba(255, 255, 255, .15); }
.promo-floating .promo-badge { position: absolute; top: -18px; inset-inline-start: -18px; width: 110px; height: 110px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 800; line-height: 1.2; box-shadow: var(--shadow); animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- How it works ---------- */
.step-card { position: relative; text-align: center; padding: 2rem 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; transition: all .35s var(--ease); }
.step-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.step-card .step-number { position: absolute; top: 14px; inset-inline-end: 18px; font-size: 2.6rem; font-weight: 800; color: var(--brand-soft); line-height: 1; }
.step-card .icon { width: 76px; height: 76px; margin: 0 auto 1.2rem; border-radius: 24px; display: grid; place-items: center; font-size: 2rem; background: var(--gold-soft); color: var(--gold); transition: all .35s var(--ease); }
.step-card:hover .icon { background: var(--brand); color: #fff; transform: rotate(-8deg); }
.step-card h3 { font-size: 1.1rem; }
.step-card p { color: var(--muted); margin: 0; font-size: .92rem; }

/* ---------- Testimonials ---------- */
.testimonial-card { padding: 1.8rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; gap: 1rem; }
.testimonial-card .quote-icon { font-size: 2.2rem; color: var(--brand-soft); line-height: 1; }
.testimonial-card p { margin: 0; color: var(--ink); flex: 1; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), #c2416f); color: #fff; font-weight: 800; }
.testimonial-card .author strong { display: block; }
.testimonial-card .author small { color: var(--muted); }
.testimonial-card .product-link { font-size: .85rem; font-weight: 700; }
.testimonials-swiper { padding-bottom: 50px !important; }
.testimonial-photo { position: relative; margin: -1.8rem -1.8rem 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.testimonial-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.testimonial-card:hover .testimonial-photo img { transform: scale(1.06); }
.testimonial-photo .photo-tag { position: absolute; bottom: 10px; inset-inline-start: 10px; padding: .2rem .7rem; border-radius: 999px; background: rgba(29, 18, 23, .7); color: #fff; font-size: .75rem; font-weight: 700; backdrop-filter: blur(4px); }
.testimonial-card { overflow: hidden; }

/* ---------- Offer popup ---------- */
.offer-popup .modal-content { border: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.offer-popup.fade .modal-dialog { transform: scale(.85) translateY(20px); transition: transform .45s var(--ease); }
.offer-popup.show .modal-dialog { transform: none; }
.offer-popup__close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; background-color: #fff; border-radius: 50%; padding: .6rem; opacity: 1; box-shadow: var(--shadow-sm); }
.offer-popup__media { position: relative; min-height: 260px; }
.offer-popup__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-popup__badge { position: absolute; bottom: 18px; inset-inline-start: 18px; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: #d63939; color: #fff; font-size: 1.5rem; font-weight: 800; box-shadow: var(--shadow); animation: float 3.5s ease-in-out infinite; }
.offer-popup__body { padding: 2.4rem 2rem; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(160deg, #fff, var(--brand-soft)); }
.offer-popup__body .eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: .3rem 1rem; border-radius: 999px; background: var(--gold-soft); color: #9c7a2c; font-weight: 800; font-size: .85rem; margin-bottom: 1rem; }
.offer-popup__body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .8rem; }
.offer-popup__body p { color: var(--muted); margin-bottom: 1.6rem; }
@media (max-width: 767.98px) { .offer-popup__media { min-height: 200px; } .offer-popup__body { padding: 1.6rem 1.3rem; } }

/* ---------- Trust counters ---------- */
.trust-numbers { background: linear-gradient(135deg, var(--brand), #a62a58); color: #fff; border-radius: 28px; padding: 2.5rem 1.5rem; }
.trust-numbers strong { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: #fff; }
.trust-numbers span { color: #f3dbe4; font-weight: 600; }
