/* ============================================================
   LEHKYI DOTYK — style.css
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
html { box-sizing: border-box; }
*, *::after, *::before { box-sizing: inherit; margin: 0; padding: 0; }

:root {
    --cream:   #FAF0E6;
    --black:   #151515;
    --green:   #228B22;
    --dkgreen: #006400;
    --sage:    #556B2F;
    --gold:    #d8b802;
    --text:    #3a3a3a;
    --muted:   #888;
    --border:  rgba(21,21,21,0.12);
    --font:    'Merriweather', serif;
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html, body { background-color: var(--cream); height: 100%; }
body { font-family: var(--font); font-size: 16px; font-weight: 400; line-height: 1.6; color: var(--text); }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* --- Layout ----------------------------------------------- */
.wrapper { min-height: 100%; display: flex; flex-direction: column; }
.main    { flex-grow: 1; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 20px; }

/* --- Section title ---------------------------------------- */
.section-title {
    margin-bottom: 50px;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
}

/* ============================================================
   HEADER
   ============================================================ */
.header { background-color: var(--black); }

.header-main {
    background-color: transparent;
    position: absolute;
    z-index: 10;
    left: 0; right: 0;
}

.header__inner {
    padding: 10px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu__list {
    display: flex;
    gap: 35px;
    padding-right: 50px;
    align-items: center;
}

.menu__list-link {
    color: var(--cream);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.06em;
    transition: color 0.2s;
}
.menu__list-link:hover { text-decoration: underline; }
.menu__list-link--active { color: var(--green); }

.menu__btn {
    width: 30px; height: 30px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    padding: 0; border: none;
    background: transparent; cursor: pointer;
}
.menu__btn span { height: 2px; background: var(--cream); width: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background-color: var(--black);
    display: flex;
    align-items: center;
    padding: 24px 0;
    margin-top: auto;
}

/* ============================================================
   HOME — HERO / SLIDER
   ============================================================ */
.top {
    color: var(--cream);
    text-align: center;
    padding-top: 250px;
    padding-bottom: 50px;
    position: absolute;
    z-index: 5;
    left: 0; right: 0;
}

.title {
    font-size: 96px;
    font-weight: 700;
    margin-bottom: 100px;
}

.top__link {
    background-color: #000;
    opacity: 80%;
    padding: 23px;
    max-width: 400px;
    width: 100%;
    display: inline-block;
    text-transform: uppercase;
    font-size: 36px;
    font-weight: 700;
    transition: opacity 0.2s;
}
.top__link:hover { opacity: 1; }

.swiper-slide {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
}

.swiper-pagination-bullet {
    width: 120px; height: 3px;
    background-color: var(--black);
    opacity: 1;
    border-radius: 0;
}
.swiper-pagination-bullet-active {
    height: 6px;
    background-color: var(--cream);
}

/* ============================================================
   HOME — WHY WE
   ============================================================ */
.why-we { padding: 150px 0; }

.why-we__title {
    font-weight: 700;
    font-size: 48px;
    text-align: center;
    margin-bottom: 80px;
}

.why-we__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

img.why-we-fix-img { width: 60%; height: 60%; margin-bottom: 24px; }

.why-we__item-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* ============================================================
   HOME — HOW DOES
   ============================================================ */
.how-does__title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 80px;
}
.how-does__text {
    font-size: 20px;
    padding-left: 150px;
    margin-bottom: 8px;
}

/* ============================================================
   HOME — VIDEO
   ============================================================ */
.video { padding-bottom: 100px; }
.video__title {
    margin-bottom: 50px;
    padding-top: 100px;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
}
.video__text {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}
.video__content { margin: auto; display: block; }

/* ============================================================
   HOME — IMPORTANT TAGLINE
   ============================================================ */
.important { padding: 60px 0; }
.important-title { font-size: 48px; text-align: center; font-weight: 700; }

/* ============================================================
   CONTACTS PAGE
   ============================================================ */
.contacts { padding: 100px 0 150px; }
.contacts__title { margin-bottom: 20px; }
.contacts__text {
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 50px;
    padding: 0 100px;
}

/* contact links (old style kept for contacts.html) */
.contact-link-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}
.contact-link-list a {
    font-size: 22px;
    color: var(--sage);
    transition: color 0.2s;
}
.contact-link-list a:hover { text-decoration: underline; color: var(--dkgreen); }

/* ============================================================
   PRODUCTS CATALOGUE (wd.html)
   ============================================================ */
.products { padding: 100px 0 150px; }

.tabs__content-item {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
}

