/* ==========================================================================
   sections.css
   Page sections, grouped by where they first appear. Shared sections
   (why-us, testimonials, booking form, FAQ, CTA band) are reused on several
   pages; home-only sections are marked "Home".
   ========================================================================== */

/* ==========================================================================
   Home: hero slider (four banners, text on the left)
   ========================================================================== */
.ks-hero {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    background: var(--ks-black);
}
.ks-hero__slider { position: absolute; inset: 0; overflow: hidden; }
.ks-hero__slide { overflow: hidden; }
.ks-hero__slide picture { display: block; height: 100%; }
.ks-hero__slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 60% center;
    transform: scale(1.06);
    transition: transform 7s linear;      /* slow zoom while a slide is showing */
}
.ks-hero__slide.swiper-slide-active img { transform: scale(1); }
/* Dark wash on the left so the white text stays readable on every banner */
.ks-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(36, 22, 27, 0.85) 0%, rgba(36, 22, 27, 0.6) 38%, rgba(36, 22, 27, 0) 72%);
    pointer-events: none;
}
.ks-hero__inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: 700px; padding-block: 80px 130px; pointer-events: none; }
.ks-hero__card { max-width: 560px; color: var(--ks-white); pointer-events: auto; }
.ks-hero__card .ks-eyebrow { color: var(--ks-gold); }
.ks-hero__title { margin-bottom: 26px; color: var(--ks-white); font-size: 54px; line-height: 1.15; }
.ks-hero__title em { color: var(--ks-gold); font-style: normal; }   /* colour only: Parkinsans has no italic */
.ks-hero__lead { max-width: 480px; margin-bottom: 36px; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, 0.9); }
.ks-hero__buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.ks-hero__checks { display: flex; flex-wrap: wrap; gap: 14px 34px; }
.ks-hero__checks .ks-checks__item { color: var(--ks-white); font-weight: 400; }
.ks-hero__checks .ks-tick { background: var(--ks-gold); color: var(--ks-black); }

/* Slider controls: bar dots + pause button, bottom left */
.ks-hero__controls { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 3; pointer-events: none; }
.ks-hero__controls .ks-container { display: flex; align-items: center; gap: 14px; }
.ks-hero__dots { display: flex; pointer-events: auto; position: static; width: auto !important; }   /* override Swiper's full-width pagination */
.ks-hero__dots .swiper-pagination-bullet {
    width: 34px; height: 4px;
    margin: 0 !important;
    padding: 20px 4px;                   /* bigger tap target than the visible bar */
    border-radius: 0;
    background: rgba(255, 255, 255, 0.45);
    background-clip: content-box;
    box-sizing: content-box;
    opacity: 1;
}
.ks-hero__dots .swiper-pagination-bullet-active { background-color: var(--ks-gold); }
.ks-hero__pause {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    color: var(--ks-white);
    pointer-events: auto;
    transition: background-color 0.3s;
}
.ks-hero__pause:hover { background: rgba(255, 255, 255, 0.15); }
.ks-hero__pause-icon { display: flex; gap: 3px; }
.ks-hero__pause-icon::before, .ks-hero__pause-icon::after { content: ""; width: 3px; height: 12px; border-radius: 1px; background: currentColor; }
.ks-hero__pause[aria-pressed="true"] .ks-hero__pause-icon::before {   /* paused: show a play triangle */
    width: 0; height: 0;
    margin-left: 3px;
    border-radius: 0;
    background: none;
    border-left: 10px solid currentColor;
    border-block: 6px solid transparent;
}
.ks-hero__pause[aria-pressed="true"] .ks-hero__pause-icon::after { display: none; }

/* Rating badge in a white cut-out at the bottom-right corner */
.ks-hero__rating {
    position: absolute;
    right: 0; bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 46px 20px 26px;
    border-radius: 40px 0 0 0;
    background: var(--ks-white);
}
.ks-hero__rating::before, .ks-hero__rating::after {   /* concave corners */
    content: "";
    position: absolute;
    width: 30px; height: 30px;
}
.ks-hero__rating::before { right: 0; top: -30px; background: radial-gradient(circle at 0 0, transparent 30px, var(--ks-white) 30.5px); }
.ks-hero__rating::after { left: -30px; bottom: 0; background: radial-gradient(circle at 0 0, transparent 30px, var(--ks-white) 30.5px); }
.ks-hero__star { color: var(--ks-gold-deep); font-size: 30px; }
.ks-hero__star .ks-icon { fill: currentColor; }
.ks-hero__score { margin: 0; font-family: var(--ks-font-head); font-size: 22px; font-weight: 500; line-height: 1; }
.ks-hero__count { margin: 3px 0 0; font-size: 13px; font-weight: 400; color: var(--ks-muted); }

