/* ========================================
   Tours Section
   ======================================== */
.our_tours_section {
    padding: 90px 20px 100px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #f5f0e8;
}

.our_tours_section h1 {
    font-family: 'Cormorant Garamond', serif !important;
}

.our_tours_section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 20% 50%, rgba(164, 210, 130, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 80% 30%, rgba(255, 180, 80, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.container.wrapper {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #a4d282;
    margin-bottom: 14px;
}

.section-header h1 {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 800;
    color: #2c2c2c;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.section-header h1 em {
    font-style: italic;
    color: #e09d32;
}

.header-rule {
    width: 72px;
    height: 4px;
    background: linear-gradient(90deg, #a4d282, #e09d32);
    border-radius: 99px;
    margin: 20px auto 0;
}

.tours-row {
    display: flex;
    align-items: stretch;
}

.tour-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgb(0, 0, 0);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.38s cubic-bezier(.22, .68, 0, 1.2), box-shadow 0.38s ease, border-color 0.3s ease;
    height: 100%;
    cursor: pointer;
}

#tour-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgb(0, 0, 0);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.38s cubic-bezier(.22, .68, 0, 1.2), box-shadow 0.38s ease, border-color 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.tour-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15);
    border-color: rgba(164, 210, 130, 0.45);
}

.middle-card {
    transform: translateY(40px);
}

.middle-card:hover {
    transform: translateY(35px);
}

.tour-card.featured {
    background: #ffffff;
    border-color: rgba(224, 157, 50, 0.25);
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.12);
}

.tour-card.featured:hover {
    border-color: rgba(224, 157, 50, 0.5);
    box-shadow: 0 36px 72px rgba(0, 0, 0, 0.18);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

.card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    pointer-events: none;
}

.card-img-top {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.55s cubic-bezier(.22, .68, 0, 1.1);
}

.tour-card:hover .card-img-top {
    transform: scale(1.07);
}

.card-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(164, 210, 130, 0.6);
    border-radius: 99px;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a4d282;
    z-index: 2;
}

.featured .card-badge {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(224, 157, 50, 0.5);
    color: #e09d32;
}

.card-body {
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: #fde6c9;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 14px;
    line-height: 1.35;
    font-family: 'Cormorant Garamond', serif;
}

.featured .card-title {
    color: #2c2c2c;
    font-size: 1.6rem;
}

.card-text {
    font-size: 1rem;
    color: #5a5a5a;
    line-height: 1.75;
    margin-bottom: 28px;
}

.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.btn-see-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: transparent;
    border: 2px solid rgb(164, 210, 130);
    border-radius: 99px;
    color: #7bb85a;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
    white-space: nowrap;
}

.btn-see-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s;
}

.btn-see-more:hover {
    background: rgba(164, 210, 130, 0.1);
    border-color: #7bb85a;
    color: #6aa34a;
    transform: translateX(2px);
    text-decoration: none;
}

.btn-see-more:hover svg {
    transform: translateX(4px);
}

.featured .btn-see-more {
    border-color: rgba(224, 157, 50, 0.6);
    color: #e09d32;
}

.featured .btn-see-more:hover {
    background: rgba(224, 157, 50, 0.1);
    border-color: #e09d32;
    color: #c88926;
}

.duration-pill {
    font-size: 0.85rem;
    color: #8a8a8a;
    white-space: nowrap;
    font-weight: 500;
}

@media (max-width: 992px) {
    .container.wrapper {
        max-width: 1100px;
    }

    .card-img-top {
        height: 260px;
    }

    .card-title {
        font-size: 1.35rem;
    }

    .featured .card-title {
        font-size: 1.45rem;
    }
}

