:root {
    --primary: #1565c0;
    --primary-dark: #0d47a1;
    --primary-light: #64b5f6;
    --secondary: #00897b;
    --accent: #f59e0b;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-50: #f8fafc;
    --bg-sky: #e0f2fe;
    --border: #e2e8f0;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 65px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

a:hover {
    color: var(--primary-dark);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    font-family: var(--font);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(21, 101, 192, 0.45);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ===== HEADER — blue sky gradient ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #3b82c4 0%, #5a9fd4 40%, #7bb8e8 70%, #a0ccf0 100%);
    z-index: -1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.header.transparent {
    background: transparent;
    border-bottom: none;
}

.header.transparent::before {
    background: linear-gradient(180deg, #1e4a7a 0%, #2d6da6 40%, #4a90d9 70%, #6aaee8 100%);
}

.header.scrolled {
    background: rgb(63, 100, 245);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header.scrolled::before {
    background: none;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
    padding: 0.3rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 38px;
    width: auto;
    transition: height 0.3s ease;
}

.header.scrolled .logo-img {
    height: 32px;
}

.nav>ul {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav>ul>li>a {
    display: block;
    padding: 0.45rem 0.7rem;
    font-weight: 500;
    font-size: 0.85rem;
    color: rgb(255, 255, 255);
    border-radius: 8px;
    transition: all var(--transition);
    white-space: nowrap;
}

.header.scrolled .nav>ul>li>a {
    color: #1e293b;
}

.nav>ul>li>a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: rgb(0, 0, 0);
}

.header.scrolled .nav>ul>li>a:hover {
    background: var(--bg-sky);
    color: var(--primary);
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.phone {
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    white-space: nowrap;
}

.header.scrolled .phone {
    color: #fff;
}

/* ===== MOBILE TOGGLE ===== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding-right: 29px;
    z-index: 110;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== SECTIONS ===== */
section {
    padding: 4rem 0;
    position: relative;
}

section:nth-child(even) {
    background: var(--bg-50);
}

section.sky-section {
    position: relative;
    overflow: hidden;
}

section.sky-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(224, 247, 250, 0.95) 0%, rgba(179, 229, 252, 0.9) 50%, rgba(129, 212, 250, 0.85) 100%);
    z-index: 0;
    backdrop-filter: blur(2px);
}

section.sky-section .container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.65);
}

section.sky-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200'%3E%3Cpath fill='%23ffffff' fill-opacity='0.08' d='M0,160 C200,130 400,180 600,150 C800,120 1000,170 1200,140 C1400,110 1440,150 1440,150 L1440,200 L0,200Z'/%3E%3C/svg%3E") repeat-x;
    background-size: 1440px 80px;
    animation: clouds-drift 50s linear infinite;
    pointer-events: none;
}

section.sunny-section {
    position: relative;
    overflow: hidden;
}

section.sunny-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 235, 59, 0.35) 0%, rgba(255, 200, 0, 0.2) 40%, rgba(255, 255, 200, 0.1) 70%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 50%;
    z-index: 0;
    animation: sun-pulse 6s ease-in-out infinite;
}

section.sunny-section>* {
    position: relative;
    z-index: 1;
}

/* ===== TWO COLUMN SECTIONS ===== */
.two-col-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-section {
    background: var(--bg-50);
}

h1 {
    font-size: 2.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

h2 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

h3 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ===== CARDS ===== */
.products-grid,
.content-grid,
.contacts-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.product-card,
.content-card,
.news-card,
.promotion-card,
.contact-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before,
.promotion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    opacity: 0;
    transition: opacity var(--transition);
}

.product-card:hover,
.content-card:hover,
.news-card:hover,
.promotion-card:hover,
.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card:hover::before,
.promotion-card:hover::before {
    opacity: 1;
}

.product-card h3,
.content-card h2,
.news-card h3,
.promotion-card h3,
.contact-item h3 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

/* ===== FEATURE HIGHLIGHT ===== */
.feature-highlight {
    background: linear-gradient(135deg, var(--bg-sky) 0%, #bbdefb 100%);
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(21, 101, 192, 0.1);
}

.feature-highlight h3 {
    color: var(--primary-dark);
}

/* ===== BREADCRUMB ===== */
.breadcrumb ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.breadcrumb li+li::before {
    content: "/";
    margin-right: 0.5rem;
    color: var(--border);
}

.breadcrumb a {
    color: var(--text);
}

.breadcrumb span {
    color: var(--primary);
    font-weight: 500;
}

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 300;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 520px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modal-appear 0.3s ease-out;
}