@media (max-width: 1024px) {
    .ks-hero, .ks-hero__inner { min-height: 620px; }
    .ks-hero__title { font-size: 44px; }
}
@media (max-width: 767px) {
    /* Mobile: banner on top, text on cream below, rating tucked in the corner */
    .ks-hero { min-height: 0; background: var(--ks-cream); }
    .ks-hero::after { display: none; }
    .ks-hero__slider { position: relative; height: 300px; }
    .ks-hero__slide img { object-position: 55% center; }
    .ks-hero__inner { min-height: 0; padding-block: 36px 120px; }
    .ks-hero__card { color: var(--ks-black); }
    .ks-hero__card .ks-eyebrow { color: var(--ks-wine-text); }
    .ks-hero__title { color: var(--ks-black); font-size: 32px; }
    .ks-hero__title em { color: var(--ks-wine); }
    .ks-hero__lead { font-size: 17px; color: var(--ks-muted); }
    .ks-hero__checks { flex-direction: column; gap: 12px; }
    .ks-hero__checks .ks-checks__item { color: var(--ks-black); }
    .ks-hero__checks .ks-tick { background: var(--ks-wine); color: var(--ks-white); }
    .ks-hero__controls { top: 244px; bottom: auto; }
    .ks-hero__rating { padding: 16px 22px; }
}

/* ==========================================================================
   About: how renting works (four steps joined by a dashed gold line)
   ========================================================================== */
.ks-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    list-style: none;
}
.ks-step { position: relative; text-align: center; }
.ks-step__circle {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 150px; height: 150px;
    margin: 0 auto 34px;
    border: 1px solid var(--ks-gold);
    border-radius: 50%;
    background: var(--ks-cream);
    box-shadow: inset 0 0 0 10px var(--ks-white);    /* white ring inside the gold line */
}
.ks-step__circle .ks-icon { width: 46px; height: 46px; color: var(--ks-wine); stroke-width: 1.3; }
.ks-step__num {
    position: absolute;
    top: 4px; right: 4px;
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--ks-wine);
    color: var(--ks-white);
    font-family: var(--ks-font-head);
    font-size: 15px;
    font-weight: 500;
}
.ks-step:not(:last-child)::after {      /* dashed line to the next step */
    content: "";
    position: absolute;
    top: 75px;
    left: calc(50% + 90px);
    width: calc(100% - 150px);
    border-top: 1px dashed var(--ks-gold-deep);
}
.ks-step__title { margin-bottom: 12px; font-size: var(--ks-h4); }
.ks-step__text { max-width: 250px; margin-inline: auto; font-size: 15px; color: var(--ks-muted); line-height: 1.55; }
@media (max-width: 1024px) {
    .ks-steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
    .ks-step::after { display: none; }
}
@media (max-width: 767px) {
    .ks-steps { grid-template-columns: 1fr; gap: 44px; }
    .ks-step__circle { width: 124px; height: 124px; margin-bottom: 22px; }
}

/* ==========================================================================
   Home: who we are (cream panel that overlaps the wine panel below)
   ========================================================================== */