@media (max-width: 768px) {
    .middle-card {
        transform: translateY(20px);
    }

    .middle-card:hover {
        transform: translateY(15px);
    }

    .card-img-top {
        height: 240px;
    }

    .card-body {
        padding: 24px 26px 28px;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .featured .card-title {
        font-size: 1.35rem;
    }

    .card-text {
        font-size: 0.95rem;
    }

    .btn-see-more {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    .duration-pill {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .our_tours_section {
        padding: 60px 16px 70px;
    }

    .container.wrapper {
        max-width: 100%;
    }

    .middle-card {
        transform: translateY(0);
    }

    .card-img-top {
        height: 220px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .featured .card-title {
        font-size: 1.25rem;
    }

    .card-text {
        font-size: 0.9rem;
    }

    .btn-see-more {
        padding: 8px 20px;
        font-size: 0.8rem;
    }

    .duration-pill {
        font-size: 0.75rem;
    }
}


/* ========================================
   Home page editorial tours refresh
   Scoped so the shared excursion cards keep their existing layout.
   ======================================== */
.home-tours {
    --home-tours-orange: #F59B1A;
    --home-tours-orange-rgb: 245, 155, 26;
    isolation: isolate;
    padding: clamp(5.5rem, 9vw, 8.5rem) 1.25rem;
    color: var(--text-dark);
    background:
        radial-gradient(circle at 8% 12%, rgba(var(--home-tours-orange-rgb), 0.48) 0, rgba(var(--home-tours-orange-rgb), 0.13) 22%, transparent 43%),
        radial-gradient(circle at 88% 16%, rgba(102, 184, 190, 0.5) 0, rgba(102, 184, 190, 0.12) 26%, transparent 47%),
        radial-gradient(circle at 72% 88%, rgba(126, 181, 162, 0.4) 0, rgba(126, 181, 162, 0.08) 25%, transparent 46%),
        linear-gradient(135deg, #eef8f5 0%, #dceeea 43%, #f7eee5 100%);
}

.home-tours::before {
    inset: auto;
    top: 5%;
    right: -18%;
    z-index: 0;
    width: min(58vw, 48rem);
    aspect-ratio: 1.7;
    border-radius: 48% 52% 58% 42% / 46% 42% 58% 54%;
    background:
        radial-gradient(circle at 28% 42%, rgba(var(--home-tours-orange-rgb), 0.34), transparent 38%),
        radial-gradient(circle at 70% 54%, rgba(48, 149, 155, 0.3), transparent 43%),
        linear-gradient(125deg, rgba(255, 255, 255, 0.44), transparent 70%);
    filter: blur(2.65rem);
    opacity: 0.86;
    animation: homeToursAuroraFlow 15s ease-in-out infinite alternate;
    will-change: transform, border-radius;
}

.home-tours::after {
    content: '';
    position: absolute;
    inset: auto;
    left: -10rem;
    bottom: -12rem;
    z-index: 0;
    width: min(46vw, 38rem);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 64% 36% 46% 54% / 48% 57% 43% 52%;
    background:
        radial-gradient(circle at 66% 30%, rgba(255, 255, 255, 0.42), transparent 28%),
        linear-gradient(145deg, rgba(67, 143, 147, 0.2), rgba(var(--home-tours-orange-rgb), 0.06));
    box-shadow:
        inset 1.125rem 1rem 2.125rem rgba(255, 255, 255, 0.38),
        inset -1.25rem -1.125rem 2.625rem rgba(48, 116, 121, 0.1),
        0 1.875rem 5rem rgba(42, 101, 106, 0.08);
    -webkit-backdrop-filter: blur(0.5rem);
    backdrop-filter: blur(0.5rem);
    pointer-events: none;
    animation: homeToursGlassBlobDrift 14s ease-in-out infinite alternate;
    will-change: transform, border-radius;
}

.home-tours__orb {
    position: absolute;
    z-index: 0;
    display: block;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.4), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08));
    box-shadow:
        inset 0.3rem 0.3rem 0.8rem rgba(255, 255, 255, 0.5),
        inset -0.5rem -0.55rem 1.125rem rgba(42, 101, 106, 0.08),
        0 1rem 2.125rem rgba(42, 101, 106, 0.1);
    -webkit-backdrop-filter: blur(0.4rem);
    backdrop-filter: blur(0.4rem);
    pointer-events: none;
    will-change: transform;
}

.home-tours__orb::before,
.home-tours__orb::after {
    position: absolute;
    content: '';
    border-radius: inherit;
    pointer-events: none;
}

.home-tours__orb::before {
    inset: 18%;
    border: 1px solid currentColor;
    opacity: 0.34;
}

.home-tours__orb::after {
    inset: 38%;
    background: currentColor;
    opacity: 0.16;
}

.home-tours__orb--one {
    top: 11%;
    left: 3%;
    width: clamp(3.4rem, 6vw, 5.75rem);
    color: var(--home-tours-orange);
    animation: homeToursOrbOne 14s ease-in-out infinite;
}

.home-tours__orb--two {
    right: 5%;
    bottom: 9%;
    width: clamp(2.4rem, 4vw, 3.9rem);
    color: #458785;
    animation: homeToursOrbTwo 12s ease-in-out infinite;
}

@keyframes homeToursAuroraFlow {
    0% {
        border-radius: 48% 52% 58% 42% / 46% 42% 58% 54%;
        transform: translate3d(0, 0, 0) rotate(-3deg) scale(0.96);
    }
    100% {
        border-radius: 58% 42% 44% 56% / 40% 58% 42% 60%;
        transform: translate3d(-10%, 12%, 0) rotate(7deg) scale(1.08);
    }
}

@keyframes homeToursGlassBlobDrift {
    0% {
        border-radius: 64% 36% 46% 54% / 48% 57% 43% 52%;
        transform: translate3d(0, 0, 0) rotate(0deg) scale(0.96);
    }
    100% {
        border-radius: 43% 57% 61% 39% / 57% 42% 58% 43%;
        transform: translate3d(2.4rem, -1.6rem, 0) rotate(8deg) scale(1.06);
    }
}

@keyframes homeToursOrbOne {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    45% {
        transform: translate3d(1.25rem, -1.1rem, 0) rotate(115deg);
    }
    72% {
        transform: translate3d(0.5rem, 0.9rem, 0) rotate(210deg);
    }
}

@keyframes homeToursOrbTwo {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-1.5rem, -1.25rem, 0) scale(1.14);
    }
}

