/* ========================================
   GLOBAL STYLES
   ======================================== */

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

:root {
    --primary-color: #1E6BFF;
    --secondary-color: #0052CC;
    --text-dark: #222222;
    --text-light: #666666;
    --border-color: #ECECEC;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

.custom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 80px 0;
}

/* ========================================
   HEADER
   ======================================== */

.header-sticky {
    position: sticky;
    top: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

/* ========================================
   LOGO GROUP
   ======================================== */
.header-logo h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.hvac-logo-group {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.hvac-logo {
    display: flex;
    align-items: center;
}

.main-logo img {
    height: 50px;
    width: auto;
}

.brand-logo img {
    height: 28px;
    width: auto;
    object-fit: contain;
    opacity: .85;
    transition: .2s;
}

.brand-logo:hover img {
    opacity: 1;
}



/* ========================================
    END
   ======================================== */


.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 14px;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    padding: 12px 20px;
    border-radius: 50px;
    transition: var(--transition);
    min-width: 280px;
}

.search-box:focus-within {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.search-box i {
    color: var(--text-light);
    font-size: 18px;
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    width: 100%;
}

.cart-icon {
    position: relative;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.cart-icon:hover {
    color: var(--primary-color);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
}

.language-selector:hover {
    background: var(--bg-light);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    width: 100%;
    padding: 40px 0;
}

.hero-section .custom-container {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}


/* =====================================================
   SWIPER
   ===================================================== */

.hero-slider {
    position: relative;

    width: 100%;
    height: 580px;

    overflow: hidden;

    background: #eaf4ff;
    border-radius: 24px;
}

.hero-slider .swiper-wrapper {
    height: 100%;
}

.hero-slider .swiper-slide {
    width: 100%;
    height: 100%;

    overflow: hidden;
}


/* =====================================================
   SLIDE LAYOUT
   ===================================================== */

.hero-content-wrapper {
    width: 100%;
    height: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: clamp(40px, 5vw, 72px);

    padding: 64px 64px 70px;

    box-sizing: border-box;

    overflow: hidden;
}


/* =====================================================
   LEFT CONTENT
   ===================================================== */

.hero-left {
    min-width: 0;
    max-width: 570px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow: hidden;
}


/* =====================================================
   SUBTITLE
   ===================================================== */

.hero-subtitle {
    margin: 0 0 22px;

    color: #1769ff;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;

    letter-spacing: 0.05em;
    text-transform: uppercase;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =====================================================
   TITLE
   ===================================================== */

.hero-title {
    margin: 0;

    color: #24272b;

    font-size: clamp(38px, 3.2vw, 52px);
    line-height: 1.1;

    font-weight: 700;
    letter-spacing: -0.025em;

    overflow-wrap: break-word;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;

    overflow: hidden;
}


/* =====================================================
   FEATURES
   ===================================================== */

.hero-features {
    display: flex;
    flex-wrap: wrap;

    gap: 18px 26px;

    margin-top: 30px;
}

.hero-feature-item {
    display: flex;
    align-items: center;

    gap: 9px;

    color: #34383e;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
}

.hero-feature-item i {
    flex: 0 0 auto;

    color: #1769ff;

    font-size: 19px;
}


/* =====================================================
   BUTTON
   ===================================================== */

.hero-btn {
    align-self: flex-start;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 52px;

    margin-top: 30px;
    padding: 0 30px;

    border-radius: 999px;

    text-decoration: none;
}


/* =====================================================
   RIGHT / IMAGE
   ===================================================== */

.hero-right {
    width: 100%;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.hero-image-wrapper {
    width: 100%;

    height: clamp(340px, 31vw, 440px);

    overflow: hidden;

    border-radius: 20px;

    background: #dce9f6;
}

.hero-image-wrapper img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    /* The image is allowed to fill its panel, never to grow past it. */
    max-width: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: inherit;
}


/* =====================================================
   SWIPER ARROWS
   ===================================================== */

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;

    top: 50%;

    transform: translateY(-50%);

    border: 0;
    border-radius: 50%;

    background: #fff;
    color: #1769ff;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);

    cursor: pointer;
}

.hero-slider .swiper-button-prev {
    left: 18px;
}

.hero-slider .swiper-button-next {
    right: 18px;
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
    display: none;
}

.hero-slider .swiper-button-prev i,
.hero-slider .swiper-button-next i {
    font-size: 18px;
}


/* =====================================================
   PAGINATION
   ===================================================== */

.hero-slider .swiper-pagination {
    bottom: 20px !important;
}

.hero-slider .swiper-pagination-bullet {
    width: 9px;
    height: 9px;

    background: #fff;

    opacity: 0.75;
}

.hero-slider .swiper-pagination-bullet-active {
    width: 28px;

    border-radius: 10px;

    background: #1769ff;

    opacity: 1;
}

/* ========================================
   CATEGORY SECTION
   ======================================== */

.category-section {
    padding: 70px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: 280px;

    padding: 28px 20px;

    background: #fff;

    border: 1px solid #e8edf3;
    border-radius: 20px;

    text-align: center;
    text-decoration: none !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;

    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-6px);

    border-color: #1769ff;

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);
}

/* ================= IMAGE ================= */

.category-image {
    width: 120px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 24px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-image i {
    font-size: 64px;
    color: var(--primary-color);
}

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

/* ================= TITLE ================= */

.category-card h3 {

    margin: 0 0 10px;

    min-height: 52px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;

    color: #1f2937;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

/* ================= COUNT ================= */

.category-card p {

    margin-top: auto;

    color: #6b7280;

    font-size: 15px;
    font-weight: 500;
}

/* ================= TABLET ================= */

@media (max-width:1200px){

    .category-grid{
        grid-template-columns:repeat(4,1fr);
    }

}

/* ================= MOBILE ================= */

@media (max-width:768px){

    .category-grid{
        grid-template-columns:repeat(2,1fr);
        gap:16px;
    }

    .category-card{

        min-height:220px;

        padding:20px 16px;
    }

    .category-image{

        width:90px;
        height:90px;
    }

    .category-card h3{

        font-size:16px;
        min-height:44px;
    }

}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    background: var(--bg-light);
    border-radius: 24px;
    padding: 60px;
    margin: 0 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 32px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   SECTION HEADER
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.view-all:hover {
    gap: 12px;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

.products-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #FF4D4F;
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-badge:first-child:last-child {
    background: #52C41A;
}

.product-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-content {
    padding: 24px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.product-rating i {
    color: #FFB800;
    font-size: 14px;
}

.product-rating span {
    color: var(--text-light);
    font-size: 13px;
    margin-left: 4px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.price-current {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.price-old {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
}

.btn-add-cart {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart:hover {
    background: var(--secondary-color);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-list {
    list-style: none;
    margin-bottom: 32px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    margin-bottom: 16px;
}

.about-list i {
    color: var(--primary-color);
    font-size: 20px;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.service-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-content {
    padding: 32px;
}

.service-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    height: 320px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 16px;
}

.gallery-btn {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

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

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contacts {
    list-style: none;
}

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contacts i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 2px;
}

.footer-bottom {
    padding: 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .custom-container {
        padding: 0 30px;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .header-nav {
        display: none;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-content-wrapper {
        flex-direction: column;
    }
    
    .hero-left,
    .hero-right {
        flex: 1;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-box {
        display: none;
    }

    /*
     * Mobile hero is intentionally a single-column Swiper slide.  The desktop
     * 580px grid cannot be squeezed into a phone-width Swiper viewport: it
     * leaves the grid/image at desktop dimensions and exposes adjacent slides.
     */
    .hero-section {
        padding: 24px 0 40px;
    }

    .hero-section .custom-container {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
    }

    .hero-slider {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        padding: 0;
        border-radius: 18px;
    }

    .hero-slider .swiper-wrapper,
    .hero-slider .swiper-slide {
        height: auto;
    }

    .hero-slider .swiper-slide {
        width: 100% !important;
        min-width: 100%;
        max-width: 100%;
    }

    .hero-content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 30px 20px 62px;
        overflow: visible;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex: 0 0 auto;
    }

    .hero-left {
        align-items: center;
        text-align: center;
        overflow: visible;
    }

    .hero-subtitle {
        width: 100%;
        max-width: 100%;
        margin: 0 0 14px;
        font-size: 14px;
        line-height: 1.4;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .hero-title {
        width: 100%;
        max-width: 100%;
        font-size: clamp(34px, 9.5vw, 38px);
        line-height: 1.14;
        overflow-wrap: anywhere;
    }

    .hero-features {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 22px;
    }

    .hero-feature-item {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
        font-size: 14px;
    }

    .hero-feature-item i {
        font-size: 18px;
    }

    .hero-btn {
        align-self: center;
        width: min(100%, 320px);
        min-height: 48px;
        margin-top: 24px;
        padding: 0 22px;
    }

    .hero-image-wrapper {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        border-radius: 16px;
    }

    .hero-image-wrapper img {
        width: 100% !important;
        max-width: 100%;
        height: 100% !important;
    }

    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next {
        display: none;
    }

    .hero-slider .swiper-pagination {
        bottom: 18px !important;
        left: 0;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .custom-container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .category-grid,
    .products-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .features-section {
        padding: 40px 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 390px) {
    .hero-section .custom-container {
        padding: 0 12px;
    }

    .hero-content-wrapper {
        padding: 26px 16px 58px;
    }

    .hero-title {
        font-size: clamp(30px, 9.5vw, 34px);
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .category-grid {
        gap: 12px;
    }

    .category-card {
        min-height: 205px;
        padding: 16px 10px;
    }

    .category-image {
        width: 76px;
        height: 76px;
        margin-bottom: 16px;
    }
}
