:root {
    --primary-green: #4CAF50;
    --accent-blue: #2196F3;
    --accent-pink: #FF4081;
    --text-dark: #1F2937;
    --text-light: #F9FAFB;
    --background: #f8f9fa;
    --gray: #E5E7EB;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --vh: 1vh;
}

.phone-copy-toast {
    position: fixed;
    right: auto;
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    left: 50%;
    z-index: 20000;
    max-width: calc(100vw - 2rem);
    padding: 0.75rem 1rem;
    color: #fff;
    background: #174b35;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(15, 38, 27, 0.24);
    font-size: 0.9rem;
    font-weight: 650;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.phone-copy-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

input, button, textarea, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    border-radius: 0;
    background: transparent;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.transform {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

@-webkit-keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@-moz-keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .flex {
        display: -ms-flexbox;
        display: flex;
    }
    
    .hero-content {
        -ms-flex-align: center;
        -ms-flex-pack: center;
    }
}

@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance: none) {
        .hero-slide {
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }
    }
}

html {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
    overflow-x: hidden;
    position: relative;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loading {
    opacity: 0.7;
}

img.loaded {
    opacity: 1;
}



@supports (-webkit-touch-callout: none) {
    html, body {
        background-color: #f8f9fa !important;
        background: #f8f9fa !important;
    }
    
    html::before, html::after,
    body::before, body::after {
        background-color: #f8f9fa !important;
        background: #f8f9fa !important;
    }
    
    .container, .hero-section {
        background-color: #f8f9fa !important;
    }
    
    .footer {
        background: #f8f9fa !important;
        background-color: #f8f9fa !important;
    }
    
    .hero-background,
    .hero-slide {
        background-position: center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        display: block !important;
    }
    
    .catalog-item-image,
    .gallery-item img,
    .modal-image {
        display: block !important;
        color: transparent !important;
    }
}

@media screen and (max-width: 1024px) {
    @supports (-webkit-touch-callout: none) {
        html {
            background: #f8f9fa !important;
            background-color: #f8f9fa !important;
            background-image: none !important;
            background-attachment: scroll !important;
        }
        
        body {
            background: #f8f9fa !important;
            background-color: #f8f9fa !important;
            background-image: none !important;
            min-height: 100vh;
            position: relative;
        }
        
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #f8f9fa !important;
            z-index: -1;
        }
        
        .footer {
            background: #fff !important;
            background-color: #fff !important;
        }
    }
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.section {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
    word-wrap: break-word;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 2px;
}

.hero-section {
    min-height: 100dvh;
    min-height: calc(var(--vh, 1vh) * 100);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
    transition: background 0.5s ease;
}

.hero-section.images-loaded {
    background: transparent;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.8) contrast(1.1) saturate(1.2);
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #ffffff;
    filter: brightness(0.7) contrast(1.2) saturate(1.3);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.image-loaded {
    background-color: transparent;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide.prev,
.hero-slide.next {
    opacity: 0;
    z-index: 1;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding: 20px;
    border-radius: 25px;
}

@media (max-width: 768px) {
    .hero-dots {
        bottom: 100px;
    }
}

@media (max-width: 480px) {
    .hero-dots {
        bottom: 120px;
    }
    
    .hero-cta {
        text-align: center;
        justify-content: center;
        align-items: center;
        display: flex;
    }
    
    .hero-cta i {
        margin-left: 8px;
        flex-shrink: 0;
    }
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    color: var(--text-light);
}

.hero-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-logo {
    height: 0.8em;
    margin-right: 0.25em;
    filter: none;
    position: relative;
    top: 0.02em;
    z-index: 1;
    transition: filter 0.3s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    text-shadow: none;
    display: flex;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-cta:hover {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.hero-cta i {
    margin-left: 8px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.hero-cta:hover i {
    opacity: 1;
}



::-webkit-scrollbar {
    display: none;
}

@-moz-document url-prefix() {
    html {
        scroll-padding-top: 100px;
    }
}

@supports (-webkit-appearance: none) and (not (contain: paint)) {
    html {
        scroll-padding-top: 100px;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 80px;
    }
}

::selection {
    background: rgba(0,120,215,0.5);
    color: inherit;
}



@media (min-width: 769px) and (max-width: 1025px) {
    .hero-logo {
        top: 0.03em;
    }
}

@media (min-width: 1700px) {
    .container {
        max-width: 1600px;
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: 6rem;
    }
    
    .hero-subtitle {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
        margin-bottom: 4rem;
    }
    
    .hero-cta {
        padding: 1.2rem 2.5rem;
        font-size: 1.2rem;
    }
    

    
    .section-title {
        font-size: 4.5rem;
        margin-bottom: 3rem;
    }
    
    .section {
        padding: 8rem 2rem;
    }
    
    .hero-content {
        max-width: 1000px;
        padding: 0 3rem;
    }
}

@media (min-width: 2560px) {
    .container {
        max-width: 2000px;
        padding: 0 3rem;
    }
    
    .hero-title {
        font-size: 7rem;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.8rem;
        margin-bottom: 5rem;
    }
    
    .hero-cta {
        padding: 1.5rem 3rem;
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 5.5rem;
        margin-bottom: 4rem;
    }
    
    .section {
        padding: 10rem 3rem;
    }
    
    .hero-content {
        max-width: 1200px;
        padding: 0 4rem;
    }
}

@media (max-width: 767px) {

     html {
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
        width: 100%;
        min-height: 100%;
    }
    
    body {
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
        position: relative;
        width: 100%;
        min-height: 100%;
        -webkit-overflow-scrolling: touch;
        touch-action: manipulation;
    }
    
    * {
        overflow-x: hidden;
    }
    
    .hero-title,
    .hero-logo,
    .hero-cta,
    .contact-phone,
    .nav-link,
    .mobile-menu-btn,
    .mobile-menu-close,
    .hero-title-container,
    .hero-content,
    .hero-subtitle,
    .hero-description,
    .back-button,
    .catalog-tab,
    .catalog-item,
    .gallery-item,
    .modal-close,
    .modal-nav button,
    .gallery-pagination button,
    .product-modal-close,
    .mobile-nav .nav-link {
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
        -webkit-touch-callout: none !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
        -webkit-overflow-scrolling: touch !important;
        overflow: hidden !important;
    }
    
    .hero-title,
    .hero-logo,
    .hero-cta,
    .contact-phone,
    .nav-link,
    .mobile-menu-btn,
    .mobile-menu-close,
    .hero-title-container,
    .hero-content,
    .hero-subtitle,
    .hero-description,
    .back-button,
    .catalog-tab,
    .catalog-item,
    .gallery-item,
    .modal-close,
    .modal-nav button,
    .gallery-pagination button,
    .product-modal-close,
    .mobile-nav .nav-link {
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
        -webkit-touch-callout: none !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .section {
        padding: 3rem 1rem;
        position: relative;
        z-index: 1;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.8rem;
        line-height: 1.2;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
    }
    
    .hero-section {
        min-height: calc(var(--vh, 1vh) * 100);
        height: calc(var(--vh, 1vh) * 100);
        max-height: calc(var(--vh, 1vh) * 100);
        padding: 0;
        margin: 0;
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        overflow: hidden;
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    .hero-background,
    .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        display: block !important;
        z-index: 1;
    }
    
    .catalog-item-image,
    .gallery-item img,
    .modal-image {
        display: block !important;
        color: transparent !important;
    }
    
    .hero-content {
        max-width: 90%;
        padding: 3rem 1.5rem 0 1.5rem;
        text-align: center;
        background: transparent !important;
        background-color: transparent !important;
        position: relative;
        z-index: 2;
    }
    
    .hero-title-container {
        margin-bottom: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        background: transparent !important;
        background-color: transparent !important;
    }
    
    .hero-logo {
        height: 2.5rem;
        margin-right: 0;
        margin-bottom: 0.5rem;
        filter: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
        font-weight: 700;
        line-height: 1.1;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
        margin: 0;
        background: transparent !important;
        background-color: transparent !important;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        font-weight: 300;
        margin-bottom: 1rem;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
        line-height: 1.3;
        background: transparent !important;
        background-color: transparent !important;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2.5rem;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        background: transparent !important;
        background-color: transparent !important;
    }
    
    .hero-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        font-weight: 400;
        line-height: 1;
        border-radius: 25px;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 160px;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .hero-cta:hover {
        background: rgba(0, 0, 0, 0.45);
        color: white;
    }
    
    .hero-cta i {
        margin-left: 6px;
        font-size: 0.8rem;
    }
    
    .hero-dots {
        bottom: 80px;
        padding: 15px 20px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 20px;
        backdrop-filter: blur(10px);
        gap: 8px;
    }
    
    .hero-dot {
        width: 10px;
        height: 10px;
        border: 1px solid rgba(255, 255, 255, 0.6);
    }
    
    .hero-dot.active {
        transform: scale(1.3);
        background: rgba(255, 255, 255, 0.95);
    }
    

}

@media (max-width: 399px) {
    .hero-background,
    .hero-slide {
        background-position: center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        display: block !important;
    }
    
    .catalog-item-image,
    .gallery-item img,
    .modal-image {
        display: block !important;
        color: transparent !important;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .section {
        padding: 2.5rem 0.75rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-content {
        max-width: 95%;
        padding: 3rem 1.2rem 0 1.2rem;
    }
    
    .hero-logo {
        height: 2.4rem;
        filter: none;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        max-width: 380px;
    }
    
    .hero-cta {
        padding: 0.8rem 1.4rem;
        font-size: 0.9rem;
        line-height: 1;
        min-width: 140px;
    }
    
    .hero-dots {
        bottom: 60px;
        padding: 12px 16px;
        gap: 6px;
    }
    
    .hero-dot {
        width: 8px;
        height: 8px;
    }
    

    

}

@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: calc(var(--vh, 1vh) * 100);
        height: calc(var(--vh, 1vh) * 100);
        max-height: calc(var(--vh, 1vh) * 100);
    }
    
    .hero-content {
        max-width: 600px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-dots {
        bottom: 40px;
    }
}