@keyframes modal-appear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-50);
    border: none;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.modal-close:hover {
    background: var(--border);
    color: var(--text);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox for personal data */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.form-check input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-check a {
    color: var(--primary);
    text-decoration: underline;
}

.form-check a:hover {
    color: var(--primary-dark);
}

/* Legal info text */
.legal-text {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-50);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-light);
}

.legal-text strong {
    color: var(--text);
    font-weight: 600;
}

/* ===== FLOATING BTN ===== */
.floating-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #209781 0%, #00897b 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(32, 151, 129, 0.4);
    z-index: 99;
    border: none;
    transition: all var(--transition);
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(32, 151, 129, 0.5);
}

/* ===== PERMISSION BANNER ===== */
.permission-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary);
    padding: 1rem 1.5rem;
    z-index: 250;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.permission-banner.hidden {
    transform: translateY(100%);
}

.permission-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.permission-content p {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.5;
    flex: 1;
}

.permission-content a {
    color: var(--primary);
    text-decoration: underline;
}

.permission-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.permission-actions .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 50%, #1565c0 100%);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    opacity: 0.9;
    display: block;
    max-width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.05rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
}

.footer a:hover {
    color: white;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    padding: 0.3rem 0;
}

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--primary-light);
}

.footer-disclaimer p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.footer-legal {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-legal p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

/* ===== CONTENT PAGE ===== */
.content-page {
    padding: 2.5rem 0;
}

.content-page .container {
    max-width: 860px;
}

.content-page h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.content-page .meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.content-page .content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-page .content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.content-page .content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.content-page .content p {
    margin-bottom: 1rem;
}

.content-page .content ul,
.content-page .content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-page .content li {
    margin-bottom: 0.4rem;
}

/* ===== RELATED ===== */
.related-section {
    padding: 2rem 0 3rem;
}

/* ===== MOBILE ===== */
@media (max-width: 991px) {
    .nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: #87c0ed;
        border-left: 1px solid var(--border);
        padding: 4.5rem 1.5rem 2rem;
        z-index: 101;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
    }

    .nav.active {
        display: block;
        color: #0d47a1;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav>ul>li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav>ul>li>a {
        padding: 0.9rem 1rem;
        font-size: 1rem;
        border-radius: 0;
        color: #fff;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        min-width: 100%;
        padding: 0;
        margin: 0;
        background: var(--bg-50);
        display: none;
        opacity: 1;
        transform: none;
    }

    .dropdown-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .dropdown-menu li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .dropdown.active>.dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 0.7rem 1rem 0.7rem 2rem;
        font-size: 0.9rem;
        color: #4580d8;
        display: block;
    }

    /* Mobile accordion chevron indicators */
    .nav>ul>li.dropdown>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav>ul>li.dropdown>a::after {
        content: '';
        display: inline-block;
        width: 7px;
        height: 7px;
        border-right: 2px solid var(--text-light);
        border-bottom: 2px solid var(--text-light);
        transform: rotate(45deg);
        transition: transform var(--transition);
        flex-shrink: 0;
        margin-left: 12px;
    }

    .nav>ul>li.dropdown.active>a::after {
        transform: rotate(-135deg);
    }

    .mobile-toggle {
        display: flex;
        margin-left: -15px;
    }

    .header-contacts {
        display: none;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .products-grid,
    .content-grid,
    .contacts-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    /* Footer grid - stack to single column on mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer logo - resize for mobile */
    .footer-logo-img {
        max-width: 100%;
    }

    .footer-logo {
        align-items: flex-start;
    }

    .footer-logo a {
        display: inline-block;
    }

    .permission-content {
        flex-direction: column;
        text-align: center;
    }

    /* Hero mobile fixes — sun, clouds, height */
    .hero-section {
        min-height: 50vh;
    }

    .hero-section::after {
        width: 80px;
        height: 80px;
        top: 5%;
        right: 8%;
    }

    .hero-clouds {
        opacity: 0.5;
    }

    .hero-clouds::before,
    .hero-clouds::after {
        opacity: 0.4;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-content h1 {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-section .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Small mobile fixes (≤480px) — sun, clouds, height */
    @media (max-width: 480px) {
        .hero-section {
            min-height: 40vh;
        }

        .hero-section::after {
            width: 45px;
            height: 45px;
            top: 3%;
            right: 5%;
            opacity: 0.6;
        }

        .hero-clouds::before,
        .hero-clouds::after {
            opacity: 0.25;
        }

        .hero-content {
            padding: 0.5rem 0.25rem;
        }

        .hero-content h1 {
            font-size: 1.15rem;
        }

        .hero-content p {
            font-size: 0.85rem;
            margin-bottom: 1rem;
        }

        .hero-section .btn {
            padding: 0.6rem 1rem;
            font-size: 0.8rem;
        }
    }

    /* Two-column sections stack to single column */
    .two-col-section {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .about-section .two-col-section {
        display: flex;
        flex-direction: column;
    }

    .about-section .two-col-section .fade-in-right {
        order: 1;
        text-align: center;
    }

    .about-section .two-col-section .feature-highlight {
        order: 2;
    }

    .its-section .two-col-section .fade-in-left {
        order: 1;
    }

    .its-section .two-col-section .feature-highlight {
        order: 2;
    }

    .two-col-section .fade-in-right h2 {
        margin-bottom: 1rem;
    }

    .two-col-section .feature-highlight {
        padding: 1.5rem;
    }
}

@media (min-width: 992px) {
    .container {
        padding: 0 2rem;
    }

    /* Desktop: show dropdown on hover */

    /* Dropdown parent must be positioned relative for absolute children */
    .nav>ul>li {
        position: relative;
    }

    .dropdown:hover>.dropdown-menu,
    .dropdown.active>.dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        min-width: 280px;
        list-style: none;
        padding: 0.5rem 0;
        margin: 0;
        z-index: 200;
        opacity: 0;
        transform: translateY(8px);
        transition: all var(--transition);
        display: none;
    }

    .dropdown-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .dropdown-menu li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .dropdown-menu li a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        color: var(--text);
        display: block;
    }

}

/* ===== CARD HOVER EFFECTS ===== */
.product-card,
.content-card,
.news-card,
.promotion-card,
.contact-item {
    position: relative;
    overflow: hidden;
}

.product-card::after,
.promotion-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.product-card:hover::after,
.promotion-card:hover::after {
    left: 100%;
}

.product-card:hover,
.content-card:hover,
.news-card:hover,
.promotion-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 12px rgba(21, 101, 192, 0.1);
    border-color: var(--primary-light);
}