.home-tours .home-tours__inner {
    position: relative;
    z-index: 1;
    max-width: 1240px;
}

.home-tours .home-tours__header {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    align-items: end;
    gap: 3rem;
    margin: 0 0 clamp(3rem, 6vw, 5rem);
    text-align: left;
}

.home-tours__heading {
    position: relative;
}

.home-tours__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
}

.home-tours__eyebrow::before {
    content: '';
    width: 2.5rem;
    height: 1px;
    background: currentColor;
}

.home-tours .home-tours__header h2 {
    max-width: 10ch;
    margin: 0;
    color: var(--navy);
    font-family: 'Cormorant Garamond', serif !important;
    font-size: clamp(3.2rem, 6.5vw, 5.75rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.84;
}



.home-tours__intro {
    max-width: 34rem;
    margin: 0 0 0.25rem;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(243, 120, 19, 0.7);
    color: var(--text-mid);
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.75;
}

.home-tours .home-tours__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(1.15rem, 2.25vw, 1.8rem);
}

.home-tours .home-tour-card {
    position: relative;
    display: flex;
    min-width: 0;
    height: auto;
    overflow: hidden;
    border: 1px solid #2c3e4e;
    border-radius: 1.75rem;
    background: #fffdf9;
    box-shadow: 0 1rem 2.75rem rgba(29, 42, 52, 0.09);
    cursor: default;
    transition:
        translate 420ms cubic-bezier(0.2, 0.72, 0.24, 1),
        box-shadow 420ms ease,
        border-color 300ms ease;
}

.home-tours .home-tour-card--featured {
    translate: 0 -1.25rem;
    border-color: rgba(44, 62, 78, 0.25);
    background: #f37813;
    box-shadow: 0 1.5rem 3.75rem rgba(29, 42, 52, 0.16);
}

.home-tours .home-tour-card:hover {
    translate: 0 -0.65rem;
    border-color: rgba(243, 120, 19, 0.36);
    box-shadow: 0 1.75rem 4.5rem rgba(29, 42, 52, 0.16);
}

.home-tours .home-tour-card--featured:hover {
    translate: 0 -1.75rem;
}

.home-tours .home-tour-card__media {
    position: relative;
    height: clamp(16rem, 23vw, 19.25rem);
    overflow: hidden;
    background: var(--navy);
}

.home-tours .home-tour-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    height: auto;
    background:
        linear-gradient(180deg, rgba(10, 20, 27, 0.28) 0%, transparent 35%),
        linear-gradient(0deg, rgba(10, 20, 27, 0.22) 0%, transparent 32%);
    pointer-events: none;
}

.home-tours .home-tour-card__image {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    transform: scale(1.002);
    transition: transform 700ms cubic-bezier(0.2, 0.72, 0.24, 1);
}

.home-tours .home-tour-card:hover .home-tour-card__image {
    transform: scale(1.065);
}

.home-tours .home-tour-card__badge {
    position: absolute;
    z-index: 2;
    top: 1.15rem;
    left: 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(18, 31, 40, 0.68);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 1;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.home-tours .home-tour-card__badge > span {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0.22rem rgba(243, 120, 19, 0.2);
}

.home-tour-card__number {
    position: absolute;
    z-index: 2;
    top: 0.85rem;
    right: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.28);
}

