/* ===========================================================
   Home page — Hero carousel + Quick paths
   Loaded only on index.php via $extraHead.
   =========================================================== */

/* ---------- HERO CAROUSEL ---------- */
.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: min(82vh, 720px);
    min-height: 520px;
    background: #faf6f0;
}
.home-hero__swiper {
    width: 100%;
    height: 100%;
}
.home-hero__swiper .swiper-wrapper { height: 100%; }
.home-hero__slide {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #faf6f0;
}
.home-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 7s ease-out;
}
.home-hero__slide.swiper-slide-active .home-hero__bg {
    transform: scale(1.08);
}
.home-hero__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 193, 7, 0.05) 0%,
        rgba(245, 183, 54, 0.08) 50%,
        rgba(255, 160, 50, 0.14) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 100px;
    pointer-events: none;
}
.home-hero__inner {
    pointer-events: auto;
    max-width: 820px;
    text-align: center;
}
.home-hero__eyebrow {
    display: inline-block;
    margin: 0 0 22px;
    padding: 8px 22px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #F8C96A;
    background: rgba(18, 17, 97, 0.42);
    border: 1px solid rgba(245, 183, 54, 0.55);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.home-hero__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 5.5vw, 4.25rem);
    font-weight: 600;
    line-height: 1.08;
    color: #FFFFFF;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5), 0 0 40px rgba(245, 183, 54, 0.25);
    margin: 0;
    letter-spacing: -0.01em;
}

.home-hero__lead {
    margin: 22px auto 0;
    max-width: 600px;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
    background: black;
    opacity: 51%;
    padding: 5px;
    box-shadow: 8px 5px 20px 1px;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}
.home-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    line-height: 1;
}
.home-hero__btn--primary {
    background: #F5B736;
    color: #1A1887;
    box-shadow: 0 14px 32px -10px rgba(245, 183, 54, 0.65);
}
.home-hero__btn--primary:hover {
    background: #F8C96A;
    transform: translateY(-2px);
    color: #1A1887;
}
.home-hero__btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.home-hero__btn--ghost:hover {
    background: rgba(245, 183, 54, 0.28);
    border-color: #F5B736;
    color: #FFFFFF;
}

/* Swiper pagination — pill bullets */
.home-hero .home-hero__pagination {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.home-hero .home-hero__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
    margin: 0 !important;
    border-radius: 999px;
    transition: width 0.35s ease, background 0.35s ease;
}
.home-hero .home-hero__pagination .swiper-pagination-bullet-active {
    width: 32px;
    background: #F5B736;
}

/* Swiper navigation arrows — circular */
.home-hero .home-hero__nav-prev,
.home-hero .home-hero__nav-next {
    width: 48px;
    height: 48px;
    margin-top: -24px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #FFFFFF;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.home-hero .home-hero__nav-prev:hover,
.home-hero .home-hero__nav-next:hover {
    background: rgba(245, 183, 54, 0.4);
    border-color: rgba(245, 183, 54, 0.8);
}
.home-hero .home-hero__nav-prev::after,
.home-hero .home-hero__nav-next::after {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
}
.home-hero .home-hero__nav-prev { left: 20px; }
.home-hero .home-hero__nav-next { right: 20px; }

@media (max-width: 768px) {
    .home-hero { height: min(68vh, 500px); min-height: 360px; }
    .home-hero__overlay { padding: 36px 16px 72px; }
    .home-hero__eyebrow { font-size: 0.7rem; padding: 6px 18px; }
    .home-hero .home-hero__nav-prev,
    .home-hero .home-hero__nav-next { width: 40px; height: 40px; margin-top: -20px; }
    .home-hero .home-hero__nav-prev::after,
    .home-hero .home-hero__nav-next::after { font-size: 14px; }
    .home-hero .home-hero__nav-prev { left: 10px; }
    .home-hero .home-hero__nav-next { right: 10px; }
}

/* ---------- QUICK PATHS ---------- */
.home-paths {
    position: relative;
    z-index: 5;
    background: #FEFAF5;
    padding: 0 24px;
    margin-top: -72px;
    margin-bottom: 64px;
}
.home-paths__inner {
    max-width: 1140px;
    margin: 0 auto;
}
.home-paths__card-wrap {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 44px 36px 48px;
    box-shadow: 0 28px 70px -24px rgba(26, 24, 135, 0.22);
    border: 1px solid rgba(245, 183, 54, 0.18);
    position: relative;
    overflow: hidden;
}
.home-paths__card-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, transparent, #F5B736, transparent);
    border-radius: 0 0 4px 4px;
}
.home-paths__eyebrow {
    text-align: center;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #F5B736;
}
.home-paths__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    font-weight: 600;
    color: #1A1887;
    text-align: center;
    margin: 10px 0 8px;
    line-height: 1.2;
}
.home-paths__lead {
    text-align: center;
    color: #4a5a52;
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto 32px;
    line-height: 1.55;
}
.home-paths__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 1024px) {
    .home-paths__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.home-paths__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px;
    border-radius: 20px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF6F0 100%);
    border: 1px solid #E8DDD0;
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    color: inherit;
}
.home-paths__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #F5B736, #F8C96A);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}
.home-paths__card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 183, 54, 0.55);
    box-shadow: 0 18px 42px -16px rgba(26, 24, 135, 0.2);
}
.home-paths__card:hover::before { transform: scaleX(1); }
.home-paths__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(245, 183, 54, 0.18) 0%, rgba(245, 183, 54, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F5B736;
    font-size: 1.35rem;
    margin-bottom: 14px;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.home-paths__card:hover .home-paths__icon {
    background: linear-gradient(135deg, rgba(245, 183, 54, 0.32) 0%, rgba(245, 183, 54, 0.22) 100%);
    color: #F5B736;
    transform: scale(1.05);
}
.home-paths__card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.22rem;
    font-weight: 600;
    color: #1A1887;
    margin: 0 0 4px;
    line-height: 1.2;
}
.home-paths__card-desc {
    font-size: 0.88rem;
    color: #4a5a52;
    line-height: 1.45;
    margin: 0;
}

@media (max-width: 900px) {
    .home-paths { padding: 0 16px; margin-top: -50px; margin-bottom: 48px; }
    .home-paths__card-wrap { padding: 28px 18px 32px; border-radius: 22px; }
    .home-paths__card { padding: 22px 16px; border-radius: 16px; }
}
@media (max-width: 480px) {
    .home-hero { min-height: 320px; height: min(62vh, 440px); }
    .home-hero__title { font-size: clamp(1.65rem, 8vw, 2.25rem); }
    .home-hero__lead { font-size: 0.95rem; }
    .home-hero__actions { flex-direction: column; align-items: stretch; }
    .home-hero__actions .home-hero__btn { width: 100%; justify-content: center; }
    .home-hero .home-hero__nav-prev,
    .home-hero .home-hero__nav-next { width: 36px; height: 36px; margin-top: -18px; }
    .home-hero .home-hero__nav-prev { left: 6px; }
    .home-hero .home-hero__nav-next { right: 6px; }
    .home-paths { margin-top: -40px; }
    .home-paths__grid { grid-template-columns: 1fr; }
}