.product-card:hover::before,
.promotion-card:hover::before {
    opacity: 1;
    height: 4px;
}

.feature-highlight {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 2rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-highlight:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow);
}

/* ===== SCROLL ANIMATIONS (fadeIn) ===== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

/* ===== HERO SECTION — clear blue sky ===== */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #4a90d9 0%, #5b9ee0 25%, #6faee4 50%, #87c0ed 75%, #a3d2f5 100%);
}

/* Sun — intense golden glow, upper-right — bottom layer behind clouds */
.hero-section::after {
    content: '';
    position: absolute;
    top: 8%;
    right: 12%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, #fffde7 0%, #fff9c4 15%, #fff176 25%, #ffca28 40%, #ffa000 60%, #ffcc02 80%, #fffde7 100%);
    border-radius: 50%;
    box-shadow:
        0 0 60px rgba(255, 235, 59, 0.55),
        0 0 120px rgba(255, 193, 7, 0.35),
        0 0 200px rgba(255, 152, 0, 0.18),
        0 0 300px rgba(255, 112, 67, 0.08);
    animation: sun-pulse 5s ease-in-out infinite;
    z-index: 0;
    filter: brightness(0.9);
}





/* Hero clouds — fluffy, round, spread across entire hero — doubled for seamless loop */
.hero-clouds {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Layer 1: top clouds (doubled for seamless loop) */
.hero-clouds::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 200%;
    height: 100%;
    background:
        /* Cloud 1: at 8% — multi-blob for fluffy look */
        radial-gradient(circle 120px at 8% 6%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.45) 70%, transparent 100%),
        radial-gradient(circle 100px at 12% 8%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.35) 70%, transparent 100%),
        radial-gradient(circle 90px at 5% 10%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.3) 70%, transparent 100%),
        radial-gradient(ellipse 200px 80px at 9% 12%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 80%, transparent 100%),
        /* Cloud 2: at 30% */
        radial-gradient(circle 130px at 30% 4%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.45) 70%, transparent 100%),
        radial-gradient(circle 110px at 26% 7%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.35) 70%, transparent 100%),
        radial-gradient(circle 100px at 34% 8%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.3) 70%, transparent 100%),
        radial-gradient(ellipse 220px 90px at 30% 14%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 80%, transparent 100%),
        /* Cloud 3: at 55% */
        radial-gradient(circle 140px at 55% 8%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 70%, transparent 100%),
        radial-gradient(circle 120px at 50% 10%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.45) 70%, transparent 100%),
        radial-gradient(circle 110px at 60% 11%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.35) 70%, transparent 100%),
        radial-gradient(ellipse 240px 100px at 55% 16%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.25) 80%, transparent 100%),
        /* Cloud 4: at 80% */
        radial-gradient(circle 120px at 80% 3%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.45) 70%, transparent 100%),
        radial-gradient(circle 100px at 76% 6%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.35) 70%, transparent 100%),
        radial-gradient(circle 90px at 84% 7%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.3) 70%, transparent 100%),
        radial-gradient(ellipse 200px 80px at 80% 12%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 80%, transparent 100%),
        /* CLONES (doubled for seamless loop) */
        /* Cloud 1 clone: at 108% */
        radial-gradient(circle 120px at 108% 6%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.45) 70%, transparent 100%),
        radial-gradient(circle 100px at 112% 8%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.35) 70%, transparent 100%),
        radial-gradient(circle 90px at 105% 10%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.3) 70%, transparent 100%),
        radial-gradient(ellipse 200px 80px at 109% 12%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 80%, transparent 100%),
        /* Cloud 2 clone: at 130% */
        radial-gradient(circle 130px at 130% 4%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.45) 70%, transparent 100%),
        radial-gradient(circle 110px at 126% 7%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.35) 70%, transparent 100%),
        radial-gradient(circle 100px at 134% 8%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.3) 70%, transparent 100%),
        radial-gradient(ellipse 220px 90px at 130% 14%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 80%, transparent 100%),
        /* Cloud 3 clone: at 155% */
        radial-gradient(circle 140px at 155% 8%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 70%, transparent 100%),
        radial-gradient(circle 120px at 150% 10%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.45) 70%, transparent 100%),
        radial-gradient(circle 110px at 160% 11%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.35) 70%, transparent 100%),
        radial-gradient(ellipse 240px 100px at 155% 16%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.25) 80%, transparent 100%),
        /* Cloud 4 clone: at 180% */
        radial-gradient(circle 120px at 180% 3%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.45) 70%, transparent 100%),
        radial-gradient(circle 100px at 176% 6%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.35) 70%, transparent 100%),
        radial-gradient(circle 90px at 184% 7%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.3) 70%, transparent 100%),
        radial-gradient(ellipse 200px 80px at 180% 12%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 80%, transparent 100%);
    animation: clouds-drift 70s linear infinite;
}

