* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary-color: #FFDD24;
    --secondary-color: #2C3E50;
    --secondary-accent-color: #4D7398;
    --accent-color: #FFE44E;
    --green-color: #2D8B3C;
    --green-light: #4CAF50;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
nav .logo img {
    height: 50px;
    width: auto;
}
nav .logo span {
    color: var(--primary-color);
}
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}
nav a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}
nav a:hover,
nav a.active {
    color: var(--primary-color);
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 140, 0, 0.075) 1px, transparent 1px), linear-gradient(120deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 100%);
    background-size: 4px 4px, 100% 100%;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.8);
}
.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}
.hero-content h1, .hero-content p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
.hero-phone {
    display: inline-block;
    padding: 1rem 2.2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: bold;
    transition: all 0.3s;
    animation: fadeInUp 1s ease 0.6s both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin: 0 0 20px 0;
    align-items: center;
	border: 1px solid var(--green-color);
}
.hero-phone:hover {
    background: var(--accent-color);
    color: var(--secondary-accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.6);
}
.hero-phone a {
    color: var(--secondary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
@keyframes phone-ring {
    0%   { transform: rotate(0deg); }
    5%   { transform: rotate(15deg); }
    10%  { transform: rotate(-15deg); }
    15%  { transform: rotate(15deg); }
    20%  { transform: rotate(-15deg); }
    25%  { transform: rotate(10deg); }
    30%  { transform: rotate(-10deg); }
    35%  { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}
@keyframes wave-pulse {
    0%, 30%, 100% { opacity: 0; transform: scale(0.8); }
    15%            { opacity: 1; transform: scale(1); }
}
.phone-ring-icon {
    display: inline-flex;
    align-items: center;
    transform-origin: bottom center;
    animation: phone-ring 2.5s ease-in-out infinite;
}
.ring-wave {
    transform-origin: left center;
    opacity: 0;
}
.ring-wave-1 {
    animation: wave-pulse 2.5s ease-in-out infinite 0.1s;
}
.ring-wave-2 {
    animation: wave-pulse 2.5s ease-in-out infinite 0.25s;
}
.cta-button {
    display: inline-block;
    padding: 1.2rem 2.2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s;
    animation: fadeInUp 1s ease 0.6s both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    align-items: center;
}
.cta-button:hover {
    background: var(--accent-color);
    color: var(--secondary-accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.6);
}
.cta-button a {
    color: var(--secondary-color);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
section {
    padding: 5rem 0;
    border-bottom: 2px solid #FFDD24;
}
section:nth-child(even) {
    background: var(--bg-light);
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 1rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}
.machine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.machine-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.machine-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.machine-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(160deg, #1a2332 0%, #2C3E50 50%, #34495e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.machine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.machine-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 165, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.06) 0%, transparent 50%);
    pointer-events: none;
}
.machine-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}
.machine-image svg {
    width: 65%;
    height: 65%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1;
}
.machine-card:hover .machine-image svg {
    transform: scale(1.08);
}
.machine-brand {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}
.machine-count {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}
.machine-content {
    padding: 1.5rem;
}
.machine-content h3 {
    color: var(--secondary-color);
    margin-bottom: 8px;
    margin-top: -16px;
    font-size: 1.2rem;
    font-weight: 700;
}
.machine-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.service-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(160deg, #1a2332, #2C3E50);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.service-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}
.service-icon svg {
    width: 44px;
    height: 44px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-item:hover .service-icon svg,
.machine-card:hover .machine-image svg {
    transform: scale(1.08);
}
.service-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
}
.service-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}
.timeline {
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}
.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}
.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 3rem;
    margin-right: calc(50% + 2rem);
}
.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    padding-left: 3rem;
    margin-left: calc(50% + 2rem);
}
.timeline-content {
    flex: 1;
}
.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
    z-index: 10;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}
