/* Homepage hero refresh — all remaining homepage sections keep their original design. */
.hero-section.hero-refresh {
    min-height: 680px;
    padding: 96px 0 176px;
    background:
        linear-gradient(90deg, rgba(8, 22, 13, .91) 0%, rgba(8, 22, 13, .75) 46%, rgba(8, 22, 13, .16) 78%),
        url('../images/hero-tanzania.jpg') center 52% / cover no-repeat;
}

.hero-refresh-inner {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 72px;
    align-items: end;
    width: 100%;
}

.hero-refresh .hero-refresh-copy {
    max-width: 700px;
    margin: 0;
    text-align: left;
}

.hero-refresh .hero-badge {
    margin-bottom: 24px;
    padding: 8px 17px;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .25);
    font-size: .76rem;
    letter-spacing: .1em;
}

.hero-refresh .hero-badge i {
    color: #9ed3aa;
}

.hero-refresh .hero-title {
    margin-bottom: 24px;
    font-size: clamp(4rem, 6vw, 6.25rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: .89;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .26);
}

.hero-refresh .hero-title .highlight {
    color: #9ed3aa;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
}

.hero-refresh .hero-desc {
    max-width: 620px;
    margin: 0 0 31px;
    color: rgba(255, 255, 255, .83);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-refresh .hero-actions {
    justify-content: flex-start;
    margin-bottom: 30px;
}

.hero-plan-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 0 8px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .7);
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: gap .2s ease, color .2s ease;
}

.hero-plan-link:hover {
    gap: 13px;
    color: #9ed3aa;
}

.hero-refresh-points {
    display: flex;
    flex-wrap: wrap;
    gap: 11px 24px;
    color: rgba(255, 255, 255, .76);
    font-size: .78rem;
    font-weight: 600;
}

.hero-refresh-points i {
    margin-right: 5px;
    color: #9ed3aa;
}

.hero-glass-card {
    margin-bottom: 8px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 19px;
    background: rgba(15, 30, 19, .43);
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
    backdrop-filter: blur(13px);
}

.hero-glass-label {
    display: inline-block;
    margin-bottom: 26px;
    padding: 6px 10px;
    border-radius: 99px;
    background: rgba(158, 211, 170, .18);
    color: #b9e2c2;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-glass-card h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 1.65rem;
}

.hero-glass-card > p {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .68);
    font-size: .83rem;
}

.hero-glass-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 17px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.hero-glass-footer > span {
    color: rgba(255, 255, 255, .85);
    font-size: .76rem;
    font-weight: 700;
}

.hero-glass-footer > span i {
    margin-right: 5px;
    color: #9ed3aa;
}

.hero-glass-footer a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #15251a;
    transition: transform .2s ease;
}

.hero-glass-footer a:hover {
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .hero-section.hero-refresh {
        min-height: 650px;
        background-position: 64% center;
    }

    .hero-refresh-inner {
        grid-template-columns: 1fr;
    }

    .hero-glass-card {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-section.hero-refresh {
        min-height: 660px;
        padding: 76px 0 156px;
        background:
            linear-gradient(180deg, rgba(8, 22, 13, .82) 0%, rgba(8, 22, 13, .63) 55%, rgba(8, 22, 13, .78) 100%),
            url('../images/hero-tanzania.jpg') 62% center / cover no-repeat;
    }

    .hero-refresh .hero-title {
        font-size: clamp(3.35rem, 17vw, 4.6rem);
    }

    .hero-refresh .hero-desc {
        font-size: .97rem;
        line-height: 1.65;
    }

    .hero-refresh .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .hero-refresh-points {
        display: grid;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-refresh * {
        transition-duration: .01ms !important;
    }
}

/* About section refresh */
.about-section-cream {
    padding: 78px 0;
}

.about-card-box.about-refresh-card {
    padding: 0;
    border-radius: 28px;
    background: #f4f0e6;
}

.about-refresh-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    min-height: 620px;
}

.about-refresh-visual {
    position: relative;
    min-height: 620px;
    overflow: hidden;
}

.about-refresh-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-refresh-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(9, 25, 14, .38));
}