/* Layer 2: mid clouds (doubled for seamless loop) */
.hero-clouds::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 200%;
    height: 100%;
    background:
        /* Cloud 1: at 15% */
        radial-gradient(circle 100px at 15% 38%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 70%, transparent 100%),
        radial-gradient(circle 85px at 12% 42%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 70%, transparent 100%),
        radial-gradient(ellipse 180px 60px at 15% 44%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 80%, transparent 100%),
        /* Cloud 2: at 40% */
        radial-gradient(circle 110px at 40% 34%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.35) 70%, transparent 100%),
        radial-gradient(circle 90px at 36% 38%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 70%, transparent 100%),
        radial-gradient(ellipse 200px 70px at 40% 44%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 80%, transparent 100%),
        /* Cloud 3: at 65% */
        radial-gradient(circle 120px at 65% 40%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.35) 70%, transparent 100%),
        radial-gradient(circle 100px at 60% 44%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 70%, transparent 100%),
        radial-gradient(circle 90px at 70% 42%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 70%, transparent 100%),
        radial-gradient(ellipse 220px 80px at 65% 48%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 80%, transparent 100%),
        /* Cloud 4: at 90% */
        radial-gradient(circle 100px at 90% 32%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.25) 70%, transparent 100%),
        radial-gradient(circle 80px at 87% 36%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 70%, transparent 100%),
        radial-gradient(ellipse 180px 60px at 90% 40%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.15) 80%, transparent 100%),
        /* CLONES (doubled for seamless loop) */
        /* Cloud 1 clone: at 115% */
        radial-gradient(circle 100px at 115% 38%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 70%, transparent 100%),
        radial-gradient(circle 85px at 112% 42%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 70%, transparent 100%),
        radial-gradient(ellipse 180px 60px at 115% 44%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 80%, transparent 100%),
        /* Cloud 2 clone: at 140% */
        radial-gradient(circle 110px at 140% 34%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.35) 70%, transparent 100%),
        radial-gradient(circle 90px at 136% 38%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 70%, transparent 100%),
        radial-gradient(ellipse 200px 70px at 140% 44%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 80%, transparent 100%),
        /* Cloud 3 clone: at 165% */
        radial-gradient(circle 120px at 165% 40%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.35) 70%, transparent 100%),
        radial-gradient(circle 100px at 160% 44%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 70%, transparent 100%),
        radial-gradient(circle 90px at 170% 42%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 70%, transparent 100%),
        radial-gradient(ellipse 220px 80px at 165% 48%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 80%, transparent 100%),
        /* Cloud 4 clone: at 190% */
        radial-gradient(circle 100px at 190% 32%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.25) 70%, transparent 100%),
        radial-gradient(circle 80px at 187% 36%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.2) 70%, transparent 100%),
        radial-gradient(ellipse 180px 60px at 190% 40%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.15) 80%, transparent 100%);
    animation: clouds-drift 110s linear infinite;
}

