/* HERO STAGE — wraps .hero so .tint-left can be a sibling (not nested inside
   .hero's overflow:hidden box). Owns the width/centering for both; .hero and
   .tint-left just fill 100% of it, so the absolutely-positioned .tint-left
   always lines up with .hero's box exactly, at every breakpoint. */
.hero-stage {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
}

/* HERO (основна карта) */
.hero {
    height: 85vh;
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
    --tiltX: 0deg;
    --tiltY: 0deg;
}

/* BACKGROUND LAYER (separated from .hero box so it can zoom/tilt without distorting the text) */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../images/background.jpg") center/cover no-repeat;
    animation: fx-hero-zoom 20s ease-in-out infinite alternate;
    transform-origin: center;
}

@keyframes fx-hero-zoom {
    0% {
        transform: scale(1) rotateX(var(--tiltX)) rotateY(var(--tiltY));
    }

    100% {
        transform: scale(1.12) rotateX(var(--tiltX)) rotateY(var(--tiltY));
    }
}

/* LEFT TINT */
.tint-left {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    padding-left: 60px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

/* HERO TEXT — neutralize default <h1> bold/size, spans below set the real look */
.hero-text {
    font-weight: normal;
    font-size: 100%;
}

.hero-text .gray {
    font-family: 'Basenji', serif;
    color: #aaa;
    font-size: 40px;
}

.hero-text .white {
    font-family: 'BasenjiSlanted', serif;
    color: #fff;
    font-size: 60px;
    background: linear-gradient(110deg, #fff 35%, #ffe9b0 48%, #fff 58%);
    background-size: 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fx-shimmer 6s ease-in-out infinite;
}

.hero-text .red {
    font-family: 'Basenji', serif;
    color: #d91f25;
    font-size: 40px;
}

@keyframes fx-shimmer {

    0%,
    100% {
        background-position: 200% 0;
    }

    50% {
        background-position: 0% 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero::before {
        animation: none;
    }

    .hero-text .white {
        animation: none;
        background-position: 0% 0;
    }
}

/* HERO WRAPPER */
.hero-wrapper {
    padding: 80px 0;
}

/* FEATURES STRIP */
.features-strip {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.feature-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    font-family: 'Basenji', serif;
    font-size: 16px;
    color: #fff;
    letter-spacing: 0.3px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(217, 31, 37, 0.4);
    box-shadow: 0 10px 24px rgba(217, 31, 37, 0.18);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(217, 31, 37, 0.3), rgba(244, 180, 0, 0.2));
    color: #f4b400;
}

.feature-icon svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 600px) {
    .features-strip {
        gap: 10px;
        padding: 0 16px;
    }

    .feature-chip {
        padding: 10px 16px;
        font-size: 13px;
        gap: 8px;
        justify-content: center;
    }

    /* Triangle layout: first chip alone on its own row, the other two share the row below. */
    .feature-chip:first-child {
        flex-basis: 100%;
    }

    .feature-chip:nth-child(2),
    .feature-chip:nth-child(3) {
        flex: 1 1 0;
        min-width: 0;
    }

    .feature-icon {
        width: 24px;
        height: 24px;
    }

    .feature-icon svg {
        width: 13px;
        height: 13px;
    }
}

/* ОБЩ КОНТЕЙНЕР ЗА СЕКЦИИТЕ */
.section-row {
    max-width: 1300px;
    margin: 80px auto;
    display: flex;
    align-items: stretch;
    gap: 60px;
}

/* ТЕКСТОВА КУТИЯ */
.text-box {
    flex: 1;
    padding: 60px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    min-height: 345px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* СНИМКОВА КУТИЯ */
.image-box {
    flex: 1;
    height: 345px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.3s ease;
}

.image-box:hover {
    box-shadow: 0 16px 44px rgba(217, 31, 37, 0.35), 0 10px 30px rgba(0, 0, 0, 0.5);
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-box:hover img {
    transform: scale(1.06);
}

/* РЕД 1 – снимка вдясно */
#row-1 {
    flex-direction: row;
}

/* РЕД 2 – снимка вляво */
#row-2 {
    flex-direction: row-reverse;
}

/* Текст стил */
.text-box h2 {
    margin-bottom: 20px;
    font-size: 36px;
    line-height: 1.2;
    color: #d91f25;
    /* ЧЕРВЕНО */
    font-family: 'BasenjiSlanted', serif;
}

.text-box h2::before {
    content: "";
    display: block;
    width: 46px;
    height: 4px;
    border-radius: 4px;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #d91f25, #f4b400);
}

.text-box {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.text-box:hover {
    border-color: rgba(217, 31, 37, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(217, 31, 37, 0.12);
}

.text-box p {
    font-size: 20px;
    color: #ffffff;
    /* ЧИСТО БЯЛО */
    line-height: 1.7;
    font-family: 'Basenji', serif;
}

/* ========================================================= */
/* ===================== REVIEWS SECTION ==================== */
/* ========================================================= */

.reviews-section {
    width: 100%;
    max-width: 1300px;
    margin: 100px auto;
    color: white;
    padding: 0 16px;
}

/* HEADER */
.reviews-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 25px;
}

.reviews-header h2 {
    font-size: 32px;
    margin: 0;
    color: #fff;
    font-family: 'BasenjiSlanted', serif;
}

.reviews-header .subtext {
    margin-top: 8px;
    font-size: 14px;
    color: #ccc;
}

.rate-us-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #d91f25, #a8151a);
    border: 1px solid rgba(244, 180, 0, 0.5);
    border-radius: 50px;
    color: #fff;
    font-family: 'Basenji', serif;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.rate-us-btn:hover {
    background: linear-gradient(135deg, #f4b400, #d91f25);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(244, 180, 0, 0.3);
}

/* SLIDER */
.reviews-slider {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 20px 0;
}

.reviews-viewport {
    overflow: hidden;
    width: 100%;
}

.reviews-track {
    display: flex;
    gap: 28px;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

/* REVIEW CARD */
.review-card {
    position: relative;
    width: 440px;
    min-width: 440px;
    max-width: 440px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 36px;
    color: white;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
    opacity: 0.6;
    overflow: hidden;
    transition: opacity 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.review-card::before {
    content: "\201C";
    position: absolute;
    top: -24px;
    right: 20px;
    font-size: 104px;
    font-family: Georgia, 'Times New Roman', serif;
    color: #d91f25;
    opacity: 0.18;
    pointer-events: none;
}

/* ACTIVE CARD */
.review-card.active {
    opacity: 1;
    border-color: rgba(244, 180, 0, 0.3);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.25);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    position: relative;
}

.review-avatar {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d91f25, #f4b400);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.review-top h3 {
    font-size: 18px;
    margin: 0;
}

.review-card .stars {
    color: #f4b400;
    font-size: 16px;
}

.review-card .text {
    position: relative;
    font-size: 17px;
    line-height: 1.7;
    color: #ddd;
}

/* PLACEHOLDERS */
.review-card.placeholder {
    opacity: 0;
    pointer-events: none;
}

/* ARROWS */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.2s ease;
}

.arrow.left {
    left: -5px;
}

.arrow.right {
    right: -5px;
}

.arrow:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ========================================================= */
/* =================== SIGNATURE DISHES ===================== */
/* ========================================================= */

.signature-section {
    width: 100%;
    max-width: 1300px;
    margin: 100px auto;
    color: white;
    padding: 0 16px;
}

.signature-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 25px;
}

.signature-header h2 {
    font-size: 32px;
    margin: 0;
    color: #fff;
    font-family: 'BasenjiSlanted', serif;
}

.signature-header .subtext {
    margin-top: 8px;
    font-size: 14px;
    color: #ccc;
}

.signature-row {
    display: flex;
    align-items: center;
    margin-bottom: 56px;
}

.signature-row:last-child {
    margin-bottom: 0;
}

.signature-text {
    flex: 1 1 auto;
    min-width: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 40px 56px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
}

.signature-text.pad-right {
    padding-right: 140px;
}

.signature-text.pad-left {
    padding-left: 140px;
}

.signature-text h3 {
    font-family: 'BasenjiSlanted', serif;
    color: #fff;
    font-size: 24px;
    margin-bottom: 12px;
}

.signature-text p {
    font-family: 'Basenji', serif;
    color: #ccc;
    font-size: 15px;
    line-height: 1.7;
}

.signature-sticker {
    flex: 0 0 240px;
    width: 240px;
    position: relative;
    z-index: 2;
}

.signature-sticker.sticker-right {
    margin-left: -90px;
}

.signature-sticker.sticker-left {
    margin-right: -90px;
}

.signature-sticker img {
    width: 100%;
    display: block;
    filter:
        drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(1.6px 1.6px 0 #fff) drop-shadow(-1.6px 1.6px 0 #fff) drop-shadow(1.6px -1.6px 0 #fff) drop-shadow(-1.6px -1.6px 0 #fff) drop-shadow(0 16px 24px rgba(0, 0, 0, 0.5));
}

/* ========================================================= */
/* ======================== FAQ ============================= */
/* ========================================================= */

.faq-section {
    width: 100%;
    max-width: 1300px;
    margin: 100px auto;
    color: white;
    padding: 0 16px;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 25px;
}

.faq-header h2 {
    font-size: 32px;
    margin: 0;
    color: #fff;
    font-family: 'BasenjiSlanted', serif;
}

.faq-header .subtext {
    margin-top: 8px;
    font-size: 14px;
    color: #ccc;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
    transition: border-color 0.25s ease;
}

.faq-item.open {
    border-color: rgba(217, 31, 37, 0.45);
}

.faq-question {
    width: 100%;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: none;
    border: none;
    margin: 0;
    padding: 22px 34px;
    cursor: pointer;
    text-align: left;
    font-family: 'BasenjiSlanted', serif;
    color: #fff;
    font-size: 19px;
    line-height: 1.4;
    transition: color 0.25s ease;
}

.faq-question:hover {
    color: #f4b400;
}

.faq-question:focus-visible {
    outline: 2px solid #f4b400;
    outline-offset: -2px;
}

.faq-icon {
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
    border-right: 2px solid #f4b400;
    border-bottom: 2px solid #f4b400;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-right: 6px;
}

.faq-item.open .faq-icon {
    transform: rotate(225deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
    min-height: 0;
}

.faq-answer p {
    font-family: 'Basenji', serif;
    color: #ccc;
    font-size: 15px;
    line-height: 1.7;
    padding: 0 34px 26px;
}

.faq-answer p a {
    color: #f4b400;
    text-decoration: underline;
    text-decoration-color: rgba(244, 180, 0, 0.4);
}

.faq-answer p a:hover {
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-stage {
        margin: 0 16px;
    }

    .hero {
        height: 60vh;
        border-radius: 24px;
    }

    .tint-left {
        width: 35%;
        padding-left: 26px;
        padding-right: 16px;
        border-radius: 24px 0 0 24px;
    }

    .hero-text .gray,
    .hero-text .red {
        font-size: 28px;
    }

    .hero-text .white {
        font-size: 44px;
    }

    .hero-wrapper {
        padding: 48px 0;
    }

    .section-row {
        margin: 44px auto;
        gap: 28px;
    }

    .text-box {
        padding: 28px;
        min-height: 365px;
    }

    .text-box h2 {
        font-size: 32px;
    }

    .text-box p {
        font-size: 18px;
    }

    .image-box {
        height: 365px;
    }
}

@media (max-width: 600px) {
    .hero-stage {
        margin: 0 12px;
    }

    .hero {
        height: 58vh;
        min-height: 420px;
        border-radius: 24px;
    }

    /* Full tint over the whole photo, text large and left-aligned. */
    .tint-left {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        padding: 28px;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        border-radius: 24px;
    }

    .hero-text .gray,
    .hero-text .red {
        font-size: 28px;
    }

    .hero-text .white {
        font-size: 46px;
    }

    .hero-wrapper {
        padding: 26px 0;
    }

    .section-row {
        gap: 16px;
        margin: 30px auto;
        padding: 0 16px;
    }

    #row-1,
    #row-2 {
        flex-direction: column-reverse;
    }

    .text-box {
        flex: none;
        width: 100%;
        padding: 22px;
        min-height: 285px;
    }

    .text-box h2 {
        font-size: 24px;
    }

    .text-box h2::before {
        margin-bottom: 12px;
    }

    .text-box p {
        font-size: 15px;
        line-height: 1.6;
    }

    .image-box {
        flex: none;
        width: 100%;
        height: 285px;
        min-height: 0;
    }

    .reviews-section {
        margin: 60px auto;
        padding: 0 8px;
    }

    .reviews-header {
        padding: 18px 14px;
    }

    .reviews-header h2 {
        font-size: 24px;
    }

    .review-card,
    .review-card.placeholder {
        width: 68vw;
        min-width: 68vw;
        max-width: 68vw;
    }

    .arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .arrow.left {
        left: 0;
    }

    .arrow.right {
        right: 0;
    }

    .signature-section {
        margin: 60px auto;
        padding: 0 8px;
    }

    .signature-header {
        padding: 18px 14px;
    }

    .signature-header h2 {
        font-size: 24px;
    }

    .signature-row {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .signature-text,
    .signature-text.pad-right,
    .signature-text.pad-left {
        width: 100%;
        padding: 70px 26px 28px;
    }

    .signature-sticker,
    .signature-sticker.sticker-right,
    .signature-sticker.sticker-left {
        order: -1;
        align-self: center;
        width: 160px;
        flex: 0 0 auto;
        margin: 0 0 -40px;
    }

    .faq-section {
        margin: 60px auto;
        padding: 0 8px;
    }

    .faq-header {
        padding: 18px 14px;
    }

    .faq-header h2 {
        font-size: 24px;
    }

    .faq-question {
        min-height: 88px;
        gap: 14px;
        padding: 18px 20px;
        font-size: 17px;
    }

    .faq-answer p {
        padding: 0 20px 22px;
    }
}