/* ---- Product Card (catalogue) ---- */
.card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--dkgreen);
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,100,0,0.12);
}

.card__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.card:hover .card__img { transform: scale(1.04); }

.card__content {
    padding: 16px 14px 12px;
    flex-grow: 1;
}

.card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
    color: var(--black);
}

.card__price {
    font-size: 18px;
    font-weight: 700;
    color: var(--dkgreen);
}

.card__link {
    display: block;
    text-align: center;
    padding: 12px;
    background: transparent;
    color: var(--dkgreen);
    border-top: 1px solid var(--dkgreen);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}
.card__link:hover {
    background: var(--dkgreen);
    color: var(--cream);
}

/* ============================================================
   PRODUCT PAGE — UNIVERSAL
   ============================================================ */

/* --- Page wrapper --- */
.product-page {
    padding: 100px 0 80px;
}

/* --- Breadcrumb --- */
.product-breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 36px;
    letter-spacing: 0.04em;
}
.product-breadcrumb a { color: var(--sage); }
.product-breadcrumb a:hover { text-decoration: underline; }

/* --- Two-column layout --- */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: flex-start;
    margin-bottom: 80px;
}

/* ============================================================
   GALLERY
   ============================================================ */
.product-gallery {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    position: sticky;
    top: 24px;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-thumb {
    width: 76px;
    height: 76px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    opacity: 0.5;
    transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
    background: #e8ddd0;
}
.gallery-thumb:hover  { opacity: 0.8; transform: translateX(3px); }
.gallery-thumb.active { border-color: var(--green); opacity: 1; transform: translateX(4px); }

.gallery-main {
    position: relative;
    border-radius: 6px;
    background: #e8ddd0;
    cursor: zoom-in;
}

.gallery-main-img {
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: contain;
    display: block;
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.gallery-main-img.fading { opacity: 0; transform: scale(0.97); }

.gallery-zoom-hint {
    position: absolute;
    bottom: 12px; right: 12px;
    background: rgba(21,21,21,0.55);
    color: var(--cream);
    font-size: 11px;
    letter-spacing: 0.05em;
    padding: 5px 10px;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s;
}
.gallery-main:hover .gallery-zoom-hint { opacity: 1; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.93);
    backdrop-filter: blur(8px);
    cursor: zoom-out;
}

.lb-img {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    transform: scale(0.78);
    opacity: 0;
    transition: transform 0.42s var(--ease-spring), opacity 0.28s ease;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.lightbox.open .lb-img { transform: scale(1); opacity: 1; }

.lb-close {
    position: absolute;
    top: 20px; right: 24px;
    z-index: 2;
    background: none; border: none;
    color: var(--cream);
    font-size: 38px;
    cursor: pointer;
    opacity: 0.6;
    line-height: 1;
    font-weight: 300;
    transition: opacity 0.2s, transform 0.3s;
}
.lb-close:hover { opacity: 1; transform: rotate(90deg); }

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(250,240,230,0.1);
    border: 1px solid rgba(250,240,230,0.25);
    color: var(--cream);
    width: 50px; height: 50px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}
.lb-nav:hover {
    background: rgba(250,240,230,0.22);
    transform: translateY(-50%) scale(1.1);
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.lb-counter {
    position: absolute;
    bottom: 18px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(250,240,230,0.5);
    font-size: 12px;
    letter-spacing: 0.12em;
}

/* ============================================================
   PRODUCT INFO (right column)
   ============================================================ */
.product-info { display: flex; flex-direction: column; }

.product-name {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--black);
    margin-bottom: 16px;
}

/* Status badge */
.product-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.product-status::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-available   { color: var(--green); }
.status-available::before   { background: var(--green); box-shadow: 0 0 0 3px rgba(34,139,34,0.18); }
.status-coming-soon { color: var(--gold); }
.status-coming-soon::before { background: var(--gold); box-shadow: 0 0 0 3px rgba(216,184,2,0.18); }

/* Price */
.product-price {
    font-size: 34px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

/* Lead text */
.product-lead {
    font-size: 15px;
    line-height: 1.75;
    color: #4a4a4a;
    margin-bottom: 26px;
}

/* ---- Features ---- */
.product-features {
    margin-bottom: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.product-features-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}
.product-features-list { display: flex; flex-direction: column; gap: 9px; }
.product-feature {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}
.feature-icon {
    width: 16px; height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    fill: var(--green);
}

/* ---- Order buttons ---- */
.product-order { margin-bottom: 24px; }
.product-order-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 14px;
    border: 1.5px solid var(--dkgreen);
    color: var(--dkgreen);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    font-family: var(--font);
}
.order-btn:hover {
    background: var(--dkgreen);
    color: var(--cream);
    transform: translateY(-2px);
}
.order-btn.primary {
    background: var(--black);
    border-color: var(--black);
    color: var(--cream);
    grid-column: 1 / -1;
    font-size: 14px;
    padding: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.order-btn.primary:hover {
    background: #2a2a2a;
    border-color: #2a2a2a;
    color: var(--cream);
}

/* Phones */
.product-phones {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
}
.product-phone {
    font-size: 14px;
    color: var(--sage);
}
.product-phone:hover { text-decoration: underline; }

/* ============================================================
   ACCORDION
   ============================================================ */
.product-accordion {
    border-top: 1px solid var(--border);
    margin-bottom: 60px;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    text-align: left;
    gap: 16px;
    transition: color 0.2s;
}
.accordion-trigger:hover { color: var(--green); }

.accordion-icon {
    flex-shrink: 0;
    width: 20px; height: 20px;
    position: relative;
    color: currentColor;
}
.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    top: 50%; left: 50%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.accordion-icon::before { width: 14px; height: 1.5px; transform: translate(-50%,-50%); }
.accordion-icon::after  { width: 1.5px; height: 14px; transform: translate(-50%,-50%); }
.accordion-item.open .accordion-icon::after {
    opacity: 0;
    transform: translate(-50%,-50%) rotate(90deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.accordion-body-inner { padding-bottom: 22px; }

.accordion-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 10px;
}
.accordion-body p:last-child { margin-bottom: 0; }

/* ============================================================
   PAGE TAGLINE
   ============================================================ */
.page-tagline {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
/* reveal removed */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
    .why-we__list { gap: 30px 20px; }
    .tabs__content-item { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .product-gallery {
        grid-template-columns: 64px 1fr;
        gap: 10px;
        position: static;
    }
    .gallery-thumb { width: 64px; height: 64px; }
    .product-name  { font-size: 26px; }
    .product-price { font-size: 28px; }
}

@media (max-width: 860px) {
    .menu__btn { display: flex; }
    .menu__btn, .logo__img { position: relative; z-index: 20; }
    .menu__list {
        position: absolute;
        z-index: 5;
        background: var(--black);
        flex-direction: column;
        top: 0; left: 0; right: 0; bottom: 0;
        padding-top: 200px;
        height: 100vh;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        pointer-events: none;
    }
    .menu__list.menu__list--active { transform: translateY(0); pointer-events: auto; }
    .why-we__list  { grid-template-columns: repeat(2, 1fr); }
    .products      { padding: 50px 0; }
    .how-does__text { font-size: 16px; padding-left: 80px; }
    .video__title  { font-size: 36px; }
    .why-we__title { font-size: 30px; }
    .how-does__title { font-size: 30px; }
    .top__link     { padding: 16px; font-size: 28px; }
    .title         { font-size: 70px; }
}

@media (max-width: 640px) {
    .tabs__content-item { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    .product-gallery {
        grid-template-columns: 1fr;
    }
    .gallery-thumbs {
        flex-direction: row;
        order: 2;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 4px;
    }
    .gallery-main  { order: 1; aspect-ratio: 1/1; }
    .gallery-thumb {
        width: 58px; height: 58px;
        flex-shrink: 0;
    }
    .gallery-thumb:hover, .gallery-thumb.active { transform: translateY(-3px) translateX(0); }

    .order-grid { grid-template-columns: 1fr; }
    .order-btn.primary { grid-column: 1; }

    .product-name  { font-size: 22px; }
    .product-price { font-size: 24px; }
    .lb-nav        { display: none; }

    .contacts__text { padding: 0 20px; font-size: 18px; }
    .how-does__text { padding-left: 30px; }
    .how-does__title { padding-left: 20px; font-size: 24px; margin-bottom: 20px; }
    .why-we { padding: 50px 0; }
    .why-we__list { grid-template-columns: 1fr; }
    .title  { font-size: 50px; }
    .top__link { font-size: 24px; max-width: 310px; }
    .video__content { height: 240px; }
    .video { padding-bottom: 50px; }
    .video__title { padding-top: 60px; font-size: 30px; margin-bottom: 35px; }
    .logo { display: none; }
    .logo__img { max-width: 220px; padding-top: 10px; }
    .section-title { font-size: 32px; margin-bottom: 30px; }
    .page-tagline  { font-size: 22px; }
}

@media (max-width: 400px) {
    .tabs__content-item { grid-template-columns: 1fr; }
}

/* ============================================================
   PRODUCT — Why Pro section (Чому «Легкий Дотик pro»?)
   ============================================================ */
.product-why-pro {
    background: linear-gradient(135deg, rgba(85,107,47,0.05) 0%, rgba(216,184,2,0.05) 100%);
    border-left: 4px solid var(--green);
    padding: 32px 36px;
    border-radius: 6px;
    margin: 30px 0 40px;
}
.product-why-pro__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dkgreen);
    margin-bottom: 14px;
}
.product-why-pro__lead {
    font-size: 16px;
    line-height: 1.75;
    color: #3a3a3a;
    margin-bottom: 22px;
}
.product-why-pro__subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--sage);
    margin: 22px 0 10px;
}
.product-why-pro p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 12px;
}
.product-why-pro__list {
    list-style: disc;
    margin: 8px 0 18px 22px;
}
.product-why-pro__list li {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 8px;
    color: #3a3a3a;
}