.ks-about-intro-wrap { position: relative; z-index: 2; }
.ks-about-intro {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 60px 100px;
    align-items: center;
    margin-bottom: -90px;
    padding: 80px 70px 80px 55px;
    border-radius: var(--ks-radius-xl);
    background: var(--ks-cream);
}
.ks-about-intro__lead { margin: 28px 0 0; padding-bottom: 25px; border-bottom: 1px solid var(--ks-line); font-size: 16px; line-height: 1.6; }
.ks-about-intro__checks { margin: 30px 0 40px; }
.ks-about-intro__media { position: relative; }
.ks-about-intro__media img { position: relative; width: 100%; aspect-ratio: 5 / 6; border-radius: 240px 240px var(--ks-radius-lg) var(--ks-radius-lg); object-fit: cover; object-position: top; }
.ks-about-intro__media::before {        /* thin gold arch outline offset behind the photo */
    content: "";
    position: absolute;
    inset: -14px 14px 14px -14px;
    border: 1px solid var(--ks-gold);
    border-radius: 240px 240px var(--ks-radius-lg) var(--ks-radius-lg);
    pointer-events: none;
}
@media (max-width: 1024px) { .ks-about-intro { grid-template-columns: 1fr 1fr; gap: 50px; padding: 60px 40px; } }
@media (max-width: 767px) {
    .ks-about-intro { grid-template-columns: 1fr; padding: 40px 20px 30px; }
    .ks-about-intro__media { margin: 14px 0 0 14px; }
}

/* ==========================================================================
   Shared: why choose us (wine panel)
   ========================================================================== */
.ks-why {
    position: relative;
    z-index: 1;
    padding: 100px 0 160px;
    overflow: hidden;
}
.ks-why--plain { padding-bottom: 80px; }     /* no button in a cut-out at the bottom */
.ks-about-intro-wrap + .ks-why { padding-top: 190px; }
.ks-why .ks-head__title { color: var(--ks-white); }
.ks-why__head { max-width: 600px; margin-bottom: 70px; }
.ks-why__intro { margin-top: 16px; font-size: 16px; color: rgba(255, 255, 255, 0.85); }
.ks-why__mark--1 { width: 260px; left: -70px; top: 60px; }
.ks-why__mark--2 { width: 170px; right: 4%; bottom: 30px; }
.ks-why .ks-feature { color: var(--ks-black); }

.ks-counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 55px;
}
.ks-counter { padding: 0 20px; border-left: 1px solid rgba(217, 171, 28, 0.5); }
.ks-counter__num { margin: 0 0 10px; font-family: var(--ks-font-head); font-size: 46px; font-weight: 400; line-height: 1.2; color: var(--ks-gold); }
.ks-counter__num sup { margin-left: 4px; font-size: 22px; vertical-align: 22px; }
.ks-counter__label { margin: 0; font-size: 16px; font-weight: 400; }
@media (max-width: 1024px) { .ks-counters { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }
@media (max-width: 767px) {
    .ks-why { padding-bottom: 120px; }
    .ks-why__mark--1 { width: 140px; left: -40px; top: 30px; }
    .ks-why__mark--2 { width: 90px; }
    .ks-counters { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Home: featured collection cards (gold-to-blush gradient)
   ========================================================================== */
.ks-collection-card {
    display: flex;
    flex-direction: column;
    padding: 10px 10px 20px;
    border-radius: var(--ks-radius-lg);
    background: linear-gradient(180deg, #f0d27a 0%, var(--ks-wine-pale) 45%, var(--ks-wine-pale) 100%);
}
.ks-collection-card__media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 24px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);     /* bottom edge slopes down to the right */
}
.ks-collection-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s var(--ks-ease); }
.ks-collection-card:hover .ks-collection-card__media img { transform: scale(1.05); }
.ks-price-tag {
    position: absolute;
    left: 12px; top: 12px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.94);
    font-size: 13px;
    font-weight: 500;
}
.ks-collection-card__title { margin: 22px 10px 28px; font-size: var(--ks-h4); line-height: 1.25; flex-grow: 1; }
.ks-collection-card__link { margin-inline: 10px; }

/* ==========================================================================
   Shared: testimonials panel + carousel
   ========================================================================== */
