/* ============================================================
   Maguska — homepage sections (loaded on the front page only)
   ============================================================ */

/* Full-bleed colour bands reuse .section padding; set their own ground. */
.section.services, .section.testi, .section.final { color: #fff; }
.section.services { background: linear-gradient(140deg, var(--ink) 0%, #16469c 100%); }
.section.testi { background: var(--ink); }
.section.final { background: linear-gradient(140deg, var(--ink) 0%, #16469c 100%); text-align: center; }

/* ---- Tours ---- */
.tours-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.tours-head .section-head { margin-bottom: 0; }
.filter { margin: 1.8rem 0 2.4rem; }
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.tour-grid .tour-card.is-hidden { display: none; }
.tours-more { text-align: center; margin-top: 2.6rem; }

/* ---- Why Maguska (sticky intro + ruled list) ---- */
.why { background: var(--sand); }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.why-intro h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.why-intro p { color: var(--muted); }
.why-intro .btn { margin-top: 1.6rem; }
.why-list { display: flex; flex-direction: column; }
.why-item { padding: 1.7rem 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; }
.why-item:last-child { border-bottom: 1px solid var(--hairline); }
.why-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--blue); display: grid; place-items: center; flex: none; }
.why-ico svg { width: 23px; height: 23px; color: var(--gold-soft); }
.why-item h3 { font-size: 1.28rem; margin-bottom: 0.4rem; }
.why-item p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* ---- Services (rent car + transfer) ---- */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.svc-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; isolation: isolate; background: var(--ink); color: #fff; }
.svc-card__media { position: absolute; inset: 0; z-index: -2; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,30,59,.15), rgba(8,22,45,.9)); }
.svc-card h3 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.svc-card p { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: 1.3rem; max-width: 38ch; }
.svc-card .btn { align-self: flex-start; }

/* ---- Guide / Oka ---- */
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.guide-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--ink); }
.guide-photo img { width: 100%; height: 100%; object-fit: cover; }
.guide-photo .tag { position: absolute; left: 18px; bottom: 18px; background: #fff; color: var(--blue); padding: 0.6rem 1.1rem; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.9rem; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.guide-body h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1.2rem; text-wrap: balance; }
.guide-quote { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; line-height: 1.4; color: var(--blue); border-left: 3px solid var(--gold); padding-left: 1.3rem; margin-bottom: 1.4rem; }
.guide-body p { color: var(--muted); margin-bottom: 1rem; }

/* ---- Testimonials + stats (dark band) ---- */
.testi-top { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.stats { display: flex; gap: 2.6rem; }
.stat b { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--gold-soft); display: block; line-height: 1; }
.stat small { font-size: 0.82rem; color: rgba(255,255,255,.7); letter-spacing: 0.02em; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-card); padding: 1.7rem; display: flex; flex-direction: column; }
.quote .mark { font-family: var(--font-display); font-size: 2.8rem; line-height: 0.6; color: var(--gold); opacity: 0.7; }
.quote p { font-size: 1.02rem; margin: 0.6rem 0 1.3rem; color: rgba(255,255,255,.92); }
.quote figure { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.quote figure img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote .qavatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--gold-soft); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; flex: none; }
.quote figcaption { font-weight: 700; font-size: 0.92rem; }
.quote figcaption small { display: block; color: rgba(255,255,255,.6); font-weight: 500; font-size: 0.8rem; }

/* ---- Offer band ---- */
.offer { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.offer__media { position: absolute; inset: 0; z-index: -2; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; }
.offer::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,22,45,.95) 0%, rgba(8,22,45,.6) 50%, rgba(196,134,58,.35) 100%); }
.offer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.offer h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 16ch; text-wrap: balance; }
.offer h2 em { font-style: italic; color: var(--gold-soft); }
.offer p { color: rgba(255,255,255,.85); margin-top: 0.7rem; max-width: 44ch; }

/* ---- Gallery (homepage — fixed masonry) ---- */
.home-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.home-gallery a { overflow: hidden; border-radius: 12px; background: var(--ink); }
.home-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.home-gallery a:hover img { transform: scale(1.08); }
.home-gallery .g-tall { grid-row: span 2; }
.home-gallery .g-wide { grid-column: span 2; }

/* ---- Blog (homepage) ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }

/* ---- Final CTA ---- */
.final h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 18ch; margin-inline: auto; text-wrap: balance; }
.final p { color: rgba(255,255,255,.82); max-width: 46ch; margin: 1.1rem auto 2rem; }

/* ---- Responsive ---- */
@media (max-width: 1000px) {
	.tour-grid, .testi-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
	.why-grid, .guide-grid, .svc-grid { grid-template-columns: 1fr; }
	.why-intro { position: static; }
	.home-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
	.tour-grid, .testi-grid, .blog-grid { grid-template-columns: 1fr; }
	.testi-top { grid-template-columns: 1fr; }
	.stats { flex-wrap: wrap; gap: 1.6rem; }
	.offer .container { flex-direction: column; align-items: flex-start; }
	.home-gallery { grid-auto-rows: 160px; }
}