@media (max-width: 600px) {
    .product-why-pro { padding: 22px 20px; }
    .product-why-pro__title { font-size: 22px; }
    .product-why-pro__subtitle { font-size: 17px; }
}

/* ============================================================
   ACCORDION — small refinements (smooth open, no jumpiness)
   ============================================================ */
.accordion-trigger { -webkit-tap-highlight-color: transparent; }
.accordion-body { transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1); will-change: max-height; }
.accordion-item.open .accordion-body-inner { animation: accordion-fade 0.4s ease both; }
@keyframes accordion-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   LIGHTBOX — ensure highest stacking, allow zoom-cursor on img
   ============================================================ */
.gallery-main { cursor: zoom-in; }
.lightbox .lb-img { cursor: zoom-out; }
.lb-counter { z-index: 3; }

/* ============================================================
   HERO IMPROVEMENTS — subtitle textbox, CTAs
   ============================================================ */
.hero-textbox {
    max-width: 760px;
    margin: 18px auto 32px;
    background: rgba(21,21,21,0.65);
    padding: 18px 26px;
    border-radius: 6px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.hero-subtitle {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.65;
    text-align: center;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero-ctas {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
@media (max-width: 600px) {
    .hero-textbox { padding: 14px 18px; margin: 14px 16px 24px; }
    .hero-subtitle { font-size: 15px; }
}

/* ============================================================
   RESPONSIVE VIDEO
   ============================================================ */
.video__wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 6px;
}
.video__wrap iframe,
.video__content {
    position: absolute !important;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* ============================================================
   TRUST SECTION
   ============================================================ */
.trust { padding: 60px 0; background: rgba(85,107,47,0.04); }
.trust__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 24px;
}
.trust__item { text-align: center; padding: 20px; }
.trust__num {
    font-size: 36px;
    font-weight: 700;
    color: var(--dkgreen);
    margin-bottom: 8px;
}
.trust__label {
    font-size: 14px;
    color: var(--text);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .trust__list { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PRODUCT CARDS — badges, subtitles, whole-card click
   ============================================================ */
.card {
    position: relative;
    cursor: pointer;
}
/* Make whole card a click target via overlay <a> (added in HTML)
   OR via card-level link wrapper. Hover transition stays on .card. */
.card__badge {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 3;                       /* above image, below click overlay */
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    /* No backdrop-filter — breaks in Edge older versions and some Chromiums */
}
.card__badge--available {
    background: #228B22;              /* solid green */
    color: #ffffff;
    border: 1px solid #1a6b1a;
}
.card__badge--soon {
    background: #d8b802;              /* solid amber */
    color: #151515;
    border: 1px solid #a88f00;
}
/* Whole-card link overlay */
.card__overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: transparent;
    text-indent: -9999px;
    overflow: hidden;
}
.card__link {
    position: relative;
    z-index: 6;                       /* button itself stays on top */
}
.card:hover .card__link { background-color: rgba(34,139,34,0.08); }
.card__sub {
    font-size: 13px;
    color: #6a6a6a;
    margin: 4px 0 8px;
    line-height: 1.4;
}
.products-intro {
    text-align: center;
    max-width: 700px;
    margin: -30px auto 40px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.65;
}

/* ============================================================
   BENEFITS CTA (wd.html bottom)
   ============================================================ */
.benefits-cta {
    padding: 70px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(85,107,47,0.06), rgba(216,184,2,0.06));
}
.benefits-cta__text {
    max-width: 540px;
    margin: 0 auto 24px;
    font-size: 17px;
    color: var(--text);
}
.benefits-cta__btns {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ============================================================
   CONTACTS — restructured
   ============================================================ */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin: 30px 0 50px;
}
.contacts-block {
    background: rgba(85,107,47,0.05);
    border: 1px solid rgba(85,107,47,0.15);
    padding: 26px 22px;
    border-radius: 8px;
    text-align: center;
}
.contacts-block__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dkgreen);
    margin-bottom: 6px;
}
.contacts-block__hint {
    font-size: 13px;
    color: #6a6a6a;
    margin-bottom: 16px;
}
.contacts-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contacts-line {
    font-size: 17px;
    margin-bottom: 10px;
}
.contacts-line a:hover { color: var(--green); }
@media (max-width: 768px) {
    .contacts-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contacts-form-wrap {
    max-width: 620px;
    margin: 0 auto 40px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px 28px;
}
.contacts-form { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.form-row .req { color: var(--green); }
.form-row input,
.form-row select,
.form-row textarea {
    font-family: var(--font);
    font-size: 15px;
    padding: 10px 14px;
    border: 1px solid rgba(21,21,21,0.18);
    border-radius: 5px;
    background: #fafafa;
    color: var(--text);
    transition: border-color 0.2s, background 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--green);
    background: #fff;
}
.form-row--checkbox label {
    font-weight: 400;
    font-size: 13px;
    color: #6a6a6a;
    display: flex;
    gap: 8px;
    align-items: center;
}
.form-row--checkbox a { color: var(--green); text-decoration: underline; }
.form-submit {
    margin-top: 8px;
    background: var(--green);
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.form-submit:hover { background: var(--dkgreen); }
.form-submit:active { transform: translateY(1px); }

/* ============================================================
   PRODUCT SHARE buttons
   ============================================================ */
.product-share {
    margin: 30px 0;
    padding: 18px 22px;
    background: rgba(85,107,47,0.05);
    border-radius: 6px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.product-share__label {
    font-weight: 700;
    color: var(--text);
    margin-right: 8px;
}
.share-btn {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.share-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ============================================================
   FOOTER — multi-column
   ============================================================ */
.footer--full { padding: 50px 0 20px; background: var(--black); color: var(--cream); }
.footer__cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
    gap: 30px;
    margin-bottom: 30px;
}
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col a { color: rgba(250,240,230,0.75); font-size: 14px; transition: color 0.2s; }
.footer__col a:hover { color: var(--cream); }
.footer__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.footer__tagline {
    font-style: italic;
    color: rgba(250,240,230,0.7);
    font-size: 15px;
    margin-top: 8px;
}
.footer__copy {
    text-align: center;
    color: rgba(250,240,230,0.5);
    font-size: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(250,240,230,0.1);
}
.footer__menu-item img { max-width: 200px; }
@media (max-width: 768px) {
    .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
    .footer__cols { grid-template-columns: 1fr; }
}

/* ============================================================
   STATIC PAGES (Delivery, Privacy, Offer, About, FAQ)
   ============================================================ */
.static-page { padding: 40px 0 70px; }
.static-page .container { max-width: 880px; }
.static-intro {
    font-size: 17px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 28px;
}
.static-h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dkgreen);
    margin: 32px 0 14px;
}
.static-list { margin: 8px 0 20px 22px; list-style: disc; }
.static-list li { margin-bottom: 8px; line-height: 1.7; }
.static-list a { color: var(--green); text-decoration: underline; }
.static-page p { line-height: 1.75; margin-bottom: 14px; }
.static-page p a { color: var(--green); text-decoration: underline; }
.static-cta {
    margin-top: 30px;
    padding: 18px 22px;
    background: rgba(85,107,47,0.08);
    border-left: 4px solid var(--green);
    border-radius: 4px;
}
.static-meta {
    margin-top: 30px;
    font-size: 13px;
    color: #888;
    font-style: italic;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 100;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    border: none;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--dkgreen); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    left: 20px; right: 20px; bottom: 20px;
    z-index: 1000;
    background: var(--black);
    color: var(--cream);
    padding: 16px 22px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    display: none;
    align-items: center;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}
