:root {
    --hero-bg: url("/images/karavans-shaareshuv-images/hero/השכרת\ קרוואנים\ שאר\ ישוב\ \(2\).jpeg");
}

.audience {
    padding-block: var(--gap-8);
    background: linear-gradient(
        180deg,
        var(--c-orange-50),
        rgba(255, 255, 255, 0.92)
    );
}

.audience__header {
    text-align: center;
    max-width: 74ch;
    margin-inline: auto;
}

.audience__title {
    margin: 0;
    font-size: var(--fs-7);
    line-height: 1.12;
    font-weight: 1000;
    color: var(--color-text);
}

.audience__lead {
    margin: var(--gap-2) 0 0 0;
    font-size: var(--fs-3);
    line-height: var(--lh-body);
    color: var(--color-text-soft);
}

.audience__sub-title {
    margin: var(--gap-6) 0 0 0;
    font-size: var(--fs-5);
    line-height: 1.2;
    font-weight: 900;
    color: var(--color-text);
}

.audience__cards {
    list-style: none;
    padding: 0;
    margin: var(--gap-4) 0 0 0;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap-3);
}

.audience-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: var(--gap-5) var(--gap-4);
    min-height: 220px;
    text-align: center;
    flex: 1 1 calc(25% - var(--gap-3));
    max-width: calc(25% - var(--gap-3));

    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(36, 75, 129, 0.18);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.audience-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.audience-card__num {
    top: 16px;
    inset-inline-end: 16px;
    font-size: clamp(2.25rem, 3vw, 3.25rem);
    line-height: 1;
    font-weight: 1000;
    letter-spacing: 0.5px;
    color: rgba(36, 75, 129, 0.28);
}

.audience-card__text {
    margin: 0;
    font-size: var(--fs-3);
    line-height: var(--lh-body);
    font-weight: 700;
    color: var(--color-text);
    max-width: 34ch;
}

.audience__actions {
    margin-top: var(--gap-6);
    display: flex;
    justify-content: center;
}

.audience__cta {
    width: min(560px, 92%);
}

@media (max-width: 1050px) {
    .audience-card {
        min-height: 210px;
        flex-basis: calc(50% - var(--gap-3));
        max-width: calc(50% - var(--gap-3));
    }
}

@media (max-width: 560px) {
    .audience-card {
        min-height: auto;
        padding: var(--gap-4) var(--gap-4);
        flex-basis: 100%;
        max-width: 100%;
    }

    .audience-card__num {
        top: 14px;
        inset-inline-end: 14px;
        font-size: 2.2rem;
    }
}

/* ========================================================================== */
/* Benefits section ("יתרונות") */
/* ========================================================================== */

.benefits {
    padding-block: var(--gap-8);
    background: var(--c-orange-50);
}

.benefits__header {
    text-align: center;
    max-width: 78ch;
    margin-inline: auto;
}

.benefits__title {
    margin: 0;
    font-size: var(--fs-6);
    line-height: 1.12;
    font-weight: 1000;
    color: var(--color-text);
}

.benefits__lead {
    margin: var(--gap-2) 0 0 0;
    font-size: var(--fs-3);
    line-height: var(--lh-body);
    color: var(--color-text-soft);
}

.benefits__grid {
    list-style: none;
    padding: 0;
    margin: var(--gap-6) 0 0 0;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap-5) var(--gap-6);
}

.benefits__item {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-3);

    flex: 1 1 calc(33.333% - var(--gap-6));
    max-width: calc(33.333% - var(--gap-6));
}

.benefits__icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(36, 75, 129, 0.95);
    color: rgba(255, 255, 255, 1);
    font-weight: 1000;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(36, 75, 129, 0.18);
}

.benefits__content {
    min-width: 0;
}

.benefits__item-title {
    margin: 0;
    font-size: var(--fs-4);
    line-height: 1.2;
    font-weight: 1000;
    color: var(--color-text);
}

.benefits__item-text {
    margin: var(--gap-1) 0 0 0;
    font-size: var(--fs-2);
    line-height: var(--lh-body);
    color: rgba(17, 35, 66, 0.78);
}

.benefits__actions {
    margin-top: var(--gap-7);
    display: flex;
    justify-content: center;
}

.benefits__cta {
    width: min(560px, 92%);
}

@media (max-width: 980px) {
    .benefits__grid {
        gap: var(--gap-5);
    }

    .benefits__item {
        flex-basis: calc(50% - var(--gap-5));
        max-width: calc(50% - var(--gap-5));
    }
}