.ks-reviews-panel {
    padding: 100px 100px 150px;
    border-radius: var(--ks-radius-xl);
    background: var(--ks-cream);
}
.ks-reviews-panel__slider { position: relative; }
.ks-reviews-panel .swiper { overflow: hidden; }
.ks-reviews-panel .swiper-slide { height: auto; }
.ks-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--ks-white);
    font-size: 18px;
    transform: translateY(-50%);
    transition: background-color 0.3s;
}
.ks-slider-arrow:hover { background: var(--ks-gold); }
.ks-slider-arrow--prev { left: -70px; }
.ks-slider-arrow--next { right: -70px; }
.ks-slider-dots { display: flex; justify-content: center; gap: 0; margin-top: 40px; }
.ks-slider-dots .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 5px !important; background: rgba(36, 22, 27, 0.5); opacity: 1; }
.ks-slider-dots .swiper-pagination-bullet-active { background: var(--ks-wine); }
.ks-reviews-panel__badge { padding: 15px 35px 15px 20px; }
@media (max-width: 1024px) {
    .ks-reviews-panel { padding: 70px 30px 150px; }
    .ks-slider-arrow { top: auto; bottom: -88px; transform: none; }
    .ks-slider-arrow--prev { left: 0; }
    .ks-slider-arrow--next { right: 0; }
}
@media (max-width: 767px) { .ks-reviews-panel { padding: 50px 16px 150px; } }

/* ==========================================================================
   Shared: book a trial form block
   ========================================================================== */
.ks-quote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.ks-quote__form-card { padding: 60px 55px 65px; }
.ks-quote__title { margin-bottom: 14px; font-size: var(--ks-h2); }
.ks-quote__intro { margin-bottom: 34px; color: var(--ks-muted); }
.ks-quote__side { display: grid; grid-template-rows: 1fr auto; gap: 20px; }
/* The photo fills whatever height the form needs (absolute, so it never sets the row height itself) */
.ks-quote__photo { position: relative; overflow: hidden; border-radius: var(--ks-radius-lg); min-height: 300px; }
.ks-quote__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ks-guarantee {
    position: relative;
    display: flex;
    min-height: 190px;
    padding: 40px;
    overflow: hidden;
    border-radius: var(--ks-radius-lg);
    background: var(--ks-wine);
    color: var(--ks-white);
}
.ks-guarantee__text { max-width: 440px; position: relative; z-index: 1; }
.ks-guarantee__title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--ks-white); font-size: var(--ks-h4); }
.ks-guarantee__title .ks-tick { background: var(--ks-gold); color: var(--ks-black); }
.ks-guarantee__text p { padding-left: 34px; font-size: 15px; color: rgba(255, 255, 255, 0.86); }
.ks-guarantee .ks-bg-mark { right: -30px; bottom: -40px; width: 200px; }
.ks-form__status { grid-column: 1 / -1; margin: 0; font-weight: 400; }
@media (max-width: 1024px) {
    .ks-quote { grid-template-columns: 1fr; }
    .ks-quote__photo { height: 460px; }
}
@media (max-width: 767px) {
    .ks-quote__form-card { padding: 40px 20px; }
    .ks-guarantee { padding: 30px 20px; }
}

/* ==========================================================================
   Shared: FAQ block
   ========================================================================== */
.ks-faq { display: grid; grid-template-columns: 1fr 640px; gap: 40px 40px; align-items: start; }
.ks-faq__intro { max-width: 410px; }
.ks-faq__head { margin-bottom: 55px; }
.ks-faq__head .ks-head__text { font-size: 15px; }
.ks-faq__card { padding: 45px 40px 30px; }
.ks-faq__card-title { margin-bottom: 30px; font-family: var(--ks-font-head); font-size: var(--ks-h4); line-height: 1.4; }
.ks-faq__list { padding-top: 46px; }
@media (max-width: 1024px) { .ks-faq { grid-template-columns: 1fr; } .ks-faq__list { padding-top: 0; } }
@media (max-width: 767px) { .ks-faq__card { padding: 35px 20px 25px; } }

/* ==========================================================================
   Shared: call-to-action band (wine panel), end of inner pages
   ========================================================================== */
.ks-cta-band {
    position: relative;
    overflow: hidden;
    padding: 80px 40px;
    text-align: center;
}
.ks-cta-band h2 { position: relative; max-width: 640px; margin: 0 auto 16px; color: var(--ks-white); }
.ks-cta-band p { position: relative; max-width: 520px; margin: 0 auto 34px; color: rgba(255, 255, 255, 0.86); }
.ks-cta-band__buttons { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.ks-cta-band .ks-bg-mark { width: 220px; }
.ks-cta-band__mark--1 { left: -50px; top: -40px; }
.ks-cta-band__mark--2 { right: -40px; bottom: -60px; }
@media (max-width: 767px) { .ks-cta-band { padding: 60px 20px; } }
