/* Home page */
.hero { position: relative; min-height: 520px; background: linear-gradient(90deg, #f7ede8 35%, #e9d6cc); overflow: hidden; display: flex; align-items: center; }
.hero-media { position: absolute; inset-block: 0; inset-inline-end: 0; width: 64%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); }
[dir="rtl"] .hero-media { -webkit-mask-image: linear-gradient(-90deg, transparent, #000 22%); mask-image: linear-gradient(-90deg, transparent, #000 22%); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.hero-slide.on { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-inner { position: relative; z-index: 2; pointer-events: none; }
.hero-copy { max-width: 440px; pointer-events: auto; padding: 48px 0; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); text-transform: uppercase; color: #3b1a1e; margin: 14px 0 16px; letter-spacing: .01em; }
.hero p { color: var(--muted); margin-bottom: 26px; }
.hero .btn { background: #6b3a35; border-color: #6b3a35; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.hero .btn:hover { background: var(--wine); border-color: var(--wine); }
.hero-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.hero-ctrl .rail-btn { position: static; }
.hero-dots { display: flex; gap: 8px; margin-inline-end: 12px; }
.hero-dot { width: 26px; height: 3px; border-radius: 3px; background: #d6bfb6; transition: .3s; }
.hero-dot.on { width: 48px; background: var(--wine); }

.perks-wrap { margin-top: -30px; position: relative; z-index: 3; }
.perks-wrap .perks { background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }

.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo { position: relative; display: block; min-height: 220px; border-radius: 16px; overflow: hidden; background: var(--cream); }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.promo:hover img { transform: scale(1.04); }
.promo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(246, 236, 231, .95) 30%, rgba(246, 236, 231, 0) 70%); }
[dir="rtl"] .promo::before { background: linear-gradient(-90deg, rgba(246, 236, 231, .95) 30%, rgba(246, 236, 231, 0) 70%); }
.promo-1::before { background: linear-gradient(90deg, rgba(240, 206, 199, .95) 30%, rgba(240, 206, 199, 0) 70%); }
.promo-copy { position: relative; z-index: 2; padding: 34px 26px; max-width: 60%; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.promo h3 { font-size: 28px; color: #3b1a1e; }
.promo .btn { background: #6b3a35; border-color: #6b3a35; }

.banners { display: grid; gap: 20px; margin-top: 20px; }
.banner { display: block; border-radius: 16px; overflow: hidden; min-height: 120px; }
.banner img { width: 100%; height: auto; }

.news { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 34px 40px; border-radius: 18px; background: linear-gradient(90deg, #6b3a35, #8f5a52); color: #fff; margin-top: 30px; }
.news h2 { color: #fff; font-size: 30px; }
.news p { color: #f3dcd5; font-size: 14px; }
.news .btn { background: #fff; color: var(--wine); border-color: #fff; }

@media (max-width: 992px) {
    .hero { min-height: 440px; }
    .hero-media { width: 100%; opacity: .45; -webkit-mask-image: none; mask-image: none; }
    .promos { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .hero { min-height: 400px; }
    .hero-copy { padding: 32px 0 56px; }
    .news { padding: 26px 20px; }
    .promo-copy { max-width: 75%; }
}

/* ---- v2: categories two by two with the slider images between them ---- */
.cat-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.cat-duo.single { grid-template-columns: 1fr; }
.cat-hero { position: relative; display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 3; background: var(--cream); isolation: isolate; }
.cat-duo.single .cat-hero { aspect-ratio: 21 / 8; }
.cat-hero img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cat-hero:hover img { transform: scale(1.03); }
.cat-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(42, 20, 24, .62), rgba(42, 20, 24, 0) 55%); z-index: 0; }
.cat-hero-copy { position: absolute; inset-inline-start: 32px; bottom: 30px; z-index: 1; color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cat-hero-copy .eyebrow { color: #f6e3dc; }
.cat-hero-copy h2 { font-size: clamp(26px, 3vw, 42px); color: #fff; line-height: 1.1; }
.home-slides { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.home-slides.single { grid-template-columns: 1fr; }
.home-slide { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 74 / 38; }
.home-slides.single .home-slide { aspect-ratio: 1500 / 420; }
.home-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner { display: block; border-radius: 18px; overflow: hidden; }
.banner img { width: 100%; height: auto; }
@media (max-width: 760px) {
    .cat-duo, .home-slides { grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
    .cat-hero { aspect-ratio: 4 / 3.2; border-radius: 14px; }
    .cat-hero-copy { inset-inline-start: 18px; bottom: 18px; }
    .home-slide, .home-slides.single .home-slide { aspect-ratio: 16 / 9; border-radius: 14px; }
}

/* ---- hero: the first two categories joined, full height, perks card under them ---- */
main > .cat-duo:first-of-type { margin-top: 0; gap: 0; }
main > .cat-duo:first-of-type .cat-hero { border-radius: 0; aspect-ratio: auto; height: clamp(460px, calc(100vh - 150px), 760px); }
main > .cat-duo:first-of-type .cat-hero img { object-position: center top; }
main > .cat-duo:first-of-type .cat-hero::after { background: linear-gradient(to top, rgba(30, 14, 18, .66), rgba(30, 14, 18, 0) 48%); }
main > .cat-duo:first-of-type .cat-hero-copy { inset-inline-start: 32px; bottom: 34px; }
main > .cat-duo:first-of-type .cat-hero-copy h2 { font-size: clamp(30px, 3.4vw, 48px); }
main > .cat-duo:first-of-type .cat-hero-copy .eyebrow { letter-spacing: .28em; font-size: 12px; }
main > .cat-duo:first-of-type + .home-slides, main > .cat-duo:first-of-type + .cat-duo { margin-top: 20px; }
.cat-duo:first-of-type ~ .perks-wrap, main > .perks-wrap { margin-top: 0; }
.perks-wrap .perks { border-radius: 0 0 18px 18px; border-top: 0; }
@media (max-width: 760px) {
    main > .cat-duo:first-of-type .cat-hero { height: 62vh; min-height: 380px; }
    main > .cat-duo:first-of-type { gap: 0; }
    .perks-wrap .perks { border-radius: 0 0 14px 14px; }
}