@media (max-width: 560px) {
    .benefits__grid {
        gap: var(--gap-4);
    }

    .benefits__item {
        flex-basis: 100%;
        max-width: 100%;
    }

    .benefits__icon {
        width: 32px;
        height: 32px;
    }
}

/* ========================================================================== */
/* Gallery section */
/* ========================================================================== */

:root {
    --gallery-stage-radius: var(--radius-lg);
    --gallery-thumb-radius: 12px;
    --gallery-thumb-size: 4.5rem;
    --gallery-thumb-gap: var(--gap-2);
}

.gallery {
    padding-block: var(--gap-8);
}

.gallery__inner {
    display: flex;
    flex-direction: column;
    gap: var(--gap-4);
}

.gallery__viewport {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: var(--gap-3);
}

.gallery__title {
    font-size: var(--fs-6);
    font-weight: 800;
}

.gallery__stage {
    position: relative;
    display: flex;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--gallery-stage-radius);
    overflow: hidden;
    border: 1px solid var(--color-border-strong);
    box-shadow: var(--shadow-md);
    background: var(--color-dark-2);
    cursor: zoom-in;
    touch-action: pan-y;
}

.gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery__lightbox {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--gap-3);
    background: rgba(17, 35, 66, 0.78);
}

.gallery__lightbox[hidden] {
    display: none;
}

.gallery__lightbox-dialog {
    display: flex;
    flex-direction: column;
    gap: var(--gap-2);
    width: min(1100px, 100%);
    max-height: calc(100svh - (var(--gap-3) * 2));
}

.gallery__lightbox-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.gallery__lightbox-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(17, 35, 66, 0.55);
    color: var(--color-on-dark);
    cursor: pointer;
}

.gallery__lightbox-close::before,
.gallery__lightbox-close::after {
    content: "";
    position: absolute;
    width: 1.1rem;
    height: 2px;
    background: currentColor;
}

.gallery__lightbox-close {
    position: relative;
}

.gallery__lightbox-close::before {
    transform: rotate(45deg);
}

.gallery__lightbox-close::after {
    transform: rotate(-45deg);
}

.gallery__lightbox-close:focus-visible {
    box-shadow: var(--focus-ring);
}

.gallery__lightbox-figure {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--gallery-stage-radius);
    overflow: hidden;
    background: rgba(17, 35, 66, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery__lightbox-image {
    width: 100%;
    height: auto;
    max-height: calc(100svh - 7rem);
    object-fit: contain;
}

.gallery__controls {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--gap-3);
    pointer-events: none;
    direction: ltr;
}

.gallery__btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(17, 35, 66, 0.45);
    color: var(--color-on-dark);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
        transform 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease;
}

.gallery__btn::before {
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    border: 2px solid currentColor;
    border-top: 0;
    border-left: 0;
    transform: rotate(135deg);
    margin-inline-start: 0.1rem;
}

.gallery__btn--next::before {
    transform: rotate(-45deg);
    margin-inline-start: 0;
    margin-inline-end: 0.1rem;
}

.gallery__btn:hover {
    background: rgba(17, 35, 66, 0.6);
    border-color: rgba(255, 255, 255, 0.32);
}

.gallery__btn:active {
    transform: scale(0.98);
}

.gallery__btn:focus-visible {
    box-shadow: var(--focus-ring);
}

.gallery__thumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gallery-thumb-gap);
    overflow-x: auto;
    padding-block: 0.15rem;
    padding-inline: 0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: rgba(36, 75, 129, 0.35) transparent;
}

.gallery__thumb {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--gallery-thumb-size);
    aspect-ratio: 4 / 3;
    border-radius: var(--gallery-thumb-radius);
    border: 1px solid var(--color-border);
    background: var(--color-card);
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery__thumb[aria-current="true"] {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-color: rgba(218, 101, 36, 0.35);
}

.gallery__thumb:focus-visible {
    box-shadow: var(--focus-ring);
}

@media (max-width: 640px) {
    .gallery__controls {
        padding: var(--gap-2);
    }

    .gallery__btn {
        width: 2.75rem;
        height: 2.75rem;
    }

    :root {
        --gallery-thumb-size: 4rem;
    }
}

@media (max-width: 480px) {
    :root {
        --gallery-thumb-size: 3.75rem;
    }
}

/* ========================================================================== */
/* Service section ("מה כלול בשירות?") */
/* ========================================================================== */

.service {
    padding-block: var(--gap-8);
    background: rgba(255, 255, 255, 0.92);
}

.service__inner {
    display: flex;
    flex-direction: row;

    gap: var(--gap-7);
    align-items: center;
    justify-content: center;
}

