:root {
    /* Colors - Exact Reference Match */
    --color-bg-header: rgba(30, 30, 30, 0.9);
    --color-bg-form: rgba(147, 51, 149, 0.85);
    --color-stitch: rgba(255, 255, 255, 0.5);

    /* Typography */
    --font-headline: 'Lobster', cursive;
    --font-script: 'Marck Script', cursive;
    --font-body: 'Roboto', sans-serif;

    /* Layout */
    --container-width: 1280px;
    --header-height: 80px;
    --notch-size-form: 20px;
    --notch-size-btn: 10px;
} 

/* Красим только элементы с явной заливкой, игнорируя прозрачные слои */
.benefit-icon-wrapper svg path[fill]:not([fill="none"]),
.benefit-icon-wrapper svg circle[fill]:not([fill="none"]),
.benefit-icon-wrapper svg rect[fill]:not([fill="none"]) {
    fill: #933395 !important;
}

/* Красим линии (обводки), если они есть */
.benefit-icon-wrapper svg [stroke]:not([stroke="none"]) {
    stroke: #933395 !important;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    color: white;
    background-color: #f0f0f0;
    overflow-x: hidden;
}

body.menu-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

.logo svg {
    max-height: 50px;
    width: auto;
    display: block;
}
.footer-logo svg {
    max-height: 60px;
    width: auto;
    display: block;
}

/* Background */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: url('background.jpg') center center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
    padding-top: 100px;
    /* Push content down slightly as requested */
    padding-bottom: 50px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Increased opacity for readability on brighter background */
}

/* Language Switcher */


.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-bg-header);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.logo {
    display: block;
    width: 140px;
    flex-shrink: 0;
}

.logo-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Desktop Elements */
.desktop-nav {
    display: flex;
    gap: 20px;
}

.desktop-nav a {
    color: #fff !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.desktop-nav a:hover {
    opacity: 0.8;
}

.messenger-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.messenger-text {
    font-size: 0.8rem;
    line-height: 1.1;
    text-align: right;
    color: #dedede;
}

.messenger-icons {
    display: flex;
    gap: 8px;
}

.ms-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    text-decoration: none;
}

.ms-icon.telegram {
    background: #0088cc;
}

.ms-icon.whatsapp {
    background: #25D366;
}

.ms-icon.viber {
    background: #665CAC;
}

.ms-icon.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phones {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.2;
}

.phones a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}

