/* ============================================================
   WINERY VISIT — /excursii
   Same editorial language as the event landing it replaced: paper
   background, black on white, generous type. The hero is a looping
   video instead of a still.
   ============================================================ */

.wv-page {
    --wv-ink: #1a1a1a;
    --wv-muted: #6b6b6b;
    --wv-line: #dcdcd4;
    --wv-paper: #f5f5ef;
    --wv-card: #ffffff;
    --wv-radius: 14px;
    --wv-ease: cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--wv-paper);
    color: var(--wv-ink);
}

.wv-container {
    width: min(1180px, 100% - clamp(32px, 6vw, 96px));
    margin-inline: auto;
}

.wv-eyebrow {
    display: block;
    margin: 0 0 14px;
    color: #8a8a8a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* ---------- buttons ---------- */
.wv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 30px;
    border: 1px solid currentColor;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.25s var(--wv-ease), background-color 0.25s ease, color 0.25s ease;
}

.wv-btn--light {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.92);
    color: #111;
}

.wv-btn--light:hover {
    background: #fff;
    color: #111;
    transform: translateY(-2px);
}

.wv-btn--dark {
    background: #111;
    border-color: #111;
    color: #fff !important;
}

.wv-btn--dark:hover {
    background: #000;
    transform: translateY(-2px);
}

.wv-btn--block {
    width: 100%;
}

/* ---------- hero ---------- */
.wv-hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: min(92vh, 820px);
    overflow: hidden;
    background: #111;
    isolation: isolate;
}

.wv-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.wv-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.55) 100%);
}

.wv-hero__inner {
    text-align: center;
    padding: 120px 24px 80px;
}

.wv-hero__title {
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(30px, 5vw, 62px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-wrap: balance;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
    animation: wv-rise 0.9s var(--wv-ease) both;
}

.wv-hero__inner .wv-btn {
    animation: wv-rise 0.9s 0.15s var(--wv-ease) both;
}

@keyframes wv-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- booking ---------- */
.wv-booking {
    padding: clamp(56px, 8vw, 104px) 0;
    background: var(--wv-paper);
}

.wv-booking__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: start;
}

.wv-card {
    background: var(--wv-card);
    border: 1px solid var(--wv-line);
    border-radius: var(--wv-radius);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: 0 24px 60px rgba(17, 17, 17, 0.06);
}

.wv-card__title {
    margin: 0 0 4px;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.wv-card__sub {
    margin: 0 0 24px;
    color: var(--wv-muted);
    font-size: 14px;
}

.wv-price__min {
    margin: 6px 0 0;
    color: var(--wv-muted);
    font-size: 13px;
    line-height: 1.5;
}

.wv-card__address {
    display: grid;
    gap: 2px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.wv-card__address-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wv-muted);
}