.about-refresh-badge {
    position: absolute;
    z-index: 3;
    top: 28px;
    left: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 13px;
    background: rgba(255, 255, 255, .9);
    color: var(--dark);
    box-shadow: 0 14px 34px rgba(15, 35, 20, .16);
    backdrop-filter: blur(10px);
}

.about-refresh-badge > i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
}

.about-refresh-badge span,
.about-refresh-badge strong {
    display: block;
}

.about-refresh-badge span {
    color: #758178;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.about-refresh-badge strong {
    margin-top: 2px;
    color: var(--dark);
    font-size: .82rem;
    letter-spacing: 0;
    text-transform: none;
}

.about-refresh-inset-img {
    position: absolute;
    z-index: 3;
    left: 26px;
    bottom: 26px;
    width: 185px;
    height: 145px;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, .92);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(7, 24, 12, .24);
    transform: rotate(-3deg);
}

.about-refresh-coast-img {
    position: absolute;
    z-index: 3;
    right: 26px;
    bottom: 26px;
    width: 185px;
    height: 145px;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, .92);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(7, 24, 12, .24);
    transform: rotate(3deg);
}

.about-refresh-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 6vw, 76px);
}

.about-refresh-content .section-title {
    margin: 17px 0 20px;
    font-size: clamp(2.25rem, 4vw, 4.1rem);
    letter-spacing: -.045em;
    line-height: .98;
}

.about-refresh-content .about-desc-tripfy {
    margin-bottom: 25px;
    color: #627068;
    font-size: .98rem;
    line-height: 1.75;
}

.about-refresh-list {
    border-top: 1px solid rgba(15, 35, 22, .13);
}

.about-refresh-list > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 13px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(15, 35, 22, .13);
}

.about-refresh-list > div > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(68, 150, 88, .12);
    color: var(--primary-dark);
    font-size: .67rem;
    font-weight: 800;
}

.about-refresh-list > div > span i {
    font-size: .9rem;
}

.about-refresh-list p,
.about-refresh-list strong {
    display: block;
}

.about-refresh-list p {
    margin: 0;
    color: #738078;
    font-size: .8rem;
    line-height: 1.5;
}

.about-refresh-list strong {
    margin-bottom: 2px;
    color: var(--dark);
    font-size: .9rem;
}

.about-refresh-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 28px;
}

.about-refresh-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: none;
    color: var(--dark);
    font: inherit;
    font-size: .86rem;
    font-weight: 800;
    cursor: pointer;
}

/* Four-card destination slider */
.destinations-section {
    overflow: hidden;
}

.destinations-grid-8 {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 22px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.destinations-grid-8::-webkit-scrollbar {
    display: none;
}

.destinations-grid-8 .dest-card-tripfy {
    flex: 0 0 calc((100% - 66px) / 4);
    height: 365px;
    border-radius: 22px;
    scroll-snap-align: start;
}

/* Full-bleed testimonial band */
.testimonial-dark-section {
    padding: 0;
    background: #0c140e;
}

.testimonial-dark-section > .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.testimonial-dark-section .dark-testimonial-box {
    padding: 72px max(5vw, calc((100vw - 1180px) / 2));
    border-width: 1px 0;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 1024px) {
    .about-refresh-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-refresh-content {
        padding: 42px;
    }

    .destinations-grid-8 .dest-card-tripfy {
        flex-basis: calc((100% - 22px) / 2);
        height: 390px;
    }
}

@media (max-width: 760px) {
    .about-section-cream {
        padding: 55px 0;
    }

    .about-refresh-grid {
        grid-template-columns: 1fr;
    }

    .about-refresh-visual {
        min-height: 420px;
    }

    .about-refresh-content {
        padding: 40px 24px;
    }

    .about-refresh-inset-img,
    .about-refresh-coast-img {
        width: 145px;
        height: 112px;
    }
}

@media (max-width: 600px) {
    .destinations-grid-8 .dest-card-tripfy {
        flex-basis: 100%;
        height: 440px;
    }

    .about-refresh-coast-img {
        display: none;
    }

    .testimonial-dark-section .dark-testimonial-box {
        padding: 52px 22px;
    }
}