.about-image-wrapper {
    overflow: hidden;
    border-radius: 10px;
}
.about-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--white);
    transition: transform 0.5s ease;
}
.about-image:hover {
    transform: scale(1.35);
}
.about-text h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}
.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}
.submit-btn:hover {
    background: var(--accent-color);
}
.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 2rem;
}
.contact-item-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(160deg, #1a2332, #2C3E50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    margin-top: 2px;
    position: relative;
    overflow: hidden;
}
.contact-item-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}
.contact-item-icon svg {
    width: 24px;
    height: 24px;
}
.contact-item-content h4 {
    color: var(--secondary-color);
    margin-bottom: -3px;
}
.contact-item-content p {
    color: var(--text-light);
}
.contact-item-content a {
    color: var(--text-light);
    text-decoration: none;
}
.contact-item-content a:hover {
    color: var(--primary-color);
}
.map-container {
    margin-top: 3rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.footer-section ul {
    list-style: none;
}
.footer-section ul li {
    margin-bottom: 0.5rem;
}
.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-section a:hover {
    color: var(--primary-color);
}
.download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--secondary-color) !important;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    margin-top: 1rem;
}
.download-link:hover {
    background: var(--accent-color);
	color: var(--secondary-accent-color) !important;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
}
.footer-bottom p {
    font-size: 1rem;
}
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.9);
    animation: fadeIn 0.3s;
}
.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s;
}
.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--secondary-color);
    padding: 2rem;
    border-radius: 15px 15px 0 0;
    position: relative;
}
.modal-header h2 {
    margin: 0;
    font-size: 2rem;
}
.close {
    position: absolute;
    right: 2rem;
    top: 30%;
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.close:hover {
    transform: rotate(90deg);
}
.modal-body {
    padding: 1.5rem 2rem 2rem;
}
.machine-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.machine-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.4s ease;
}
.machine-list-item > div:not(.machine-thumb):not(.machine-weight) {
    flex: 1;
    min-width: 0;
    color: var(--secondary-color);
}
.machine-list-item:hover {
    background: #eef1f5;
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.machine-name {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}
.machine-specs {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.machine-specs::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
}
.machine-weight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--secondary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 0;
    font-weight: bold;
    font-size: 1rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
    text-align: center;
    min-width: fit-content;
    flex-shrink: 0;
    margin-left: auto;
}
.machine-list-item.no-image {
    padding: 1rem 1.5rem;
}
.machine-list-item.no-image > div {
    text-align: left;
    flex: unset;
    width: 100%;
}
.machine-list-item.no-image .machine-name {
    font-size: 1.2rem;
}
.modal-info-box {
    margin-top: 2rem;
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
}
.modal-info-title {
    margin: 0;
    color: var(--text-dark);
}
.modal-info-text {
    margin: 0.5rem 0 0 0;
    color: var(--text-light);
}
.modal-info-text a {
    color: var(--secondary-accent-color);
}
.modal-info-link {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}
.modal-info-link:hover {
    text-decoration: underline;
}
        .legal-modal-tabs {
            display: flex;
            border-bottom: 2px solid rgba(255,165,0,0.25);
            margin-bottom: 1.5rem;
            gap: 0;
        }
        .legal-tab-btn {
            flex: 1;
            padding: 0.75rem 1rem;
            background: transparent;
            border: none;
            border-bottom: 3px solid transparent;
            margin-bottom: -2px;
            color: #aaa;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: color 0.2s, border-color 0.2s;
            letter-spacing: 0.02em;
        }
        .legal-tab-btn:hover {
            color: #ddd;
        }
        .legal-tab-btn.active {
            color: var(--secondary-color, #ffa500);
            border-bottom-color: var(--secondary-color, #ffa500);
        }
        .legal-tab-content {
            display: none;
            animation: legalFadeIn 0.2s ease;
        }
        .legal-tab-content.active {
            display: block;
        }
        @keyframes legalFadeIn {
            from { opacity: 0; transform: translateY(4px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .legal-tab-content h2 {
            font-size: 1.15rem;
            color: var(--secondary-color);
            margin: 1.6rem 0 0.4rem;
            padding-bottom: 0.25rem;
            border-bottom: 1px solid rgba(255,165,0,0.15);
        }
        .legal-tab-content h3 {
            font-size: 1rem;
            color: #000;
            margin: 1.1rem 0 0.3rem;
        }
        .legal-tab-content h4 {
            font-size: 0.95rem;
            color: #000;
            margin: 0.9rem 0 0.25rem;
        }
        .legal-tab-content p {
            font-size: 0.9rem;
            color: #000;
            line-height: 1.65;
            margin-bottom: 0.6rem;
        }
        .legal-tab-content ul {
            padding-left: 1.25rem;
            margin-bottom: 0.6rem;
        }
        .legal-tab-content ul li {
            font-size: 0.9rem;
            color: #000;
            line-height: 1.6;
            margin-bottom: 0.2rem;
        }
        .legal-tab-content a {
            color: var(--secondary-color);
            text-decoration: underline;
        }
        .legal-source-note {
            margin-top: 2rem;
            font-size: 0.82rem;
            color: #666;
        }
        #legalModal .modal-content {
            max-width: 760px;
        }
.machine-card.clickable {
    cursor: pointer;
    position: relative;
}
.machine-card.clickable::after {
    content: "Details →";
    position: absolute;
    top: 11rem;
    right: 0.9rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.machine-card.clickable:hover::after {
    opacity: 1;
}
.machine-thumb {
    width: 180px;
    height: 180px;
    min-width: 112px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
	object-fit: scale-down;
}
.machine-thumb:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}
.machine-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 6px;
    line-height: 1.2;
    letter-spacing: 0.3px;
    text-transform: uppercase;
	object-fit: scale-down;
}
.machine-thumb-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.machine-thumb-zoom {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.machine-thumb:hover .machine-thumb-zoom {
    opacity: 1;
}
.machine-thumb-zoom svg {
    width: 13px;
    height: 13px;
}
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.99);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease;
    cursor: zoom-out;
}
.lightbox-overlay.active {
    display: flex;
}
.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    animation: lightboxZoomIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.lightbox-inner img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
    display: block;
    object-fit: contain;
    background-color: var(--primary-color);
}
.lightbox-placeholder {
    width: 500px;
    max-width: 90vw;
    height: 350px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 2rem;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-placeholder-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}
.lightbox-placeholder-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.lightbox-placeholder-hint {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-top: 0.5rem;
}
.lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.2rem;
    color: var(--secondary-color);
}
.lightbox-close:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: rotate(90deg);
}
.lightbox-caption {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.lightbox-caption-specs {
    font-weight: 400;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.3rem;
}
.success-message {
    display: none;
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
    z-index: 3000;
    animation: slideInRight 0.5s;
    max-width: 400px;
}
.success-message.show {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.success-icon {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}
.success-text {
    flex: 1;
}
.success-text h4 {
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
}
.success-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}
.machine-grid .scroll-fade:nth-child(1) { transition-delay: 0s; }
.machine-grid .scroll-fade:nth-child(2) { transition-delay: 0.1s; }
.machine-grid .scroll-fade:nth-child(3) { transition-delay: 0.2s; }
.machine-grid .scroll-fade:nth-child(4) { transition-delay: 0.3s; }
.machine-grid .scroll-fade:nth-child(5) { transition-delay: 0.4s; }
.machine-grid .scroll-fade:nth-child(6) { transition-delay: 0.5s; }
.services-grid .scroll-fade:nth-child(1) { transition-delay: 0s; }
.services-grid .scroll-fade:nth-child(2) { transition-delay: 0.1s; }
.services-grid .scroll-fade:nth-child(3) { transition-delay: 0.2s; }
.services-grid .scroll-fade:nth-child(4) { transition-delay: 0.3s; }
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    border-top: 2px solid var(--primary-color);
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}
.cookie-banner-text h3 {
    margin: 0 0 0.5rem 0;
    color: var(--secondary-color);
    font-size: 1.3rem;
}
.cookie-banner-text p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}
.cookie-banner-text a {
    color: var(--secondary-accent-color);
}
.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.cookie-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.cookie-btn-accept {
    background: var(--primary-color);
    color: var(--secondary-color);
}
.cookie-btn-accept:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}
.cookie-btn-decline {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}
.cookie-btn-decline:hover {
    background: var(--secondary-color);
    color: white;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes lightboxZoomIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(44, 62, 80, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }
    nav ul.active {
        display: flex;
    }
    nav ul li {
        width: 100%;
    }
    nav ul li a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        transition: background 0.3s ease, color 0.3s ease;
    }
    nav ul li a:hover,
    nav ul li a.active {
        background: rgba(255, 165, 0, 0.1);
    }
    nav ul li:last-child a {
        border-bottom: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .mobile-menu-btn.active {
        color: var(--primary-color);
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-image {
        order: -1;
        height: 280px;
    }
    .about-image img {
        height: 280px !important;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-info {
        order: -1;
    }
    .contact-form {
        order: 1;
    }
    .modal-content {
        margin: 3% 0.75rem;
        max-height: 90vh;
    }
    .modal-header {
        padding: 1.5rem;
    }
    .modal-header h2 {
        font-size: 1.4rem;
        padding-right: 2rem;
    }
    .modal-body {
        padding: 1rem;
    }
    .machine-list-item {
        display: grid;
        grid-template-columns: 120px 1fr;
        gap: 0.2rem 0.8rem;
        padding: 1rem;
        align-items: start;
    }
    .machine-list-item > div:not(.machine-thumb):not(.machine-weight) {
        display: contents;
    }
	
	.machine-list-item.no-image {
        display: flex;
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0;
    }
    .machine-list-item.no-image > div {
        display: block !important;
        text-align: left;
        width: 100%;
    }
    .machine-list-item.no-image .machine-name {
        grid-column: unset;
        grid-row: unset;
        font-size: 1.2rem;
    }
    .machine-list-item.no-image .machine-specs {
        grid-column: unset;
    }
    .machine-list-item .machine-name {
        grid-column: 1 / -1;
        grid-row: 1;
        margin-bottom: 0.3rem;
    }
    .machine-list-item .machine-thumb {
        grid-column: 1;
        grid-row: 2 / span 5;
        align-self: center;
        width: 120px;
        height: 92px;
        min-width: 120px;
    }
    .machine-list-item .machine-specs {
        grid-column: 2;
    }
    .machine-list-item .machine-weight {
        grid-column: 1 / -1;
        margin-left: 0;
        margin-top: 0.4rem;
        justify-self: start;
        font-size: 0.8rem;
    }
    .machine-thumb {
        width: 120px;
        height: 92px;
        min-width: 120px;
        border-radius: 8px;
        margin-bottom: 0;
    }
    .lightbox-inner {
        max-width: 95vw;
    }
    .lightbox-placeholder {
        width: 90vw;
        height: 280px;
    }
    .lightbox-close {
        top: -12px;
        right: -4px;
        width: 38px;
        height: 38px;
    }
    .modal-close-bottom {
        display: block;
        width: 100%;
        padding: 1rem;
        margin-top: 1.5rem;
        background: var(--secondary-color);
        color: var(--white);
        border: none;
        border-radius: 10px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.3s ease;
    }
    .modal-close-bottom:hover {
        background: var(--primary-color);
        color: var(--secondary-color);
    }
    .success-message {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-banner-buttons {
        flex-direction: column;
    }
    .cookie-btn {
        width: 100%;
    }
}
.modal-close-bottom {
    display: none;
}
@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}