/* ========================================
   HC42 - COMPACT POWERHOUSE
   Industrial Modern Design Language
   ======================================== */

/* CSS Variables */
:root {
    --primary: #ff6b35;
    --primary-dark: #e85a2b;
    --secondary: #2d3436;
    --accent: #00b894;
    --accent-light: #55efc4;
    --dark: #1e272e;
    --light: #dfe6e9;
    --white: #ffffff;
    --gray: #636e72;
    --light-gray: #b2bec3;
    --gradient-1: linear-gradient(135deg, #ff6b35 0%, #feca57 100%);
    --gradient-2: linear-gradient(135deg, #2d3436 0%, #1e272e 100%);
    --gradient-3: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    --font-display: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1140px; margin: 0 auto; padding: 0 30px;
}

/* ========================================
   HEADER - Match index.html
   ======================================== */
.header {
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    position: relative;
    z-index: 100;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-list a {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #c9a227;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.mobile-menu.active {
    max-height: 400px;
    opacity: 1;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px 30px;
}

.mobile-nav-list li {
    border-bottom: 1px solid #eaeaea;
}

.mobile-nav-list a {
    display: block;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-nav-list a:hover {
    color: #c9a227;
}

/* ========================================
   HERO - Split Screen Bold
   ======================================== */
.hero {
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 55% 45%;
    margin-top: 0;
}

.hero-content {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 60px 80px 60px 60px;
    position: relative;
    overflow: hidden;
    text-align: right;
}

.hero-content::before {
    content: 'HC42';
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    font-size: 280px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-1);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    width: fit-content;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 800;
    color: #000000;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 16px;
    color: #333333;
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--secondary);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 18px 35px;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: fit-content;
}

.hero-cta:hover {
    background: var(--dark);
    transform: translateX(-5px);
}

.hero-cta::after {
    content: '←';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.hero-cta:hover::after {
    transform: translateX(-5px);
}

.hero-visual {
    position: relative;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    width: 85%;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.hero-stats-float {
    position: absolute;
    bottom: 60px;
    left: -40px;
    background: var(--white);
    padding: 25px 35px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.stat-float-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-float-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* ========================================
   SPECS STRIP - Horizontal Scroll
   ======================================== */
.specs-strip {
    background: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.specs-strip-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.spec-strip-item {
    text-align: center;
    padding: 30px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.spec-strip-item:last-child {
    border-right: none;
}

.spec-strip-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.spec-strip-value span {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray);
}

.spec-strip-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ========================================
   OVERVIEW - Asymmetric Layout
   ======================================== */
.overview {
    padding: 80px 0 40px;
    background: var(--white);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.overview-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.overview-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 30px;
}

.overview-text {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 25px;
}

.overview-features {
    list-style: none;
    margin-top: 30px;
}

.overview-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.overview-features li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--gradient-3);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.overview-visual {
    position: relative;
}

.overview-image-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.overview-image-main img {
    width: 100%;
    transition: transform 0.6s ease;
}

.overview-image-main:hover img {
    transform: scale(1.05);
}

.overview-image-sub {
    position: absolute;
    bottom: -40px;
    left: -60px;
    width: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 4px solid var(--white);
}

.overview-image-sub img {
    width: 100%;
}

/* ========================================
   DETAILS - Enhanced with Image Gallery
   ======================================== */
.details {
    padding: 40px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, var(--white) 100%);
}

.details-header {
    text-align: center;
    margin-bottom: 30px;
}

.details-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.details-subtitle {
    font-size: 16px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Technical Images */
.technical-images {
    margin-bottom: 40px;
    text-align: center;
}

.technical-images h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
    display: inline-block;
}

.images-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tech-image-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tech-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tech-image-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tech-image-item:hover img {
    transform: scale(1.05);
}

.tech-image-item p {
    padding: 15px;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .images-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tech-image-item img {
        height: 200px;
    }
}

.details-content {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    padding: 50px;
}

.details-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.details-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.excavators-section {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .specs-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}



.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.specs-table td {
    padding: 16px 0;
    font-size: 15px;
}

.specs-table td:first-child {
    color: var(--gray);
    width: 50%;
}

.specs-table td:last-child {
    color: var(--secondary);
    font-weight: 600;
    text-align: right;
}

.excavator-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.excavator-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.excavator-item:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(5px);
}

.excavator-item::before {
    content: '›';
    font-size: 18px;
    color: var(--primary);
}

.excavator-item:hover::before {
    color: var(--white);
}

/* ========================================
   GALLERY - Modern Carousel Grid
   ======================================== */
.gallery {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.gallery-header {
    text-align: center;
    margin-bottom: 70px;
}

.gallery-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-1);
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.gallery-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* New Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 300px 300px 200px;
        gap: 25px;
    }
    
    .gallery-item.large {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
        aspect-ratio: 2/2;
    }
    
    .gallery-item.small {
        grid-column: 3;
        aspect-ratio: 1/1;
    }
    
    .gallery-item.small:nth-child(2) {
        grid-row: 1;
    }
    
    .gallery-item.small:nth-child(3) {
        grid-row: 2;
    }
    
    .gallery-item.medium {
        grid-column: 1;
        grid-row: 3;
        aspect-ratio: 1/1;
    }
    
    .gallery-item.wide {
        grid-column: 2 / 4;
        grid-row: 3;
        aspect-ratio: 2/1;
    }
}

/* New Gallery Item Style */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: var(--white);
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* New Overlay Style */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: none;
    padding-bottom: 0;
    margin: 0 0 10px;
}

.gallery-overlay p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

/* New Animation */
.gallery-item {
    opacity: 0;
    transform: scale(0.9);
    animation: gallerySlideIn 0.6s ease forwards;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.gallery-item:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes gallerySlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* New Hover Effect */
.gallery-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Add Icon Overlay */
.gallery-item::after {
    content: '👁';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.gallery-item:hover::after {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.2);
}

/* ========================================
   ADVANTAGES - Cards with Icons
   ======================================== */
.advantages {
    padding: 120px 0;
    background: var(--white);
}

.advantages-header {
    text-align: center;
    margin-bottom: 70px;
}

.advantages-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.advantages-subtitle {
    font-size: 17px;
    color: var(--gray);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35 0%, #feca57 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.advantage-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

/* ========================================
   CTA - Bold Statement
   ======================================== */
.cta {
    padding: 120px 0;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #2d3436 0%, #1e272e 100%);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 45px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, #1e272e 0%, #2d3436 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ========================================
   FOOTER - Clean Minimal
   ======================================== */
.footer {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e8f0 100%);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.footer-brand img {
    height: 35px;
    opacity: 0.8;
}

.footer-contact {
    text-align: right;
}

.footer-contact a {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(45, 52, 54, 0.6);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a:hover {
    color: var(--secondary);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
    
    .specs-strip-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .overview-image-sub {
        display: none;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .details-tabs {
        display: flex;
        padding: 20px;
        overflow-x: auto;
    }
    
    .tab-btn {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .tab-btn.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item:first-child {
        grid-row: span 1;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .details-gallery .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header-container {
        flex-direction: row;
        height: 70px;
        padding: 0 20px;
    }

    .logo {
        margin-bottom: 0;
    }

    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
        top: 70px;
    }
    
    .hero-content {
        padding: 80px 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .specs-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .spec-strip-item {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .overview-title,
    .advantages-title,
    .gallery-title,
    .cta-title {
        font-size: 32px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .details-gallery .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .excavator-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
