/* Home */

.home-shell {
    padding-bottom: 8px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--scout-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 44px auto;
}

.section-header-left {
    text-align: left;
    margin-left: 0;
}

.section-header h1,
.section-header h2 {
    margin: 14px 0 18px;
    color: var(--scout-green-deep);
    font-size: clamp(2rem, 3.1vw, 3rem);
    font-weight: 700;
    line-height: 1.08;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.04rem;
    line-height: 1.75;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1.16fr);
    gap: clamp(28px, 3vw, 52px);
    align-items: stretch;
    margin-top: 46px;
    margin-bottom: 48px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-copy h2 {
    color: var(--scout-green-deep);
    font-size: clamp(2.5rem, 4.2vw, 4.8rem);
    font-weight: 700;
    line-height: 1.02;
    max-width: 12ch;
}

.hero-lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 62ch;
}

.hero-actions,
.visit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-primary,
.btn-secondary,
.card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--scout-green) 0%, #46764d 100%);
    color: white;
    box-shadow: 0 18px 36px rgba(53, 94, 59, 0.18);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(53, 94, 59, 0.24);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(10, 49, 140, 0.12);
    color: var(--scout-blue);
    box-shadow: 0 14px 28px rgba(8, 31, 86, 0.08);
}

.btn-secondary:hover,
.card-link:hover {
    transform: translateY(-2px);
    background: var(--scout-blue);
    color: white;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-highlights li,
.trust-item {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 14px 30px rgba(17, 39, 24, 0.06);
}

.hero-highlights strong,
.trust-item h3 {
    display: block;
    color: var(--scout-green-deep);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-highlights span,
.trust-item p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.hero-story-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(237, 234, 25, 0.16), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 247, 241, 0.98) 100%);
    border: 1px solid rgba(53, 94, 59, 0.12);
    box-shadow: var(--shadow-soft);
}

.story-tag,
.experience-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(10, 49, 140, 0.09);
    color: var(--scout-blue);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-story-card h3 {
    margin: 16px 0 14px;
    font-size: 1.55rem;
    line-height: 1.2;
    color: var(--scout-green-deep);
}

.hero-story-card p {
    color: var(--text-muted);
    line-height: 1.75;
}

.slider-container {
    width: 100%;
    min-width: 0;
}

.slider {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    height: 100%;
    border-radius: 34px;
    background: #0d2440;
    box-shadow: 0 30px 60px rgba(8, 31, 86, 0.24);
}

.slider-track {
    display: flex;
    height: 100%;
    min-height: inherit;
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide {
    position: relative;
    min-width: 100%;
    min-height: inherit;
    flex: 0 0 100%;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 21, 49, 0.16) 0%, rgba(9, 21, 49, 0.68) 100%);
}

.slide img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    transition: transform 1.6s ease;
}

.slide.is-active img {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 94px;
    z-index: 1;
    max-width: 35rem;
    color: white;
}

.slide-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.slide-overlay h3 {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.05;
    margin-bottom: 12px;
}

.slide-overlay p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.slider-controls {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.slider-nav-buttons,
.slider-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-btn {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: white;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.slider-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
}

.slider-btn-ghost {
    color: rgba(255, 255, 255, 0.86);
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.34);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.slider-dot.is-active {
    background: var(--scout-yellow);
    transform: scale(1.15);
}

.slider-progress {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
    z-index: 2;
}

.slider-progress-bar {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--scout-yellow) 0%, #fff27c 100%);
}

.trust-strip {
    margin: 0 0 78px;
}

.trust-strip-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.experience-section {
    margin-bottom: 80px;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.experience-card,
.branch-card,
.visit-copy,
.map-frame {
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.experience-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.experience-card:hover,
.branch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(17, 39, 24, 0.14);
}

.experience-card img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
}

.experience-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.experience-copy h3,
.visit-copy h2 {
    color: var(--scout-green-deep);
    font-size: 1.55rem;
    line-height: 1.2;
}