.home-tours .home-tour-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    min-height: 19rem;
    padding: clamp(1.5rem, 2.5vw, 2rem);
    border-radius: 0;
    background: #fffdf9;
    transition: background-color 300ms ease;
}

.home-tours .home-tour-card--featured .home-tour-card__body {
    background: linear-gradient(135deg, #082528 0%, #0d3d42 50%, #1a5a40 100%);
    position: relative;
    overflow: hidden;
}

.home-tours .home-tour-card--featured .home-tour-card__body::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, #F37813 0%, transparent 70%);
    opacity: 0.18;
}

.home-tours .home-tour-card--featured .home-tour-card__kicker {
    color: #fff;
}

.home-tour-card__kicker {
    margin-bottom: 0.55rem;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-tours .home-tour-card__title,
.home-tours .home-tour-card--featured .home-tour-card__title {
    margin: 0 0 0.8rem;
    color: var(--navy);
    font-size: clamp(1.65rem, 2.4vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.home-tours .home-tour-card--featured .home-tour-card__title {
    color: #fff;
}

.home-tours .home-tour-card__text {
    margin: 0 0 1.75rem;
    color: #60717d;
    font-size: 0.96rem;
    line-height: 1.7;
}

.home-tours .home-tour-card--featured .home-tour-card__text {
    color: rgba(255, 255, 255, 0.85);
}

.home-tours .home-tour-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    margin-top: auto;
    padding: 0.15rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    white-space: normal;
}

.home-tours .home-tour-card--featured .home-tour-card__link {
    color: #fff;
}

.home-tours .home-tour-card--featured .home-tour-card__arrow {
    background: #fff;
    color: #2c3e4e;
}

.home-tour-card__arrow {
    display: grid;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    transition: transform 260ms ease, background-color 260ms ease;
}

.home-tours .home-tour-card__link svg {
    width: 1.05rem;
    height: 1.05rem;
    transition: transform 260ms ease;
}

.home-tours .home-tour-card__link:hover {
    border-color: transparent;
    background: transparent;
    color: var(--accent);
    text-decoration: none;
    transform: none;
}

.home-tours .home-tour-card--featured .home-tour-card__link:hover {
    border-color: transparent;
    background: transparent;
    color: #fff;
}

.home-tours .home-tour-card__link:hover .home-tour-card__arrow {
    transform: translateX(0.25rem);
    background: var(--navy);
}

.home-tours .home-tour-card--featured .home-tour-card__link:hover .home-tour-card__arrow {
    background: #fff;
    color: var(--navy);
}

.home-tours .home-tour-card__link:hover svg {
    transform: translateX(0.15rem);
}

.home-tours .home-tour-card__link:focus-visible {
    outline: 3px solid rgba(243, 120, 19, 0.38);
    outline-offset: 0.45rem;
}

@media (max-width: 991.98px) {
    .home-tours .home-tours__header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .home-tours__intro {
        max-width: 42rem;
    }

    .home-tours .home-tours__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-tours .home-tour-card--featured {
        translate: none;
    }

    .home-tours .home-tour-card--featured:hover {
        translate: 0 -0.65rem;
    }

    .home-tours .home-tour-card:last-child {
        grid-column: 1 / -1;
        width: calc((100% - clamp(1.15rem, 2.25vw, 1.8rem)) / 2);
        justify-self: center;
    }
}

@media (max-width: 639.98px) {
    .home-tours {
        padding: 4.75rem 1rem;
    }

    .home-tours::after {
        display: none;
    }

    .home-tours .home-tours__header {
        margin-bottom: 2.5rem;
    }

    .home-tours .home-tours__header h2 {
        font-size: clamp(3.25rem, 18vw, 4.6rem);
    }

    .home-tours__intro {
        padding-left: 1rem;
        font-size: 0.98rem;
    }

    .home-tours .home-tours__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
    }

    .home-tours .home-tour-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .home-tours .home-tour-card__media {
        height: clamp(15rem, 75vw, 19rem);
    }

    .home-tours .home-tour-card__body {
        min-height: 0;
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-tours::before,
    .home-tours::after,
    .home-tours__orb {
        animation: none !important;
    }

    .home-tours .home-tour-card,
    .home-tours .home-tour-card__image,
    .home-tours .home-tour-card__arrow,
    .home-tours .home-tour-card__link svg {
        transition: none;
    }
}