.cookie-banner.visible { display: flex; }
.cookie-banner__text { font-size: 14px; line-height: 1.5; margin: 0; flex: 1; }
.cookie-banner__text a { color: #ffd87a; text-decoration: underline; }
.cookie-banner__btn {
    background: var(--green);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}
.cookie-banner__btn:hover { background: var(--dkgreen); }
@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ============================================================
   HEADER NAV — make more items fit
   ============================================================ */
.menu__list { gap: 22px; }
@media (max-width: 1024px) {
    .menu__list { gap: 14px; }
    .menu__list-link { font-size: 13px; }
}

/* ============================================================
   ACCORDION (<details>/<summary>) — Stylish, theme-matched
   Native HTML works in all browsers + JS adds smooth animation
   ============================================================ */
.product-accordion {
    margin: 40px 0 60px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.acc-item {
    background: #ffffff;
    border: 1px solid rgba(0,100,0,0.15);
    border-left: 4px solid var(--green);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    -webkit-transition: box-shadow 0.25s ease, border-color 0.25s ease, -webkit-transform 0.25s ease;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.acc-item:hover {
    box-shadow: 0 4px 16px rgba(0,100,0,0.10);
    border-left-color: var(--dkgreen);
}
.acc-item[open] {
    border-left-color: var(--dkgreen);
    box-shadow: 0 6px 24px rgba(0,100,0,0.12);
}
/* IMPORTANT: <summary> must NOT be display:flex/grid/inline-block —
   that breaks native click-to-toggle in Safari/WebKit.
   Keep it block; position the icon absolutely. */
.acc-summary {
    display: block;
    list-style: none;
    position: relative;
    padding: 18px 56px 18px 24px;
    cursor: pointer;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    -webkit-transition: background 0.25s ease, color 0.2s ease;
    transition: background 0.25s ease, color 0.2s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
}
/* Hide browser native disclosure triangle in ALL browsers */
.acc-summary::-webkit-details-marker { display: none; }
.acc-summary::marker { content: ''; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

.acc-summary:hover {
    background: -webkit-linear-gradient(135deg, rgba(34,139,34,0.06), rgba(216,184,2,0.04));
    background: linear-gradient(135deg, rgba(34,139,34,0.06), rgba(216,184,2,0.04));
    color: var(--dkgreen);
}
.acc-item[open] > .acc-summary {
    background: -webkit-linear-gradient(135deg, rgba(34,139,34,0.08), rgba(216,184,2,0.05));
    background: linear-gradient(135deg, rgba(34,139,34,0.08), rgba(216,184,2,0.05));
    color: var(--dkgreen);
    border-bottom: 1px solid rgba(0,100,0,0.08);
}

/* Icon — circle with plus, absolutely positioned (NOT a flex child) */
.acc-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    background: rgba(34,139,34,0.1);
    border-radius: 50%;
    -webkit-transition: background 0.3s ease;
    transition: background 0.3s ease;
}
.acc-summary:hover .acc-icon,
.acc-item[open] .acc-icon {
    background: var(--green);
}
.acc-icon::before,
.acc-icon::after {
    content: '';
    position: absolute;
    background: var(--dkgreen);
    border-radius: 1px;
    top: 50%; left: 50%;
    -webkit-transition: -webkit-transform 0.3s ease, opacity 0.3s ease, background 0.2s;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s;
}
.acc-icon::before {
    width: 12px; height: 2px;
    margin: -1px 0 0 -6px;
}
.acc-icon::after  {
    width: 2px; height: 12px;
    margin: -6px 0 0 -1px;
}
.acc-summary:hover .acc-icon::before,
.acc-summary:hover .acc-icon::after,
.acc-item[open] .acc-icon::before,
.acc-item[open] .acc-icon::after {
    background: #ffffff;
}
.acc-item[open] .acc-icon::after {
    opacity: 0;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

/* Body — native <details> shows/hides it; gentle fade when open.
   No max-height clipping (that was fragile across browsers). */
.acc-body {
    overflow: hidden;
}
.acc-item[open] > .acc-body {
    -webkit-animation: acc-fade 0.3s ease;
    animation: acc-fade 0.3s ease;
}
@-webkit-keyframes acc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes acc-fade { from { opacity: 0; } to { opacity: 1; } }
.acc-body-inner {
    padding: 20px 24px 24px;
}
.acc-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 12px;
}
.acc-body p:last-child { margin-bottom: 0; }
.acc-body a { color: var(--green); text-decoration: underline; }
.acc-body strong { color: var(--black); }
.acc-body ul { margin: 8px 0 12px 22px; list-style: disc; }
.acc-body li { line-height: 1.75; margin-bottom: 6px; color: #4a4a4a; }
.acc-body .product-features-list { list-style: none; margin: 0; padding: 0; }
.acc-body .product-feature {
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0,100,0,0.1);
    font-size: 15px;
}
.acc-body .product-feature:last-child { border-bottom: none; }

@media (max-width: 600px) {
    .acc-summary { padding: 14px 16px; font-size: 14px; gap: 10px; }
    .acc-body-inner { padding: 16px 16px 20px; }
    .acc-icon { width: 24px; height: 24px; }
}

/* ============================================================
   WD.HTML — card wrapped in <a> (whole-card click)
   ============================================================ */
.card-wrap {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}
.card-wrap:hover { text-decoration: none; }
.card-wrap:hover .card {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,100,0,0.12);
}
.card-wrap:hover .card__img { transform: scale(1.04); }
.card-wrap:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 2px;
    border-radius: 4px;
}
/* span replacement for the old "Детальніше" button */
span.card__link {
    display: block;
    margin: auto 14px 14px;
    padding: 12px;
    background-color: var(--cream);
    border: 1px solid var(--dkgreen);
    color: var(--dkgreen);
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 13px;
    transition: background-color 0.2s, color 0.2s;
}
.card-wrap:hover span.card__link {
    background-color: var(--green);
    color: #fff;
}

/* ============================================================
   MOBILE HERO FIX — buttons overlap with "Чому саме ми"
   ============================================================ */
@media (max-width: 768px) {
    .top {
        position: relative;        /* Was absolute — caused overlap */
        padding-top: 80px;
        padding-bottom: 40px;
        background: linear-gradient(135deg, #0d1f0d, #1a2a1a);
        color: var(--cream);
    }
    .swiper-slide { height: 50vh; min-height: 320px; }
    .header-main {
        background-color: rgba(13,31,13,0.85);
        position: relative;
    }
    .title { font-size: 38px; margin-bottom: 18px; }
    .top__link { font-size: 18px; padding: 14px 20px; max-width: 260px; }
    .hero-textbox { padding: 14px 18px; margin: 0 14px 22px; }
    .hero-subtitle { font-size: 14px; }
}
@media (max-width: 480px) {
    .title { font-size: 30px; }
    .hero-ctas { gap: 10px; }
    .top__link { font-size: 16px; padding: 12px 16px; min-width: 130px; }
}

/* ============================================================
   CROSS-BROWSER FIXES — Edge, Firefox, Opera, Safari, mobile
   ============================================================ */

/* aspect-ratio fallback for older browsers (Safari < 15, Firefox < 89) */
@supports not (aspect-ratio: 1) {
    .card__img { height: 200px; }
    .gallery-main { padding-bottom: 100%; height: 0; }
    .gallery-main-img { position: absolute; top: 0; left: 0; }
}

/* Flexbox vendor prefixes — for Safari < 9, old Edge */
.wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
.header__inner { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
.menu__list { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
.hero-ctas { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -ms-flex-wrap: wrap; flex-wrap: wrap; }
.product-features-list { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -ms-flex-direction: column; flex-direction: column; }
.product-feature { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; }
.order-grid { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; }

/* Grid fallback for IE/old Edge (uses inline-block instead) */
@supports not (display: grid) {
    .why-we__list, .tabs__content-item, .trust__list, .contacts-grid, .footer__cols {
        font-size: 0; /* eliminate inline-block whitespace */
    }
    .why-we__list > *, .tabs__content-item > *, .trust__list > *, .contacts-grid > *, .footer__cols > * {
        display: inline-block;
        vertical-align: top;
        font-size: 16px;
        margin: 10px;
    }
    .why-we__list > * { width: 22%; }
    .tabs__content-item > * { width: 22%; }
    .trust__list > * { width: 22%; }
    .contacts-grid > * { width: 30%; }
    .footer__cols > * { width: 22%; }
}

/* gap fallback for Safari < 14.1 (Safari was last major to add flex gap) */
@supports not (gap: 1px) {
    .why-we__list > * + * { margin-left: 40px; }
    .hero-ctas > * + * { margin-left: 18px; }
    .contacts-buttons > * + * { margin-top: 10px; }
    .order-grid > * { margin-right: 8px; margin-bottom: 8px; }
    .product-share > * + * { margin-left: 10px; }
}

/* Backdrop-filter fallback (older Firefox, old Edge) */
@supports not (backdrop-filter: blur(1px)) {
    .hero-textbox { background: rgba(13,31,13,0.85); }
    .cookie-banner { background: var(--black); }
}
@supports not (-webkit-backdrop-filter: blur(1px)) {
    .hero-textbox { background: rgba(13,31,13,0.85); }
}

/* Vendor prefixes for sticky/transitions */
.acc-item, .card, .top__link, .order-btn, .form-submit, .back-to-top {
    -webkit-transition-property: all;
    -webkit-tap-highlight-color: transparent;
}

/* Smooth scroll for anchor links — works in Firefox/Chrome/Safari/Edge */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Object-fit fallback (IE 11) */
.card__img, .gallery-main-img, .gallery-thumb {
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
}

/* SVG sizing fix for IE 11 */
.feature-icon, .icon, svg { max-width: 100%; height: auto; }

/* Details polyfill — old Edge < 79 doesn't support <details>.
   We force it visible via JS in main.js (see __details_polyfill__ block). */
details > .acc-summary { display: block; }
.no-details details:not([open]) > *:not(summary):not(.acc-summary) { display: none; }
.no-details details[open] > * { display: block; }
.no-details .acc-summary { cursor: pointer; }

/* HTML5 <video> consistent appearance across browsers */
video.video__content {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 6px;
    -webkit-border-radius: 6px;
}
video::-webkit-media-controls-panel { background: rgba(0,0,0,0.7); }

/* Form inputs — Safari renders selects/inputs differently */
.form-row input, .form-row select, .form-row textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 5px;
    -webkit-border-radius: 5px;
}
.form-row select {
    background-image: -webkit-linear-gradient(45deg, transparent 50%, #888 50%), -webkit-linear-gradient(135deg, #888 50%, transparent 50%);
    background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 13px) calc(50% - 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 32px;
}
.form-row input[type="checkbox"] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
}

/* Fix Safari for cards in <a> */
a.card-wrap { -webkit-tap-highlight-color: transparent; color: inherit; text-decoration: none; }
a.card-wrap:visited { color: inherit; }

/* ============================================================
   v6 — NEW HERO (self-contained block) + accordion + textbox
   The hero is ONE normal-flow block: slider = background,
   content = normal child. ".why-we" always follows in flow,
   so overlap is structurally impossible on any screen/browser.
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
}

/* Slider fills the hero as a background layer */
.hero__bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.hero__bg .swiper { width: 100%; height: 100%; }
.hero__bg .swiper-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark shade over the slider for text legibility */
.hero__shade {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    background: rgba(0,0,0,0.32);
}

/* Hero content — normal-flow child, sits above slider */
.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 880px;
    text-align: center;
    padding: 150px 24px 80px;     /* top padding clears the absolute header */
    box-sizing: border-box;
}

.hero__title {
    font-size: 84px;
    font-weight: 700;
    color: var(--cream);
    line-height: 1.06;
    margin-bottom: 24px;
    text-shadow: 0 4px 26px rgba(0,0,0,0.55);
}

/* hero textbox — solid dark fill, readable in EVERY browser
   (no backdrop-filter — Opera GX renders it correctly) */
.hero-textbox {
    background: rgba(13,20,13,0.86) !important;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 8px 28px rgba(0,0,0,0.45);
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    max-width: 680px;
    margin: 0 auto 28px;
    padding: 18px 24px;
    border-radius: 6px;
}
.hero-subtitle {
    color: #ffffff !important;
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}

.hero-ctas {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 18px;
}
.hero__btn {
    display: inline-block;
    background-color: rgba(0,0,0,0.80);
    color: var(--cream);
    padding: 18px 38px;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 2px solid transparent;
    -webkit-transition: background-color 0.2s, border-color 0.2s;
    transition: background-color 0.2s, border-color 0.2s;
}
.hero__btn:hover {
    background-color: var(--green);
    border-color: var(--cream);
}

/* Swiper pagination bullets inside the new hero */
.hero .swiper-pagination { bottom: 22px !important; z-index: 3; }

/* ---- Tablet ---- */
@media (max-width: 1024px) {
    .hero__content { padding: 120px 20px 64px; }
    .hero__title { font-size: 56px; margin-bottom: 20px; }
    .hero__btn { font-size: 18px; padding: 15px 30px; }
}

/* ---- Phone ---- */
@media (max-width: 600px) {
    .hero__content { padding: 100px 16px 48px; }
    .hero__title { font-size: 40px; margin-bottom: 16px; }
    .hero-textbox { padding: 13px 16px; margin-bottom: 20px; }
    .hero-subtitle { font-size: 14px; line-height: 1.5; }
    .hero-ctas { gap: 12px; }
    .hero__btn { font-size: 15px; padding: 13px 22px; }
}
@media (max-width: 380px) {
    .hero__title { font-size: 32px; }
    .hero__btn { font-size: 13px; padding: 12px 16px; }
}

/* ============================================================
   ACCORDION — pure-CSS open/close (works in all browsers)
   ============================================================ */
/* (accordion uses native <details> show/hide — no max-height clipping) */