.experience-copy p,
.visit-copy p,
.branch-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.programs-section {
    padding: 76px 0;
    margin-bottom: 76px;
    background:
        radial-gradient(circle at top left, rgba(237, 234, 25, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.54) 0%, rgba(244, 247, 241, 0.86) 100%);
}

.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.branch-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.branch-card:nth-child(1) {
    border-bottom: 5px solid #fce300;
}

.branch-card:nth-child(2) {
    border-bottom: 5px solid #009933;
}

.branch-card:nth-child(3) {
    border-bottom: 5px solid #cc0000;
}

.card-image {
    height: 150px;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.12));
}

.branch-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--scout-green-deep);
    margin-bottom: 10px;
}

.age-range {
    display: inline-block;
    background: rgba(10, 49, 140, 0.08);
    padding: 6px 15px;
    border-radius: 999px;
    font-size: 0.92rem;
    color: var(--scout-blue);
    font-weight: 700;
    margin-bottom: 18px;
}

.card-link {
    margin-top: auto;
    background: rgba(10, 49, 140, 0.08);
    color: var(--scout-blue);
}

.visit-section {
    margin-bottom: 24px;
}

.visit-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
    align-items: stretch;
}

.visit-copy {
    padding: 32px;
}

.visit-copy h2 {
    margin: 14px 0 16px;
}

.visit-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 28px;
}

.visit-list li {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(53, 94, 59, 0.06);
    color: var(--text-muted);
    line-height: 1.6;
}

.visit-list strong {
    color: var(--scout-green-deep);
}

.map-frame {
    min-height: 100%;
    height: 100%;
    min-height: 460px;
    border: 4px solid rgba(255, 255, 255, 0.96);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

@media (max-width: 1160px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-copy h2,
    .section-header h1,
    .section-header h2 {
        max-width: none;
    }

    .slider {
        min-height: 560px;
    }

    .slide,
    .slide img {
        min-height: inherit;
    }

    .hero-highlights,
    .experience-grid,
    .cards-wrapper,
    .visit-grid,
    .trust-strip-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .visit-grid {
        align-items: start;
    }
}

@media (max-width: 840px) {
    .hero {
        margin-top: 28px;
    }

    .hero-copy,
    .section-header-left {
        text-align: left;
    }

    .hero-highlights,
    .experience-grid,
    .cards-wrapper,
    .visit-grid,
    .trust-strip-content {
        grid-template-columns: 1fr;
    }

    .slider {
        min-height: 500px;
    }

    .slide,
    .slide img {
        min-height: inherit;
    }

    .slide-overlay {
        left: 22px;
        right: 22px;
        bottom: 110px;
    }

    .slider-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .slider-nav-buttons,
    .slider-dots {
        justify-content: center;
        flex-wrap: wrap;
    }

    .visit-copy {
        padding: 28px;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 380px;
    }
}

@media (max-width: 560px) {
    .hero-copy h2 {
        font-size: 2.15rem;
        max-width: none;
    }

    .hero-actions,
    .visit-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary,
    .card-link {
        width: 100%;
    }

    .hero-story-card,
    .visit-copy,
    .branch-card {
        padding: 24px;
    }

    .slider {
        min-height: 400px;
        border-radius: 28px;
    }

    .slide,
    .slide img {
        min-height: inherit;
    }

    .slide-overlay {
        left: 18px;
        right: 18px;
        bottom: 138px;
        max-width: none;
    }

    .slide-overlay h3 {
        font-size: 1.6rem;
    }

    .slide-overlay p {
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .slider-controls {
        left: 18px;
        right: 18px;
        bottom: 18px;
        gap: 12px;
    }

    .slider-nav-buttons {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        gap: 8px;
    }

    .slider-btn {
        width: auto;
        min-height: 38px;
        padding: 0 8px;
        justify-content: center;
        font-size: 0.82rem;
        border-radius: 14px;
    }

    .slider-dots {
        gap: 9px;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 320px;
    }
}