/* --- Buttons --- */
.btn-callback {
    font-family: var(--font-headline);
    font-size: 1.3rem;
    color: white;
    text-decoration: none;
    padding: 6px 20px;
    background-color: rgba(135, 35, 95, 0.7);
    border: 2px solid white;
    white-space: nowrap;
    position: relative;
    cursor: pointer;
    display: inline-block;
    transition: none !important;
    transform: none !important;

    /* Ticket Shape & Curve Painting */
    --notch: 8px;
    --border-w: 2px;

    background-image:
        radial-gradient(circle at top left, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px)),
        radial-gradient(circle at top right, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px)),
        radial-gradient(circle at bottom left, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px)),
        radial-gradient(circle at bottom right, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px));

    background-repeat: no-repeat;
    background-position: top left, top right, bottom left, bottom right;
    background-origin: border-box;

    -webkit-mask-image:
        radial-gradient(circle at top left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at top right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        linear-gradient(black, black);
    -webkit-mask-position: top left, top right, bottom left, bottom right, center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-composite: source-in;
    mask-image:
        radial-gradient(circle at top left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at top right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        linear-gradient(black, black);
    mask-position: top left, top right, bottom left, bottom right, center;
    mask-repeat: no-repeat;
    mask-composite: intersect;
}



.btn-review {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 280px;
    height: 60px;
    background-color: rgba(135, 35, 95, 0.7);
    border: 2px solid white;
    color: white;
    font-family: var(--font-headline);
    font-size: 1.8rem;
    text-decoration: none;
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.2s;

    /* Ticket Shape & Curve Painting */
    --notch: 10px;
    --border-w: 2px;

    background-image:
        radial-gradient(circle at top left, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px)),
        radial-gradient(circle at top right, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px)),
        radial-gradient(circle at bottom left, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px)),
        radial-gradient(circle at bottom right, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px));

    background-repeat: no-repeat;
    background-position: top left, top right, bottom left, bottom right;
    background-origin: border-box;

    -webkit-mask-image:
        radial-gradient(circle at top left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at top right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        linear-gradient(black, black);
    -webkit-mask-position: top left, top right, bottom left, bottom right, center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-composite: source-in;
    mask-image:
        radial-gradient(circle at top left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at top right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        linear-gradient(black, black);
    mask-position: top left, top right, bottom left, bottom right, center;
    mask-repeat: no-repeat;
    mask-composite: intersect;
}

.btn-review:hover {
    background-color: #763592;
    transform: scale(1.02);
}


.btn-submit {
    position: relative;
    width: 100%;
    height: 60px;
    background-color: #8e44ad;
    color: white;
    font-family: var(--font-headline);
    font-size: 1.8rem;
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Ticket Shape & Curve Painting */
    --notch: 10px;
    --border-w: 2px;

    background-image:
        radial-gradient(circle at top left, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px)),
        radial-gradient(circle at top right, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px)),
        radial-gradient(circle at bottom left, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px)),
        radial-gradient(circle at bottom right, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px));

    background-repeat: no-repeat;
    background-position: top left, top right, bottom left, bottom right;
    background-origin: border-box;

    -webkit-mask-image:
        radial-gradient(circle at top left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at top right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        linear-gradient(black, black);
    -webkit-mask-position: top left, top right, bottom left, bottom right, center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-composite: source-in;
    mask-image:
        radial-gradient(circle at top left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at top right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        linear-gradient(black, black);
    mask-position: top left, top right, bottom left, bottom right, center;
    mask-repeat: no-repeat;
    mask-composite: intersect;
}

.btn-submit:hover {
    background-color: #763592;
    transform: scale(1.02);
}

.btn-submit:hover {
    transform: scale(1.02);
}

.btn-stitch {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
}

.form-block {
    width: 380px;
    max-width: 100%;
    position: relative;
    background: var(--color-bg-form);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 30px;
    margin-top: 20px;
    --notch: 20px;
    -webkit-mask-image:
        radial-gradient(circle at top left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at top right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        linear-gradient(black, black);
    -webkit-mask-position: top left, top right, bottom left, bottom right, center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-composite: source-in;
    mask-image:
        radial-gradient(circle at top left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at top right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        linear-gradient(black, black);
    mask-position: top left, top right, bottom left, bottom right, center;
    mask-repeat: no-repeat;
    mask-composite: intersect;
}

.form-header h2 {
    font-family: var(--font-body);
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 20px;
}

.input-group {
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 15px;
}

.input-icon {
    color: #888;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.input-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    font-family: var(--font-body);
}

.privacy-note {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 15px;
    opacity: 0.8;
}

/* --- Hero Section --- */
.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 0;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    opacity: 1;
    color: white;
    max-width: 500px;
    margin-top: 30px;
}

.hero-container {
    position: relative;
    /* Base for absolute arrow */
}

.hero-arrow {
    position: absolute;
    bottom: -13px;
    left: 40%;
    width: 280px;
    transform: rotate(-4deg);
    z-index: 5;
    pointer-events: none;
}

.script-font {
    font-family: var(--font-headline) !important;
}

.form-header h2.script-font {
    font-size: 1.6rem;
    line-height: 1.2;
}

.privacy-note.script-font {
    font-size: 1rem;
    margin-top: 15px;
    opacity: 0.9;
}

/* --- Mobile Menu --- */
.menu-toggle {
    display: none;
    /* Hidden on Desktop */
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    z-index: 1001;
}

.hamburger {
    width: 30px;
    height: 2px;
    background: white;
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: white;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -10px;
}

.hamburger::after {
    top: 10px;
}

.menu-toggle.is-active .hamburger {
    background: transparent;
}

.menu-toggle.is-active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.is-active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

.nav {
    position: fixed;
    inset: 0;
    background-color: #111 !important;
    /* Enforced solid background */
    z-index: 2000;
    /* Over everything, including header */
    transform: translateX(100%);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: none !important;
    /* Force hide on desktop */
    flex-direction: column;
}

.nav.is-open {
    transform: translateX(0);
}

.nav-header {
    height: 70px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-title {
    font-family: var(--font-headline);
    font-size: 2.2rem;
    color: white;
}

.nav-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 10px;
}

.nav-content-mobile {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Start from top to prevent clipping */
    gap: 40px;
    padding: 80px 20px 40px;
    /* Generous top padding for the fixed header height */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.mobile-links a {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-family: var(--font-headline);
    transition: 0.3s;
}

.mobile-links a:hover {
    color: var(--color-bg-form);
}

.mobile-social-container {
    text-align: center;
    margin-top: 20px;
}

.social-label {
    font-size: 1rem;
    color: #999;
    margin-bottom: 20px;
}

.mobile-social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.3s;
}

.social-circle.wa {
    background-color: #25D366;
}

.social-circle.tg {
    background-color: #0088cc;
}

.social-circle.vk {
    background-color: #4C75A3;
}

.social-circle.ig {
    background-image: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-circle:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.mobile-phones {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
}

.mobile-phone-link {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-phone-link i {
    color: var(--color-bg-form);
}

/* --- Features Grid Section --- */
.features-grid-section {
    padding: 60px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.features-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    background: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon-box {
    width: 100px;
    height: 100px;
    background: #f9f9f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #4a1a4a;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.icon-stack {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gear-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    font-size: 1.2rem;
    color: #933395;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.feature-text {
    font-family: var(--font-headline);
    font-size: 1.6rem;
    color: #222;
    line-height: 1.2;
    max-width: 250px;
}

/* Specific Tablet & Mobile Fixes for Features Section */
@media (max-width: 480px) {
    .video-modal-content {
        padding: 20px;
    }

    .close-video-modal {
        top: 10px;
        right: 15px;
    }

    /* Fix for long benefit titles on mobile */
    .benefit-content h3 {
        font-size: 1.25rem;
        /* Smaller font for mobile */
        word-break: break-word;
        /* Ensure long words break */
        hyphens: auto;
        /* Add hyphens if supported */
    }
}

/* --- Leave a Review Feature --- */


.review-modal-content {
    background: #fdf6ff;
    /* Match tech block background */
    padding: 30px;
    border-radius: 20px 20px 0 0;
    /* Rounded top like video modal */
    width: 100%;
    max-width: 500px;
    text-align: center;
}

@media (min-width: 768px) {
    .review-modal-content {
        border-radius: 20px;
        margin-bottom: 20px;
        /* Float slightly above bottom on desktop */
    }

    .video-modal {
        align-items: center;
        /* Center on desktop */
    }
}

.modal-title {
    font-family: var(--font-headline);
    font-size: 2rem;
    color: #4a1a4a;
    margin-bottom: 20px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.review-input,
.review-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    /* Roboto */
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.review-textarea {
    min-height: 100px;
    resize: vertical;
}

.review-input:focus,
.review-textarea:focus {
    border-color: #933395;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #933395;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
    user-select: none;
}

@media (max-width: 992px) {
    .features-grid-row {
        gap: 20px;
    }

    .feature-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .features-grid-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-card {
        padding: 0;
    }
}

/* --- Scoping Sections --- */
section {
    padding: 80px 0;
    color: #333;
}

.section-title {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 50px;
    color: #4a1a4a;
    position: relative;
}

.section-title::after {
    content: '~~~';
    display: block;
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--color-bg-form);
    margin-top: -10px;
}

.technology-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.technology-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background-9.jpg');
    /* Desktop Parallax Image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax Effect */
    filter: blur(8px);
    /* Blur Effect */
    transform: scale(1.1);
    /* Prevent blurred edges */
    z-index: 0;
}

@media (max-width: 1024px) {
    .technology-section::before {
        background-image: url('background-9.jpg');
        /* Mobile Parallax Image */
        background-attachment: scroll;
        /* Disable fixed on mobile for performance */
    }
}

.technology-section .container {
    position: relative;
    z-index: 2;
    /* Bring content above background */
}

.tech-blocks {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.tech-block {
    flex: 1;
    min-width: 300px;
    background: #fdf6ff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.tech-header {
    display: grid;
    grid-template-columns: 80px 1fr;
    /* Fixed width for icon column ensures title alignment */
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tech-header i,
.tech-icon-svg {
    font-size: 3rem;
    width: 3rem;
    height: 3rem;
    color: #933395;
    stroke: currentColor;
    flex-shrink: 0;
    justify-self: center;
    /* Center icon within the fixed 80px column */
}

/* Make custom sheep SVG 1.5x larger compared to base tech icons */
.wool-tech .tech-icon-svg {
    width: 4.5rem;
    height: 4.5rem;
}

.tech-header h3 {
    font-family: var(--font-headline);
    font-size: 1.8rem;
    color: #4a1a4a;
}

.tech-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-step {
    padding-left: 20px;
    border-left: 2px solid #933395;
    position: relative;
}

.step-dot {
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    background: #933395;
    border-radius: 50%;
}

.tech-step h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.tech-step p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

/* --- Gallery Section --- */
.gallery-section {
    background: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item {
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.gallery-img-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #eee;
    border-radius: 5px;
    margin-bottom: 10px;
}

.gallery-item p {
    font-family: var(--font-script);
    font-size: 1.1rem;
    color: #555;
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 8px;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img-wrapper img {
    transform: scale(1.05);
}

.gallery-like-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 2;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.gallery-like-badge i {
    color: #e91e63;
    font-size: 0.9rem;
}

.gallery-item h4 {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    color: #4a1a4a;
    margin: 5px 0 0;
    line-height: 1.3;
}

/* --- Price List --- */
.price-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.price-category h3 {
    font-family: var(--font-headline);
    font-size: 2rem;
    margin-bottom: 25px;
    color: #4a1a4a;
    border-bottom: 2px solid #933395;
    display: inline-block;
    padding-bottom: 5px;
}

.price-items {
    list-style: none;
}

.price-items li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dotted #ccc;
    font-size: 1.1rem;
}

.price-items li strong {
    color: #933395;
}

/* --- Benefits Link Layout --- */
.benefits-section {
    padding: 60px 0px 0px 0px;
    background: #fff;
}

.benefits-container {
    display: flex;
    align-items: flex-start;
    /* Prevent image from jumping when height changes */
    gap: 50px;
    position: relative;
}

.benefits-image-col {
    flex: 1;
    position: relative;
    /* Removed sticky */
    align-self: flex-end;
    /* Pins to bottom */
    height: fit-content;
}

.benefits-img {
    width: 100%;
    max-width: 75%;
    /* Reduced by 25% */
    display: block;
    margin: 0 auto;
}

.benefits-list-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 60px;
}

/* Benefit Items Interaction Redesign */
.benefit-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 5px 20px;
    /* Minimal padding collapsed */
    background: #fdf6ff;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    cursor: pointer;
    /* Ensure tap highlight works on mobile */
    -webkit-tap-highlight-color: rgba(147, 51, 149, 0.2);
}

.benefit-item:hover,
.benefit-item:focus-within,
.benefit-item:active {
    padding: 29px;
    /* Expanded padding */
    background: #f5e6f5;
    border-color: #933395;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(147, 51, 149, 0.15);
}

.benefit-icon-wrapper {
    width: 100px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    color: #933395;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.benefit-icon-wrapper svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Interaction: Scale icon on hover */
.benefit-item:hover .benefit-icon-wrapper,
.benefit-item:focus-within .benefit-icon-wrapper,
.benefit-item:active .benefit-icon-wrapper {
    transform: scale(1.25) rotate(5deg);
}

.benefit-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefit-content h3 {
    font-size: 1.3rem;
    /* Reduced from 1.8rem */
    font-weight: 700;
    color: #4a1a4a;
    margin-bottom: 0;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.benefit-description {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 1rem;
    /* Slightly larger for readability */
    color: #666;
    line-height: 1.5;
    margin-top: 0;
    transition: all 0.4s ease;
}

/* Interaction: Shrink title and reveal text */
.benefit-item:hover .benefit-content h3,
.benefit-item:focus-within .benefit-content h3,
.benefit-item:active .benefit-content h3 {
    font-size: 1.3rem;
    /* Shrink to normal */
    margin-bottom: 10px;
    color: #933395;
    /* Highlight color */
}

.benefit-item:hover .benefit-description,
.benefit-item:focus-within .benefit-description,
.benefit-item:active .benefit-description {
    max-height: 300px;
    /* Ample space */
    opacity: 1;
    margin-top: 5px;
}

/* Production Equipment Icon Specifics (User SVG) */
.benefit-icon .fil0,
.benefit-icon .fil1,
.benefit-icon .fil2,
.benefit-icon .fil3,
.benefit-icon .fil4,
.benefit-icon .str0 {
    fill: currentColor;
}

/* Specific Resize for Guarantee Icon */
.benefit-icon-wrapper .benefit-icon-guarantee {
    width: 85%;
    height: 85%;
}

@media (max-width: 992px) {
    .benefits-container {
        flex-direction: column-reverse;
        /* List first, then image */
        text-align: left;
    }

    .benefits-list-col {
        align-items: stretch;
        width: 100%;
    }

    .benefit-item {
        flex-direction: row;
        text-align: left;
    }

    .benefits-img {
        max-width: 100%;
        width: 100%;
        /* Ensure full width */
        margin: 0 auto;
        display: block;
        /* Remove inline-block spacing if any */
        /* Remove any previous constraints */
    }

    .benefit-content h3 {
        font-size: 1.3rem;
        font-weight: 700;
        color: #4a1a4a;
        margin-bottom: 0;
        transition: all 0.3s ease;
        line-height: 1.2;
    }
}

/* Orphaned CSS Block - Missing Selector (likely .capture-section)
/* Mask handles the shape */
/*
padding: 30px 60px;
text-align: center;
position: relative;
mask: radial-gradient(circle at top left, transparent 25px, black 26px) top left,
radial-gradient(circle at top right, transparent 25px, black 26px) top right,
radial-gradient(circle at bottom left, transparent 25px, black 26px) bottom left,
radial-gradient(circle at bottom right, transparent 25px, black 26px) bottom right;
mask-size: 51% 51%;
mask-repeat: no-repeat;
-webkit-mask: radial-gradient(circle at top left, transparent 25px, black 26px) top left,
radial-gradient(circle at top right, transparent 25px, black 26px) top right,
radial-gradient(circle at bottom left, transparent 25px, black 26px) bottom left,
radial-gradient(circle at bottom right, transparent 25px, black 26px) bottom right;
-webkit-mask-size: 51% 51%;
-webkit-mask-repeat: no-repeat;

box-shadow: 0 10px 30px rgba(128, 48, 130, 0.3);
max-width: 1100px;
width: 100%;
margin: 0 auto;
*/

.capture-title {
    font-family: var(--font-script);
    color: white;
    font-size: 2.4rem;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.capture-form {
    display: flex;
    justify-content: space-between;
    /* Spread out */
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.input-group {
    background: white;
    border-radius: 4px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    height: 55px;
    /* Fixed height for consistency */
    border: 1px solid #ccc;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-group i {
    color: #888;
    font-size: 1.4rem;
}

.input-group input {
    border: none;
    outline: none;
    width: 100%;
    font-family: var(--font-script);
    font-size: 1.3rem;
    color: #555;
    background: transparent;
    padding-top: 5px;
    /* Vertical alignment fix for script font */
}

.input-group input::placeholder {
    color: #999;
    font-family: var(--font-script);
    opacity: 1;
}

.capture-btn {
    background: #8e44ad;
    /* Purple to match call-me-btn */
    color: white;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 500;
    /* Large text */
    padding: 0 50px;
    height: 60px;
    /* Match input height roughly */
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    flex: 0 0 auto;
    border-radius: 0;

    /* Ticket Shape for Button */
    -webkit-mask: radial-gradient(circle at top left, transparent 10px, black 11px) top left,
        radial-gradient(circle at top right, transparent 10px, black 11px) top right,
        radial-gradient(circle at bottom left, transparent 10px, black 11px) bottom left,
        radial-gradient(circle at bottom right, transparent 10px, black 11px) bottom right;
    mask: radial-gradient(circle at top left, transparent 10px, black 11px) top left,
        radial-gradient(circle at top right, transparent 10px, black 11px) top right,
        radial-gradient(circle at bottom left, transparent 10px, black 11px) bottom left,
        radial-gradient(circle at bottom right, transparent 10px, black 11px) bottom right;
    -webkit-mask-size: 51% 51%;
    mask-size: 51% 51%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    /* Decoration - inset shadow simulation */
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Horizontal Form Section Styles */
.horizontal-form-section {
    padding: 60px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
}

/* Dark overlay for readability */
.horizontal-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.horizontal-form-section .container {
    position: relative;
    z-index: 2;
}

.capture-form--horizontal {
    max-width: 900px;
    margin: 0 auto;
    background: transparent;
    /* No purple box background */
    padding: 0;
}

/* Mobile responsive for horizontal form */
@media (max-width: 768px) {
    .capture-form--horizontal {
        flex-direction: column;
        gap: 15px;
    }

    .capture-form--horizontal .input-group,
    .capture-form--horizontal .capture-btn {
        width: 100%;
    }
}

.capture-btn:hover {
    transform: scale(1.05);
    background: #333;
}

/* Reviews Section */
.reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-header .section-title {
    text-align: center;
    margin: 0 auto;
}

.reviews-extended {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: start;
}

.review-item {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.review-item.expanded {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(147, 51, 149, 0.15);
    border-color: var(--color-bg-form);
    z-index: 10;
}


.review-header {
    margin-bottom: 15px;
}

.author {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    color: #933395;
}

/* Photo is hidden by default */
.review-photo {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    text-align: center;
    margin-bottom: 0;
}

.review-photo i {
    font-size: 4rem;
    color: #ddd;
    margin: 10px 0 20px;
}

/* Expanded State: Show Photo */
.review-item.expanded .review-photo {
    height: auto;
    opacity: 1;
    margin-bottom: 15px;
}

/* Text Truncation */
.review-item .text {
    font-family: var(--font-body);
    font-style: italic;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 3;
    /* Limit roughly visually */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Expanded State: Show Full Text */
.review-item.expanded .text {
    -webkit-line-clamp: unset;
    /* Show all lines */
    color: #333;
}

/* --- FAQ Accordion --- */
.faq-section {
    background: #fdf6ff;
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 10px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #4a1a4a;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #fdfdff;
}

.accordion-header i {
    transition: transform 0.3s;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
}

.accordion-content p {
    padding: 0 25px 25px;
    color: #666;
    line-height: 1.6;
}

/* --- Footer Styles --- */
.footer {
    background-color: #1a1a1a;
    padding: 60px 0 0;
    color: white;
}

.footer-container {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-info {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 25px;
}

.footer-details {
    margin-bottom: 25px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-details p {
    margin-bottom: 8px;
}

.footer-contacts {
    margin-bottom: 25px;
}

.footer-contacts p {
    margin-bottom: 12px;
}

.footer-contacts i {
    color: var(--color-bg-form);
    margin-right: 10px;
}

.footer-contacts a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--color-bg-form);
    transform: translateY(-3px);
}

.footer-map {
    flex: 1.5;
    min-width: 300px;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: #333;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    background: #111;
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0.5;
    transition: 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

/* --- Unified Responsive Breakpoints --- */

/* Review Button Styling - Matching .btn-callback style */


/* Tablet & Mobile (Standard - up to 1024px) */
@media (max-width: 1024px) {

    .desktop-nav,
    .messenger-block,
    .header-right {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0;
    }

    .nav {
        display: flex !important;
        /* Show on mobile devices */
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 0;
    }

    .hero-section {
        background-image: url('background-7.jpg');
        background-position: center top;
        /* Adjust focus for vertical image */
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .hero-arrow {
        display: none;
    }

    .form-block {
        width: 100%;
        margin: 0 auto;
    }

    .tech-blocks {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .price-list-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .benefits-grid-7 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Specific Phone Fixes (up to 480px) */
@media (max-width: 480px) {
    :root {
        --header-height: 70px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .tech-block {
        padding: 25px;
    }

    .price-category h3 {
        font-size: 1.6rem;
    }

    .price-items li {
        font-size: 1rem;
        padding: 12px 0;
    }

    .benefits-grid-7 {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-item {
        padding: 20px;
    }

    .accordion-header {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .footer-container {
        text-align: center;
        gap: 30px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Tablet Horizontal / Large Portrait (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .tech-blocks {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid-7 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Extra Large Screens (> 1440px) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}

/* --- Mobile Social Icons (Added per request) --- */
.mobile-social-container {
    margin-top: 25px;
    text-align: center;
    width: 100%;
}

.social-label {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 500;
}

.mobile-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.social-circle:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Brand Colors */
.social-circle.ig {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-circle.yt {
    background: #FF0000;
}

.social-circle.tt {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-circle.tw {
    background: #1DA1F2;
}

.social-circle.vk {
    background: #0077FF;
}

/* --- Video Popup Styles --- */
.tech-video-btn {
    display: block;
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    background: transparent;
    border: 2px solid #8e44ad;
    color: #8e44ad;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tech-video-btn:hover {
    background: #8e44ad;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(142, 68, 173, 0.3);
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    /* Increased to cover all elements */
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    visibility: hidden;
    /* Hide by default to prevent "hanging" */
    transition: visibility 0s 0.4s;
    /* Wait for content to slide down before hiding */
}

.video-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}

.video-modal.active {
    pointer-events: auto;
    visibility: visible;
    /* Show when active */
    transition: visibility 0s 0s;
    /* Show immediately */
}

.video-modal.active::before {
    opacity: 1;
}

.video-modal-content {
    background: white;
    width: 100%;
    max-width: 600px;
    /* Limit width on desktop */
    border-radius: 20px 20px 0 0;
    padding: 30px;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 0;
    /* Align to bottom */
}

@media (min-width: 768px) {
    .video-modal {
        align-items: center;
        /* Center on desktop */
    }

    .video-modal-content {
        border-radius: 20px;
        margin: 0;
    }
}

.video-modal.active .video-modal-content {
    transform: translateY(0);
}

.close-video-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    /* Add background for better visibility */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.video-placeholder {
    width: 100%;
    height: 250px;
    background: #f0f0f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    gap: 10px;
    margin-top: 15px;
}

.video-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

/* Resize icons on desktop */
@media (min-width: 992px) {
    .feature-icon-box {
        width: 150px;
        height: 150px;
        font-size: 4.3rem;
    }

    .gear-icon {
        font-size: 2.15rem;
        bottom: -8px;
        right: -8px;
    }
}

/* Services Checkerboard Layout */
.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-image-col {
    flex: 0 0 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-img {
    width: 100%;
    max-width: 450px;
    border-radius: 0;
    box-shadow: none;
    display: block;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.service-content-col {
    flex: 1;
    max-width: 600px;
    /* Limit width on desktop to keep prices closer */
}

.service-content-col h3 {
    font-family: var(--font-headline);
    /* Revert to original */
    font-size: 2rem;
    /* Revert size */
    color: #4a1a4a;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    border-bottom: 2px solid #933395;
    /* Original border style */
    padding-bottom: 5px;
}

/* Underline for titles */
.service-content-col h3::after {
    display: none;
}


/* Adjust existing price list styles for new context if needed */
.price-items li {
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
    font-size: 1.1rem;
    /* Ensure gap on mobile */
    gap: 15px;
}

@media (max-width: 992px) {
    .service-row {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .services-wrapper {
        gap: 50px;
    }

    .service-row,
    .service-row.reverse {
        flex-direction: column-reverse;
        /* Text first, Image second */
        text-align: center;
        gap: 30px;
    }

    .service-content-col {
        width: 100%;
        max-width: 100%;
        /* Reset max-width for mobile */
    }

    .service-content-col h3::after {
        margin: 5px auto 0;
    }

    .service-img {
        max-width: 80%;
        /* -20% size on mobile */
        margin: 0 auto;
        border-radius: 20px;
        /* Restore card effect */
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        /* Restore shadow */
    }
}

/* Footer Links Fix */
.footer-links a {
    display: block;
    margin-bottom: 2px;
    /* Minimal spacing */
    text-decoration: none;
    /* Remove underline for cleaner look */
    color: rgba(255, 255, 255, 0.7);
    /* Visible on dark background */
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-links p {
    margin: 0;
    padding: 0;
}

.footer-copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Footer Redesign (4 Columns) --- */

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile: Stacked */
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.footer-links-list a:hover {
    color: white;
    text-decoration: underline;
}



/* Desktop: 4 Columns */
@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        /* Info is wider */
        text-align: left;
    }

    .footer-info {
        padding-right: 20px;
    }

    .footer-copyright {
        text-align: center;
        /* Keep centered on desktop as well */
        margin-top: 0;
        padding-top: 20px;
    }

    /* Align columns with company info text */
    .footer-legal,
    .footer-nav,
    .footer-map-col {
        margin-top: 80px;
        /* Adjusted estimate for logo height + margin */
    }

    .footer-bottom {
        background: #111;
        padding: 5px 0;
        text-align: center;
        margin-top: 40px;
    }
}

/* --- Modal Base --- */
.callback-modal,
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.callback-modal.active,
.video-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Bottom Sheet Animation for Video/Review Modals */
.video-modal {
    align-items: flex-end;
    /* Align to bottom */
}

.video-modal-content {
    background: white;
    width: 100%;
    max-width: 500px;
    padding: 30px;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active .video-modal-content {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .video-modal {
        align-items: center;
        /* Center on desktop */
    }

    .video-modal-content {
        border-radius: 20px;
        margin-bottom: 20px;
        transform: translateY(50px);
        opacity: 0;
        transition: all 0.4s ease;
    }

    .video-modal.active .video-modal-content {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (min-width: 992px) {

    /* ... existing styles ... */
    /* ... existing styles ... */

}

/* --- Gallery Styles --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #e1e1e1;
    border-radius: 25px;
    background: white;
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #4a1a4a;
    background: #4a1a4a;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    min-height: 400px;
    /* Prevent collapse during load */
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    aspect-ratio: 1;
    /* Square tiles */
    background: #f5f5f5;
    touch-action: manipulation;
    /* Improves touch response */
    -webkit-tap-highlight-color: transparent;
    /* Removes default tap highlight */
}

/* Base styles for images and overlay - Restored */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    pointer-events: none;
    /* Let clicks pass through image */
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    /* CRITICAL: Let clicks pass through overlay to the parent div */
}

/* Hover specific styles - prevents double tap on mobile */
@media (hover: hover) {
    .gallery-item:hover {
        transform: translateY(-5px);
    }

    .gallery-item:hover img {
        transform: scale(1.05);
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }
}

/* Pagination */
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background: #4a1a4a;
    color: white;
    border-color: #4a1a4a;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#pageIndicator {
    font-weight: 500;
    color: #666;
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 20px;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    background: white;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.close-gallery-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-body {
    display: flex;
    flex-direction: column;
    /* Mobile first: Stacked */
    height: 100%;
    overflow-y: auto;
}

.gallery-modal-image {
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-image img {
    max-width: 100%;
    max-height: 60vh;
    /* Limit height on mobile */
    object-fit: contain;
}

.gallery-modal-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery-modal-info p {
    color: #333;
    line-height: 1.5;
}

.gallery-modal-info h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.insta-username {
    font-weight: 700;
    color: #262626;
    margin-right: 5px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-tag {
    font-size: 0.8rem;
    color: #888;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 12px;
}

.modal-likes {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding: 10px 15px;
    background: #f8f8f8;
    border-radius: 30px;
    width: fit-content;
}

.like-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    color: #ccc;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.like-btn:hover {
    transform: scale(1.2);
    color: #e91e63;
}

.like-btn.liked {
    color: #e91e63;
}

.like-btn.liked i {
    font-weight: 900;
}

#likeCount {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    min-width: 20px;
    display: inline-block;
}

/* Desktop Modal Layout */
@media (min-width: 768px) {
    .gallery-modal-content {
        height: 600px;
        /* Fixed height for consistent look */
    }

    .gallery-modal-body {
        flex-direction: row;
        height: 100%;
        overflow: hidden;
    }

    .gallery-modal-image {
        width: 60%;
        height: 100%;
        background: #000;
    }

    .gallery-modal-image img {
        height: 100%;
        max-height: 100%;
    }

    .gallery-modal-info {
        width: 40%;
        overflow-y: auto;
        padding: 30px;
        justify-content: center;
    }
}

.callback-modal-content {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.callback-modal.active .callback-modal-content {
    transform: translateY(0);
}

.close-callback-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.callback-modal .modal-title {
    font-size: 2rem;
    color: #4a1a4a;
    margin-bottom: 10px;
}

.callback-modal .modal-subtitle {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.callback-modal .modal-form .input-group {
    background: #f9f9f9;
    visibility: visible;
}

.gallery-modal-content {
    background: white;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.close-gallery-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-body {
    display: flex;
    flex-direction: column;
    /* Mobile first: Stacked */
    height: 100%;
    overflow-y: auto;
}

.gallery-modal-image {
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-image img {
    max-width: 100%;
    max-height: 60vh;
    /* Limit height on mobile */
    object-fit: contain;
}

.gallery-modal-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery-modal-info p {
    color: #333;
    line-height: 1.5;
}

.gallery-modal-info h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.insta-username {
    font-weight: 700;
    color: #262626;
    margin-right: 5px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-tag {
    font-size: 0.8rem;
    color: #888;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 12px;
}


/* Desktop Modal Layout */
@media (min-width: 768px) {
    .gallery-modal-content {
        height: 600px;
        /* Fixed height for consistent look */
    }

    .gallery-modal-body {
        flex-direction: row;
        height: 100%;
        overflow: hidden;
    }

    .gallery-modal-image {
        width: 60%;
        height: 100%;
        background: #000;
    }

    .gallery-modal-image img {
        height: 100%;
        max-height: 100%;
    }

    .gallery-modal-info {
        width: 40%;
        overflow-y: auto;
        padding: 30px;
        justify-content: center;
    }
}

.callback-modal-content {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.callback-modal.active .callback-modal-content {
    transform: translateY(0);
}

.close-callback-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.callback-modal .modal-title {
    font-size: 2rem;
    color: #4a1a4a;
    margin-bottom: 10px;
}

.callback-modal .modal-subtitle {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.callback-modal .modal-form .input-group {
    background: #f9f9f9;
    border: 1px solid #eee;
}

.callback-modal .modal-form .input-group input {
    background: transparent;
}

/* --- Gallery Animations --- */

/* Wrapper to handle overflow during sliding */
.gallery-grid-wrapper {
    overflow: hidden;
    position: relative;
    min-height: 400px;
    /* Prevent collapse during transition */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* Pagination Slide Effects - Continuous Slider */
.gallery-grid-wrapper {
    overflow: hidden;
    position: relative;
    /* Ensure height doesn't collapse during absolute positioning of children if needed, 
       but typically the 'new' grid will hold the height. */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    /* Ensure it takes full width */
}

/* 
   Animation Strategy: 
   The 'active' grid (new content) slides in. 
   The 'exiting' grid (clone) slides out.
   They move in sync.
*/

/* NEXT: Old goes Left, New comes from Right */
.slide-exit-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideOutLeft 0.5s ease-in-out forwards;
    z-index: 1;
}

.slide-enter-right {
    animation: slideInRight 0.5s ease-in-out forwards;
    z-index: 2;
}

/* PREV: Old goes Right, New comes from Left */
.slide-exit-right {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideOutRight 0.5s ease-in-out forwards;
    z-index: 1;
}

.slide-enter-left {
    animation: slideInLeft 0.5s ease-in-out forwards;
    z-index: 2;
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Filter Fly-in/Out Effects (Desktop Only) */
@media (min-width: 1024px) {
    .gallery-item {
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    }

    /* Fly Out: Move randomly out of view */
    .gallery-item.fly-out {
        opacity: 0;
        pointer-events: none;
    }

    /* Fly In: Start from random position and come to place */
    .gallery-item.fly-in {
        animation: flyIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
}

@keyframes flyIn {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(50px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* --- Reviews Responsive Layout --- */
.reviews-slider {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.reviews-header .section-title {
    margin-bottom: 0;
}



.review-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    /* Default collapsed state style if needed, e.g. limit height */
}

/* Review Photo - Visible on expand or always? User said "on click... photo appears" */
/* But in the revert step, I put photos in HTML. Let's hide them initially on desktop if that's what "appears" means */
.review-photo {
    display: none;
    /* Potentially hidden by default? Or just small */
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.review-item.expanded .review-photo {
    display: block;
    /* Show when expanded */
}

/* Desktop styles */
@media (min-width: 992px) {
    .reviews-slider {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .review-item {
        /* Square-ish: flex-basis approx 1/3 or fixed width */
        flex: 0 1 calc(33.333% - 30px);
        height: 270px;
        /* Fixed height for square look */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    /* Expanded state takes full width */
    /* Expanded state: Grow vertically, keep column layout */
    .review-item.expanded {
        /* Keep original width */
        flex: 0 1 calc(33.333% - 30px);
        height: auto;
        /* Allow full expansion */
        min-height: 270px;
        flex-direction: column;
        /* Keep vertical */
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        z-index: 10;
    }

    .review-item.expanded .review-photo {
        display: block;
        margin-bottom: 15px;
        margin-right: 0;
    }
}

/* --- Callback Modal Styles --- */
.callback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.6);
}

.callback-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.callback-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 3001;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.callback-modal.active .callback-modal-content {
    transform: translateY(0);
}

.close-callback-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f0f0f0;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
    z-index: 3002;
}

.close-callback-modal:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.modal-title {
    color: #333 !important;
    margin-bottom: 10px;
    font-size: 2rem;
    line-height: 1.2;
}

.modal-subtitle {
    color: #666 !important;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.modal-form input,
.modal-form textarea {
    font-family: var(--font-body) !important;
    font-style: normal !important;
}

.modal-form .input-group:has(textarea) {
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
}

.modal-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    resize: vertical;
    background: #f9f9f9;
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}


.modal-form .btn-submit {
    position: relative;
    width: 100%;
    height: 60px;
    background-color: #8e44ad;
    color: white;
    font-family: var(--font-headline);
    font-size: 1.8rem;
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Ticket Shape & Curve Painting */
    --notch: 10px;
    --border-w: 2px;

    background-image:
        radial-gradient(circle at top left, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px)),
        radial-gradient(circle at top right, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px)),
        radial-gradient(circle at bottom left, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px)),
        radial-gradient(circle at bottom right, transparent var(--notch), white var(--notch), white calc(var(--notch) + var(--border-w)), transparent calc(var(--notch) + var(--border-w) + 1px));

    background-repeat: no-repeat;
    background-position: top left, top right, bottom left, bottom right;
    background-origin: border-box;

    -webkit-mask-image:
        radial-gradient(circle at top left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at top right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        linear-gradient(black, black);
    -webkit-mask-position: top left, top right, bottom left, bottom right, center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-composite: source-in;
    mask-image:
        radial-gradient(circle at top left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at top right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom left, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        radial-gradient(circle at bottom right, transparent var(--notch), black calc(var(--notch) + 0.5px)),
        linear-gradient(black, black);
    mask-position: top left, top right, bottom left, bottom right, center;
    mask-repeat: no-repeat;
    mask-composite: intersect;
}

.modal-form .btn-submit:hover {
    background-color: #763592;
    transform: scale(1.02);
}

.review-photo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
}

/* Discounts Section */
.discounts-section {
    padding: 20px 0;
    background-color: #f9f9f9;
}

.discounts-accordion-toggle {
    width: 100%;
    padding: 15px 25px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.discounts-accordion-toggle:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.discounts-accordion-toggle .toggle-text {
    font-family: 'Open Sans', sans-serif;
    /* Simple readable font */
    font-weight: 600;
    font-size: 1.5rem;
    color: #333;
}

.discounts-accordion-toggle .toggle-icon {
    color: #933395;
    transition: transform 0.3s ease;
}

.discounts-accordion-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.discounts-content {
    margin-top: 20px;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.discounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Ticket Styles */
.discount-ticket {
    background: #fff;
    padding: 20px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Ticket shape using radial gradient for notches */
    background-image: radial-gradient(circle at 0 0, transparent 10px, #fff 10px),
        radial-gradient(circle at 100% 0, transparent 10px, #fff 10px),
        radial-gradient(circle at 100% 100%, transparent 10px, #fff 10px),
        radial-gradient(circle at 0 100%, transparent 10px, #fff 10px);
    background-repeat: no-repeat;
    background-size: 50% 50%, 50% 50%, 50% 50%, 50% 50%;
    background-position: top left, top right, bottom right, bottom left;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    /* Inner border radius matches hole offset */
    margin: 10px;
    /* Space for the drop-shadow filter to work outside clips */
}

/* Alternative approach for better perforated edges using mask if supported, but gradients are safer. 
   Simplifying to a card with dashed border and "cutout" corners visual.
*/

.discount-ticket::before,
.discount-ticket::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #f9f9f9;
    /* Match section bg */
    border-radius: 50%;
    z-index: 1;
}

.discount-ticket::before {
    top: 50%;
    left: -12px;
    margin-top: -10px;
}

.discount-ticket::after {
    top: 50%;
    right: -12px;
    margin-top: -10px;
}

.discount-ticket:hover {
    transform: translateY(-5px) rotate(1deg);
    filter: drop-shadow(0 8px 15px rgba(147, 51, 149, 0.2));
    border-color: #933395;
}

.ticket-header {
    border-bottom: 2px dashed #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-title {
    font-family: 'Open Sans', sans-serif;
    /* Simple readable font */
    font-weight: 700;
    font-size: 1.4rem;
    color: #333;
}

.ticket-percent {
    font-weight: bold;
    font-size: 1.5rem;
    color: #933395;
}

.ticket-icon {
    font-size: 1.5rem;
    color: #933395;
}

.ticket-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ticket-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 15px;
}

.ticket-stub {
    display: none;
    /* Remove stub visual */
}

/* Modal Styles for Discounts */
.discount-modal {
    display: flex;
    /* Changed from block to flex for valid centering */
    align-items: center;
    /* Fallback/helper */
    justify-content: center;
    /* Fallback/helper */
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Hide overflow on container, scroll is on content */
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(5px);
    /* Safari support */
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.discount-modal.show {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.discount-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.discounts-warning {
    text-align: center;
    margin-top: 20px;
}

.discounts-warning p {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

.discount-modal.show .discount-modal-content {
    transform: translateY(0);
}

.close-discount-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
    transition: color 0.2s;
}

.close-discount-modal:hover {
    color: #333;
}

.discount-modal-body {
    display: flex;
    flex-direction: column;
}

.ticket-visual-large {
    height: 150px;
    background: linear-gradient(135deg, #933395 0%, #b554b7 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Tear line visual at bottom of large ticket header */
.tear-line {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: radial-gradient(circle, transparent, transparent 50%, #fefefe 50%, #fefefe 100%) -10px -10px / 20px 20px repeat-x;
    transform: rotate(180deg);
}

/* Actually, standard CSS jagged edge is easier with mask or svg background. 
   Let's keep it simple: just a colored header.
*/
.tear-line {
    display: none;
}

.discount-details {
    padding: 30px;
    text-align: center;
}

.discount-details h3 {
    font-family: 'Open Sans', sans-serif;
    /* Simple readable font */
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.discount-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.discount-action .btn-action {
    display: inline-block;
    padding: 12px 30px;
    background-color: #933395;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.discount-action .btn-action:hover {
    background-color: #7a2a7c;
}

/* Ticket Color Variants */
.social-ticket .ticket-percent {
    color: #e67e22;
}

.social-ticket:hover {
    border-color: #e67e22;
}

.social-ticket .ticket-stub {
    color: #e67e22;
}

.friendly-ticket .ticket-percent {
    color: #e91e63;
}

.friendly-ticket:hover {
    border-color: #e91e63;
}

.friendly-ticket .ticket-stub {
    color: #e91e63;
}

.neighbor-ticket .ticket-icon {
    color: #2ecc71;
}

.neighbor-ticket:hover {
    border-color: #2ecc71;
}

.neighbor-ticket .ticket-stub {
    color: #2ecc71;
}

/* --- Hidden Cat Game Styles --- */
.cat-game-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 20000;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.cat-game-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.cat-game-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    max-width: 90%;
    width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.close-cat-game {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

.close-cat-game:hover {
    color: #333;
}

.game-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.game-area {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 200px;
    background: #f9f9f9;
    border-radius: 15px;
    margin-bottom: 20px;
    position: relative;
}

.cat-zone {
    font-size: 80px;
    color: #7f8c8d;
    position: relative;
    transition: transform 0.3s;
}

.cat-zone.sleeping {
    color: #e67e22;
    /* Orange cat when happy */
}

/* Blanket Draggable */
.blanket-draggable {
    font-size: 60px;
    color: #3498db;
    cursor: grab;
    transition: transform 0.2s;
    -webkit-user-select: none;
    /* Safari */
    user-select: none;
    touch-action: none;
    /* Crucial for touch drag */
}

.blanket-draggable:active {
    cursor: grabbing;
    transform: scale(1.1);
}

.blanket-draggable.covered {
    display: none;
    /* Hide original when dropped */
}

/* The "Worn" blanket on the cat */
.cat-zone::after {
    content: '\f56e';
    /* fa-scroll icon code (blanket look) */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 10px;
    left: -10px;
    font-size: 60px;
    color: #3498db;
    opacity: 0;
    transition: opacity 0.5s;
    transform: rotate(-10deg);
}

.cat-zone.sleeping::after {
    opacity: 1;
}

/* Sleep Animation */
.sleep-zzz {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    opacity: 0;
}

.cat-zone.sleeping .sleep-zzz {
    opacity: 1;
    animation: floatZ 2s infinite ease-in-out;
}

.cat-zone.sleeping .sleep-zzz span {
    display: inline-block;
    animation: wave 1.5s infinite;
}

.cat-zone.sleeping .sleep-zzz span:nth-child(2) {
    animation-delay: 0.2s;
}

.cat-zone.sleeping .sleep-zzz span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes floatZ {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0;
    }
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.game-message {
    font-family: 'Open Sans', sans-serif;
    /* Readable font */
    font-size: 1.2rem;
    color: #27ae60;
    font-weight: bold;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s;
}

.game-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .cat-game-content {
        padding: 20px;
        width: 95%;
    }

    .game-area {
        height: 150px;
    }

    .cat-zone {
        font-size: 60px;
    }

    .cat-zone {
        font-size: 60px;
    }

    .blanket-draggable {
        font-size: 50px;
    }
}

/* --- Cat Game Hint (Mobile) --- */
.cat-hint {
    position: absolute;
    bottom: 40px;
    /* Above the text */
    right: 10px;
    font-size: 2rem;
    color: #e67e22;
    /* Orange cat */
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) rotate(10deg);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 100;
    pointer-events: none;
    /* Initially non-interactive */
}

.cat-hint.peek {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
    pointer-events: auto;
    animation: catWiggle 2s infinite ease-in-out;
}

@keyframes catWiggle {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(10deg) scale(1.1);
    }
}

.hint-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(230, 126, 34, 0.4);
    transform: translate(-50%, -50%) scale(1);
    animation: pulseHint 1.5s infinite;
    z-index: -1;
    display: none;
}

.cat-hint.peek .hint-pulse {
    display: block;
}

@keyframes pulseHint {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Ensure relative positioning for cat hint */
.footer-copyright {
    position: relative;
    z-index: 10;
}

/* Accordion Content Styling Fixes */
.accordion-content ul {
    list-style-type: disc !important;
    padding-left: 40px !important;
    margin-top: 10px;
    margin-bottom: 20px;
}

.accordion-content li {
    margin-bottom: 8px;
    line-height: 1.5;
    display: list-item !important;
}

.accordion-content p {
    margin-bottom: 15px;
}

.accordion-content strong {
    color: #4a1a4a;
}

/* Ensure gallery modal tags can wrap */
.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.modal-tag {
    color: #933395;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Discounts Toggle Styles */
.discounts-accordion-toggle {
    width: 100%;
    background: #f8f9fa;
    /* Light gray strip for desktop */
    border: 1px solid #ddd;
    padding: 15px 20px;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-headline);
    /* Assuming this variable exists, matching other headers */
    font-size: 1.2rem;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
    /* For pseudo-elements */
}

.discounts-accordion-toggle:hover {
    background: #e9ecef;
}

.discounts-accordion-toggle .toggle-text {
    position: relative;
    z-index: 2;
    /* Bring text above overlay */
}

/* Mobile specific styles for Discounts Toggle */
@media (max-width: 768px) {
    .discounts-accordion-toggle {
        background-color: transparent;
        color: white !important;
        /* White text for contrast on image */
        padding: 20px;
        text-align: center;
        justify-content: center;
        /* Center text on mobile usually looks better with image */
        font-size: 1.4rem;
        border: none;
    }

    .discounts-accordion-toggle .toggle-text {
        color: white !important;
    }

    /* Background Image with Blur */
    .discounts-accordion-toggle::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('background-10.jpg');
        /* Using the dark texture image */
        background-size: cover;
        background-position: center;
        filter: blur(4px);
        /* Blur the image */
        z-index: 0;
        transform: scale(1.05);
        /* Prevent blur edges showing white */
    }

    /* Dark Overlay for readability */
    .discounts-accordion-toggle::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        /* Dark overlay */
        z-index: 1;
    }
}

/* --- Mobile Navigation Menu (Restored) --- */
.nav {
    display: none;
}

@media (max-width: 1024px) {
    .nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(26, 26, 26, 0.98);
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        z-index: 2000;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 100px 20px 40px;
        overflow-y: auto;
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .nav-close {
        position: absolute;
        top: 25px;
        right: 25px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s;
    }

    .nav-close:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .mobile-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        width: 100%;
        margin-bottom: 40px;
    }

    .mobile-links a {
        font-family: var(--font-headline);
        font-size: 2rem;
        color: white;
        text-decoration: none;
        position: relative;
    }

    .mobile-links a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: #933395;
        transition: width 0.3s;
    }

    .mobile-links a:hover::after {
        width: 100%;
    }

    /* Additional fixes for header z-index */
    .header {
        z-index: 1000;
    }
}