/* Layer 1: large wispy clouds at top 5% */


/* Layer 2: medium clouds at 40% */


/* Layer 3: small puffy clouds at bottom 85% */
.hero-clouds {
    /* Sun — intense golden glow, upper-right */
}


@media (min-width: 992px) {
    .hero-content {
        position: relative;
        z-index: 3;
        color: white;
        padding: 0;
        max-width: 750px;
    }

    .hero-content h1 {
        font-size: 3.2rem;
        font-weight: 800;
        line-height: 1.15;
        margin-bottom: 1.2rem;
        color: #ffffff;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    }

    .hero-content p {
        font-size: 1.15rem;
        line-height: 1.7;
        margin-bottom: 2rem;
        color: rgba(255, 255, 255, 0.95);
    }

    .hero-section .btn-primary {
        background: white;
        color: #2a6cb8;
        font-weight: 700;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

    .hero-section .btn-primary:hover {
        background: #f0f7ff;
        color: #1a5da8;
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

    .hero-section .btn-outline {
        border-color: rgba(255, 255, 255, 0.8);
        color: white;
    }

    .hero-section .btn-outline:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: white;
        color: white;
    }
}





/* Hero clouds — pure white, fluffy */




/* Hero content — top layer above clouds */
.hero-content {
    position: relative;
    z-index: 2;
}

/* ===== FOOTER SHIMMER EFFECT ===== */
.footer {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 30%, #1565c0 70%, #1976d2 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    animation: footer-shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), var(--accent), var(--primary-light), transparent);
    background-size: 200% 100%;
    animation: footer-shimmer-bar 4s linear infinite;
}


@keyframes clouds-drift {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes sun-pulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes footer-shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

@keyframes footer-shimmer-bar {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s, text-shadow 0.3s;
}

.footer a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}

/* Footer desktop styles - wrapped in media query for proper mobile override */
@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 3rem;
    }

    .footer-col h4 {
        color: white;
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 1rem;
        position: relative;
        padding-bottom: 0.5rem;
    }

    .footer-col h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 30px;
        height: 2px;
        background: var(--primary-light);
        transition: width 0.4s ease;
    }

    .footer-col:hover h4::after {
        width: 100%;
    }

    .footer-col ul {
        list-style: none;
        padding: 0;
    }

    .footer-col ul li {
        padding: 0.3rem 0;
    }

    .footer-col ul li:hover {
        padding-left: 0.5rem;
        transition: padding 0.3s ease;
    }

    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .footer-logo-img {
        opacity: 0.9;
    }

    .footer-logo a {
        display: inline-block;
        transition: transform var(--transition), filter var(--transition);
    }

    .footer-logo a:hover {
        transform: scale(1.05);
        filter: brightness(1.2) drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
    }

    .footer-logo h4 {
        font-size: 1.1rem;
        color: white;
        margin: 0;
    }

    .footer-disclaimer {
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 1rem 0;
        margin-bottom: 1rem;
    }

    .footer-disclaimer p {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.7);
        text-align: center;
        line-height: 1.6;
    }

    .footer-legal {
        margin-bottom: 1rem;
    }

    .footer-legal p {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.65);
        text-align: center;
        padding: 0.25rem 0;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-bottom p {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.7);
    }
}

/* ===== NEWS CARD HOVER ===== */
.news-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.news-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card h3 a {
    color: var(--text);
    transition: color 0.3s;
}

.news-card:hover h3 a {
    color: var(--primary);
}

/* ===== NEWS GRID ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* ===== BUTTON SHINE ===== */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.btn-primary:hover::after {
    left: 100%;
}

/* ===== HERO IMAGES ===== */
.article-hero-image,
.list-hero-image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* ===== CARD IMAGES ===== */
.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    background: var(--bg-50);
}

.card-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

.card-image:hover .card-image-img {
    transform: scale(1.05);
}

/* ===== RESPONSIVE IMAGES ===== */
@media (max-width: 991px) {
    .hero-image-img {
        height: 250px;
    }

    .card-image {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .hero-image-img {
        height: 200px;
    }

    .card-image {
        height: 140px;
    }
}