.service__media {
    flex: 0 1 420px;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border-strong);
    box-shadow: var(--shadow-md);
    background: var(--c-surface-50);
}

.service__content {
    flex: 1 1 0;
    min-width: 0;
}

.service__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    object-position: left;
}

.service__header {
    width: 100%;
    max-width: 78ch;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-self: center;
}

.service__title {
    margin: 0;
    font-size: var(--fs-7);
    line-height: 1.12;
    font-weight: 1000;
    color: var(--color-text);
    text-align: center;
}

.service__lead {
    text-align: center;
    margin: var(--gap-2) 0 0 0;
    font-size: var(--fs-3);
    line-height: var(--lh-body);
    color: var(--color-text-soft);
}

.service__list {
    list-style: none;
    padding: 0;
    margin: var(--gap-5) 0 0 0;

    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-3);
}

.service__item {
    position: relative;
    display: flex;
    gap: var(--gap-3);
    align-items: flex-start;

    padding: var(--gap-4);
    border-radius: var(--radius-lg);
    background: var(--c-surface-50);
    border: 1px solid rgba(36, 75, 129, 0.16);
    box-shadow: var(--shadow-sm);

    flex: 1 1 calc(50% - var(--gap-3));
    max-width: calc(50% - var(--gap-3));
}

.service__num {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-weight: 1000;
    letter-spacing: 0.3px;
    color: rgba(17, 35, 66, 0.86);
    background: rgba(218, 101, 36, 0.16);
    border: 1px solid rgba(218, 101, 36, 0.28);
}

.service__text {
    margin: 0;
    font-size: var(--fs-2);
    line-height: var(--lh-body);
    color: rgba(17, 35, 66, 0.82);
    font-weight: 700;
    min-width: 0;
}

@media (max-width: 980px) {
    .service__inner {
        flex-direction: column;
        gap: var(--gap-5);
    }

    .service__media {
        flex: none;
        width: min(520px, 100%);
        margin-inline: auto;
    }
}

@media (max-width: 640px) {
    .service__item {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* ========================================================================== */
/* FAQ section */
/* ========================================================================== */

.faq {
    padding-block: var(--gap-8);
    background: var(--color-surface);
}

.faq__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;

    margin-bottom: var(--gap-3);
}

.faq__title {
    margin: 0 0 var(--gap-2) 0;
    font-size: var(--fs-6);
    line-height: 1.2;
    font-weight: 900;
    color: var(--color-text);
}

.faq__lead {
    margin: 0;
    max-width: 70ch;
    font-size: var(--fs-3);
    line-height: var(--lh-body);
    color: var(--color-text);
    opacity: 0.9;
}

.faq__list {
    width: 100%;
    max-width: 1220px;
    display: flex;
    flex-direction: column;
    gap: var(--gap-2);
    margin: var(--gap-4) 0 0;
    padding: 0;
    list-style: none;
}

.faq__item {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq__question {
    width: 100%;
    text-align: right;
    padding: 1rem 3rem 1rem 1rem;
    font-family: inherit;
    font-size: var(--fs-3);
    line-height: var(--lh-body);
    font-weight: 900;
    color: var(--color-text);

    background: linear-gradient(
        180deg,
        rgba(36, 75, 129, 0.08) 0%,
        rgba(255, 255, 255, 1) 100%
    );

    border: 0;
    cursor: pointer;
    position: relative;

    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.faq__question:hover {
    box-shadow: 0 0 0 3px rgba(36, 75, 129, 0.12);
}

.faq__question:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.faq__icon {
    display: inline-block;
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 1.25rem;
    height: 1.25rem;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
    transition:
        transform 220ms ease,
        opacity 220ms ease;
    transform-origin: center;
}

.faq__icon::before {
    transform: translate(-50%, -50%) scaleX(1);
}

.faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg) scaleX(1);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
    opacity: 0;
}

.faq__answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    will-change: max-height;

    background: radial-gradient(
        120% 120% at 100% 0%,
        rgba(218, 101, 36, 0.08) 0%,
        rgba(255, 255, 255, 1) 70%
    );

    border-top: 1px dashed rgba(36, 75, 129, 0.25);
}

.faq__answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
    font-size: var(--fs-2);
    line-height: var(--lh-body);
    color: var(--color-text);
}

.faq__actions {
    width: 100%;
    max-width: 980px;
    margin-top: var(--gap-4);
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-2);
    justify-content: center;
}

@media (max-width: 980px) {
    .faq__question {
        padding: 0.95rem 2.75rem 0.95rem 0.95rem;
        font-size: var(--fs-2);
    }
}