.wv-rates {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.wv-rate {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 13px 16px;
    border: 1px solid var(--wv-line);
    border-radius: 10px;
    background: #fff;
}

.wv-rate--group {
    background: #111;
    border-color: #111;
    color: #fff;
}

.wv-rate__amount {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.wv-rate__when {
    font-size: 13px;
    line-height: 1.45;
    color: var(--wv-muted);
}

.wv-rate--group .wv-rate__when {
    color: rgba(255, 255, 255, 0.78);
}

.wv-card__note {
    margin: 0;
    color: var(--wv-muted);
    font-size: 13px;
    line-height: 1.65;
}

.wv-card__buy {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px dashed var(--wv-line);
}

.wv-price__current {
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.wv-price__per {
    display: block;
    margin: 2px 0 20px;
    color: var(--wv-muted);
    font-size: 13px;
}

.wv-form {
    display: grid;
    gap: 14px;
}

/* Preferences for the visit, filled in before the ticket goes into the cart. */
.wv-note {
    display: grid;
    gap: 6px;
    text-align: left;
}

.wv-note__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wv-muted, #6b6b6b);
}

.wv-note__field {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--wv-line);
    border-radius: 10px;
    background: #fff;
    color: var(--wv-ink);
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
}

.wv-note__field::placeholder {
    color: #9a9a9a;
}

.wv-note__field:focus {
    outline: none;
    border-color: var(--wv-ink);
}

.wv-qty {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    align-items: center;
    border: 1px solid var(--wv-line);
    border-radius: 10px;
    overflow: hidden;
}

.wv-qty__btn {
    height: 48px;
    border: 0;
    background: #fff;
    font-size: 18px;
    line-height: 1;
    color: #111;
    transition: background-color 0.2s ease;
}

.wv-qty__btn:hover {
    background: var(--wv-paper);
}

.wv-qty__input {
    height: 48px;
    border: 0;
    border-inline: 1px solid var(--wv-line);
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    background: #fff;
    color: #111;
    -moz-appearance: textfield;
}

.wv-qty__input::-webkit-outer-spin-button,
.wv-qty__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wv-card__closed {
    margin: 0;
    color: var(--wv-muted);
    font-size: 14px;
}

/* ---------- story ---------- */
.wv-story {
    padding-top: clamp(8px, 2vw, 26px);
}

.wv-story__text {
    margin: 0 0 20px;
    color: #2f2f2f;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.85;
    letter-spacing: 0.01em;
}

.wv-story__text:last-child {
    margin-bottom: 0;
}

.wv-link {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

.wv-link:hover {
    color: #000;
    text-decoration-thickness: 2px;
}

/* ---------- slider ---------- */
.wv-gallery {
    padding: 0 0 clamp(48px, 7vw, 96px);
    background: var(--wv-paper);
}

.wv-slider {
    position: relative;
}

.wv-slider__track {
    display: flex;
    gap: 8px;
    padding: 0 clamp(16px, 4vw, 48px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: clamp(16px, 4vw, 48px);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.wv-slider__track::-webkit-scrollbar {
    display: none;
}

.wv-slider__track:focus-visible {
    outline: 2px solid var(--wv-ink);
    outline-offset: -2px;
}

.wv-slide {
    flex: 0 0 clamp(170px, 17vw, 240px);
    margin: 0;
    scroll-snap-align: start;
    overflow: hidden;
    background: #111;
    border-radius: 4px;
}

/* Clips keep the vertical format they were filmed in, so the captions burned
   into them are never cropped. */
.wv-slide__open {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #111;
    cursor: pointer;
}

.wv-slide__open:focus-visible {
    outline: 2px solid var(--wv-ink);
    outline-offset: 2px;
}

.wv-slide__video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    transition: transform 0.6s var(--wv-ease);
}

.wv-slide:hover .wv-slide__video {
    transform: scale(1.03);
}

/* ---------- bigger player ---------- */
.wv-player {
    --wv-player-pad: clamp(16px, 4vw, 48px);
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: var(--wv-player-pad);
    background: rgba(0, 0, 0, 0.88);
}

.wv-player[hidden] {
    display: none;
}

/* The clips are vertical or landscape, so the player is bounded on both axes
   and the video keeps its own ratio inside those bounds. */
.wv-player__video {
    display: block;
    width: auto;
    height: auto;
    /* Bounded against the viewport, not the grid area: an auto-sized grid row
       is indefinite, so a percentage here would simply be ignored. */
    max-width: min(1100px, calc(100vw - 2 * var(--wv-player-pad)));
    max-height: calc(100vh - 2 * var(--wv-player-pad));
    background: #000;
}

@supports (height: 100dvh) {
    .wv-player__video {
        max-height: calc(100dvh - 2 * var(--wv-player-pad));
    }
}

.wv-player__close {
    position: absolute;
    top: clamp(8px, 2vw, 20px);
    right: clamp(8px, 2vw, 20px);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.wv-player__close:hover {
    background: #fff;
}

body.wv-player-open {
    overflow: hidden;
}

/* Arrows sit over the row ends; they disappear once there is nothing left. */
.wv-slider__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #111;
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: opacity 0.2s ease, visibility 0.2s ease, background-color 0.2s ease;
}

.wv-slider__nav:hover {
    background: #fff;
}

.wv-slider__nav[disabled] {
    opacity: 0;
    visibility: hidden;
}

.wv-slider__nav--prev {
    left: clamp(8px, 2vw, 20px);
}

.wv-slider__nav--next {
    right: clamp(8px, 2vw, 20px);
}

@media (hover: none) {
    /* Touch screens scroll the row directly. */
    .wv-slider__nav {
        display: none;
    }
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
    .wv-booking__grid {
        grid-template-columns: minmax(0, 1fr);
    }

}

@media (max-width: 575.98px) {
    .wv-hero {
        min-height: 76vh;
    }

    .wv-slide {
        flex-basis: 62vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wv-hero__title,
    .wv-hero__inner .wv-btn {
        animation: none;
    }

    .wv-slide__video,
    .wv-btn {
        transition: none;
    }
}
