/* =========================================================
   THE SPROUT HERO EXPERIENCE SLIDER
   Brand fonts: Playfair Display + Work Sans
   Brand colours: Forest Green + Warm Gold
   Developed by Geo Pomona ICT
========================================================= */

:root {
    --sprout-hero-green: #345641;
    --sprout-hero-green-soft: #5d7867;
    --sprout-hero-gold: #96684E;
    --sprout-hero-gold-light: #c49a6c;
    --sprout-hero-cream: #f6f1ea;
    --sprout-hero-muted: #d9c6ae;
}

.sprout-hero-experience,
.sprout-hero-experience * {
    box-sizing: border-box;
}

.sprout-hero-experience {
    position: relative;
    width: calc(100% - 48px);
    max-width: var(--sprout-hero-max-width, 1400px);
    height: var(--sprout-hero-height, 78vh);
    min-height: 560px;
    margin: 24px auto 36px;
    border-radius: var(--sprout-hero-radius, 32px);
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 80%, rgba(150, 104, 78, 0.35), transparent 32%),
        linear-gradient(135deg, #1f3529 0%, #345641 100%);
    isolation: isolate;
}

.sprout-hero-track,
.sprout-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sprout-hero-slide {
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: clamp(34px, 5vw, 72px);
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.02);
    transition: opacity 900ms ease, visibility 900ms ease, transform 3600ms ease;
}

.sprout-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.sprout-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to right, rgba(0,0,0, calc(var(--sprout-hero-overlay, 0.62) + 0.10)) 0%, rgba(0,0,0, calc(var(--sprout-hero-overlay, 0.62) - 0.05)) 42%, rgba(0,0,0, calc(var(--sprout-hero-overlay, 0.62) - 0.30)) 100%),
        linear-gradient(to top, rgba(0,0,0, calc(var(--sprout-hero-overlay, 0.62) + 0.12)) 0%, rgba(0,0,0, calc(var(--sprout-hero-overlay, 0.62) - 0.12)) 42%, rgba(0,0,0, calc(var(--sprout-hero-overlay, 0.62) - 0.35)) 100%);
}

.sprout-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    box-shadow: inset 0 0 160px rgba(0,0,0,0.42);
}

.sprout-hero-content {
    position: relative;
    z-index: 3;
    width: min(100%, 660px);
    color: var(--sprout-hero-cream);
    padding-bottom: clamp(8px, 2vh, 24px);
}

.sprout-hero-eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    font-family: 'Work Sans', Arial, sans-serif;
    font-size: clamp(12px, 1vw, 15px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: rgba(246, 241, 234, 0.90);
}

.sprout-hero-eyebrow::after {
    content: "";
    width: 54px;
    height: 1px;
    background: var(--sprout-hero-gold-light);
    opacity: 0.85;
}

.sprout-hero-title {
    margin: 0 0 20px;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(44px, 6.7vw, 92px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: #ffffff;
    text-wrap: balance;
    max-width: 760px;
}

.sprout-hero-text {
    max-width: 650px;
    margin: 0 0 30px;
    font-family: 'Work Sans', Arial, sans-serif !important;
    font-size: clamp(13px, 1.15vw, 16px);
    font-weight: 500;
    line-height: 1.85;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--sprout-hero-muted);
}

.sprout-hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sprout-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 25px;
    border-radius: 999px;
    font-family: 'Work Sans', Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.035em;
    text-decoration: none !important;
    transition: transform 260ms ease, background-color 260ms ease, color 260ms ease, border-color 260ms ease;
    will-change: transform;
}

.sprout-hero-btn:hover,
.sprout-hero-btn:focus {
    transform: translateY(-2px);
    text-decoration: none !important;
}

.sprout-hero-btn.primary {
    background: var(--sprout-hero-green);
    border: 1px solid var(--sprout-hero-green);
    color: #ffffff !important;
}

.sprout-hero-btn.primary:hover,
.sprout-hero-btn.primary:focus {
    background: var(--sprout-hero-gold);
    border-color: var(--sprout-hero-gold);
    color: #ffffff !important;
}

.sprout-hero-btn.secondary {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.32);
    color: #ffffff !important;
    backdrop-filter: blur(8px);
}

.sprout-hero-btn.secondary:hover,
.sprout-hero-btn.secondary:focus {
    background: rgba(255,255,255,0.20);
    border-color: rgba(255,255,255,0.52);
    color: #ffffff !important;
}

.sprout-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    background: rgba(0,0,0,0.22);
    color: #ffffff;
    font-size: 34px;
    font-family: Georgia, serif;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 260ms ease, border-color 260ms ease, transform 260ms ease;
    backdrop-filter: blur(8px);
}

.sprout-hero-arrow:hover,
.sprout-hero-arrow:focus {
    background: rgba(52,86,65,0.82);
    border-color: rgba(255,255,255,0.38);
}

.sprout-hero-prev { left: 22px; }
.sprout-hero-next { right: 22px; }

.sprout-hero-dots {
    position: absolute;
    right: clamp(28px, 5vw, 72px);
    bottom: clamp(24px, 4vw, 54px);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sprout-hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    cursor: pointer;
    transition: width 260ms ease, background-color 260ms ease, border-color 260ms ease;
}

.sprout-hero-dot.is-active {
    width: 34px;
    background: var(--sprout-hero-gold-light);
    border-color: var(--sprout-hero-gold-light);
}

@media (max-width: 1024px) {
    .sprout-hero-experience {
        width: calc(100% - 32px);
        min-height: 520px;
    }

    .sprout-hero-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .sprout-hero-experience {
        width: calc(100% - 22px);
        height: var(--sprout-hero-mobile-height, 68vh);
        min-height: 510px;
        margin: 14px auto 24px;
        border-radius: min(var(--sprout-hero-radius, 32px), 24px);
    }

    .sprout-hero-slide {
        padding: 32px 24px 38px;
    }

    .sprout-hero-slide::before {
        background:
            linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.50) 58%, rgba(0,0,0,0.24) 100%),
            linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 100%);
    }

    .sprout-hero-eyebrow {
        margin-bottom: 16px;
        letter-spacing: 0.24em;
    }

    .sprout-hero-eyebrow::after {
        width: 38px;
    }

    .sprout-hero-title {
        font-size: clamp(38px, 12vw, 58px);
        line-height: 1.02;
        letter-spacing: -0.03em;
        margin-bottom: 18px;
    }

    .sprout-hero-text {
        font-size: 12px;
        line-height: 1.75;
        letter-spacing: 0.13em;
        margin-bottom: 24px;
    }

    .sprout-hero-buttons {
        gap: 10px;
    }

    .sprout-hero-btn {
        width: 100%;
        min-height: 46px;
        font-size: 13px;
    }

    .sprout-hero-dots {
        right: 24px;
        bottom: 18px;
        gap: 8px;
    }

    .sprout-hero-dot {
        width: 8px;
        height: 8px;
    }

    .sprout-hero-dot.is-active {
        width: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sprout-hero-slide,
    .sprout-hero-btn,
    .sprout-hero-dot,
    .sprout-hero-arrow {
        transition: none !important;
    }
}
