/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #dc2626;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-white);
}

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

/* Top Bar */
.top-bar {
    background: var(--text-dark);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 2rem;
}

.top-bar-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.top-bar-link:hover {
    color: var(--accent-color);
}

.whatsapp-top {
    background: #25d366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.whatsapp-top:hover {
    background: #20ba5a;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.navbar {
    padding: 0.75rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}

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

.logo-img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.05;
    letter-spacing: 0;
}

.logo small {
    font-size: 0.72rem;
    color: var(--text-gray);
    font-weight: 500;
    margin-top: 0.2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.25rem;
    background: white;
    flex-shrink: 0;
}

.language-btn {
    border: none;
    background: transparent;
    color: var(--text-gray);
    min-width: 36px;
    height: 32px;
    border-radius: 4px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-btn.active {
    background: var(--primary-color);
    color: white;
}

.language-btn:hover:not(.active) {
    color: var(--primary-color);
    background: var(--bg-light);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 0.5rem 0;
    z-index: 1001;
    margin-top: 0.5rem;
}

.dropdown.open > .nav-link {
    color: var(--primary-color);
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 2rem;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: var(--bg-light);
    overflow: hidden;
}

.hero-content {
    padding: 4rem 0;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-color);
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.875rem;
}

.hero-feature i {
    color: var(--primary-color);
}

.hero-image {
    position: relative;
    height: 100%;
    min-height: 600px;
}

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

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 45%, rgba(30, 64, 175, 0.18));
    pointer-events: none;
}

/* Trust Strip */
.trust-strip {
    background: var(--text-dark);
    color: white;
    padding: 1.5rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.trust-item {
    border-left: 3px solid var(--accent-color);
    padding: 0.25rem 0 0.25rem 1rem;
}

.trust-item strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.2;
    color: white;
}

.trust-item span {
    display: block;
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.45;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Manufacturers & Machines Section */
.manufacturers-machines {
    padding: 6rem 0;
    background: var(--bg-white);
}

.manufacturer-section {
    margin-bottom: 5rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--border-color);
}

.manufacturer-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.manufacturer-header {
    margin-bottom: 3rem;
    text-align: center;
}

.manufacturer-header h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.manufacturer-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.manufacturer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.manufacturer-link:hover {
    color: var(--primary-dark);
}

.manufacturer-machines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.machine-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.machine-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--bg-light);
    object-position: center;
}

.machine-card h4 {
    font-size: 1.25rem;
    margin: 1rem 1.5rem 0.5rem;
    color: var(--text-dark);
}

.machine-card p {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-light);
}

.service-card-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-card-large:nth-child(even) {
    direction: rtl;
}

.service-card-large:nth-child(even) > * {
    direction: ltr;
}

.service-image {
    height: 100%;
    min-height: 300px;
}

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

.service-content {
    padding: 3rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.service-list {
    list-style: none;
    margin-bottom: 2rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-list i {
    color: var(--success-color);
    font-size: 0.875rem;
}

.services-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card-small {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.service-card-small .service-icon {
    margin: 0 auto 1.5rem;
}

.service-card-small h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card-small p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.software-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.software-intro {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.software-copy p {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.software-highlight,
.software-custom,
.software-splitter {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.software-highlight h3,
.software-card h3,
.software-custom h3,
.software-splitter h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.software-bullets,
.software-mini-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.software-bullets li,
.software-mini-list li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--text-gray);
}

.software-bullets li::before,
.software-mini-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

.software-highlight .btn {
    margin-top: 1.5rem;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.software-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.software-card img,
.software-splitter img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.software-card img {
    aspect-ratio: 16 / 9;
}

.software-card-body {
    padding: 1.5rem;
}

.software-card-body p,
.software-splitter-copy p,
.software-custom p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.software-links {
    margin-top: 1.25rem;
}

.software-app-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 1rem;
}

.software-app-gallery img {
    width: 100%;
    aspect-ratio: 10 / 16;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #f3f4f6;
}

.software-bottom {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 1.5rem;
}

.software-splitter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
}

.software-splitter img {
    border-radius: 10px;
    aspect-ratio: 4 / 3;
}

/* Why CNC MAS Section */
.why-cncmas {
    padding: 6rem 0;
    background: var(--bg-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.75rem;
    background: white;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.why-card i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.why-card p {
    color: var(--text-gray);
    line-height: 1.65;
}

/* Trade Shows Section */
.trade-shows {
    padding: 6rem 0;
    background: var(--bg-light);
}

.trade-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.trade-item {
    position: relative;
    min-height: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #111827;
}

.trade-item-large {
    grid-row: span 1;
}

.trade-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    background: #111827;
}

.trade-item:hover img {
    transform: scale(1.04);
}

.trade-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    color: white;
    font-weight: 700;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
}


/* Laboratory Section */
.laboratory {
    padding: 6rem 0;
    background: var(--bg-light);
}

.laboratory-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.laboratory-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.laboratory-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.laboratory-features {
    list-style: none;
}

.laboratory-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.laboratory-features i {
    color: var(--success-color);
}

.laboratory-gallery,
.stock-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

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

.gallery-item.placeholder {
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-align: center;
    padding: 1rem;
}

.gallery-item.placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.gallery-item.placeholder p {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.gallery-item.placeholder small {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.stock-section {
    margin-top: 4rem;
}

.stock-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
}

.stock-section > p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

/* Parts Section */
.parts {
    padding: 6rem 0;
    background: var(--bg-white);
}

.parts-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-gray);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--bg-light);
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.part-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.part-image {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.part-content {
    padding: 1.5rem;
}

.part-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.part-brand {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.part-detail {
    color: var(--text-gray);
    margin-bottom: 1.25rem;
    min-height: 78px;
    line-height: 1.6;
}

.part-card .btn {
    width: 100%;
    justify-content: center;
}

.part-image i {
    font-size: 3rem;
    color: var(--text-gray);
}

/* Retrofitting Section */
.retrofitting {
    padding: 6rem 0;
    background: var(--bg-white);
}

.retrofitting-intro {
    margin-bottom: 4rem;
}

.retrofitting-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.retrofitting-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.retrofitting-benefits {
    list-style: none;
    margin: 2rem 0;
}

.retrofitting-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.retrofitting-benefits i {
    color: var(--success-color);
    font-size: 1.125rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.retrofitting-machines h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
}

.machines-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-gray);
    font-size: 1.125rem;
}

.machines-table-container {
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    border-radius: 8px;
}

.retrofitting-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 800px;
}

.retrofitting-table thead {
    background: var(--primary-color);
    color: white;
}

.retrofitting-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.retrofitting-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    vertical-align: top;
}

.retrofitting-table tbody tr:hover {
    background: var(--bg-light);
}

.retrofitting-table tbody tr:last-child td {
    border-bottom: none;
}

.retrofitting-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.retrofitting-cta p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.retrofitting-cta p:first-child {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.about-description p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-gray);
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-gray);
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    line-height: 1.05;
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #9ca3af;
}

.footer-contact i {
    color: var(--primary-color);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    max-width: min(400px, calc(100vw - 32px));
    animation: slideInRightFlat 0.3s ease;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

@keyframes slideInRightFlat {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .navbar .container {
        gap: 0.75rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: var(--shadow-lg);
        transition: all 0.3s ease;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
    }

    .nav-menu.active {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 2rem;
        gap: 1rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        margin-top: 0.25rem;
        padding: 0 0 0 1rem;
        max-height: 0;
        overflow: hidden;
        min-width: 100%;
        transition: all 0.25s ease;
    }

    .dropdown.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 520px;
        padding: 0.5rem 0 0.5rem 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .language-switcher {
        margin-left: auto;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        min-height: 400px;
    }
    
    .about-content,
    .machine-info,
    .contact-content,
    .laboratory-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .trust-grid,
    .why-grid,
    .trade-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .trade-item-large {
        grid-row: span 1;
    }
    
    .service-card-large {
        grid-template-columns: 1fr;
    }
    
    .service-card-large:nth-child(even) {
        direction: ltr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .logo {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .logo-img {
        height: 56px;
    }
    
    .logo-name {
        font-size: 1.2rem;
    }
    
    .manufacturer-machines-grid {
        grid-template-columns: 1fr;
    }
    
    .top-bar-left {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .retrofitting-table {
        font-size: 0.875rem;
    }
    
    .retrofitting-table th,
    .retrofitting-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: var(--shadow-lg);
        transition: all 0.3s ease;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
    }
    
    .nav-menu.active {
        top: 100%;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    .nav-item,
    .nav-item > .nav-link {
        width: 100%;
    }

    .dropdown-menu a {
        padding: 0.75rem 1rem;
        border-left: 2px solid var(--border-color);
    }

    .dropdown-menu a:hover {
        padding-left: 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }

    .language-switcher {
        margin-left: auto;
        margin-right: 0.75rem;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .manufacturers-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .services-grid-small {
        grid-template-columns: 1fr;
    }

    .trust-grid,
    .why-grid,
    .trade-gallery {
        grid-template-columns: 1fr;
    }

    .hero::after {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 45%, rgba(30, 64, 175, 0.12));
    }
    
    .parts-grid {
        grid-template-columns: 1fr;
    }

    .software-intro,
    .software-grid,
    .software-bottom,
    .software-splitter {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .whatsapp-btn {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        left: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-content,
    .contact-form {
        padding: 1.5rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.tab-btn:focus,
.filter-btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Multi-page layout */
.hub-section,
.brands-quick,
.cta-band,
.page-section,
.page-gallery,
.page-contact-strip {
    padding: 5rem 0;
}

.hub-section,
.page-gallery {
    background: var(--bg-light);
}

.hub-grid,
.brand-quick-grid,
.page-grid-2,
.detail-grid,
.manufacturer-grid,
.gallery-grid,
.contact-grid,
.stats-grid,
.quick-links {
    display: grid;
    gap: 1.5rem;
}

.hub-grid,
.manufacturer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-quick-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.page-grid-2,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.detail-grid,
.gallery-grid,
.stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-links {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-top: 2rem;
}

.hub-card,
.page-card,
.detail-card,
.manufacturer-card,
.contact-card,
.page-stat {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.hub-card,
.page-card,
.detail-card,
.manufacturer-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hub-card i,
.page-card i,
.detail-card i,
.contact-card i {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 64, 175, 0.12);
    color: var(--primary-color);
    font-size: 1.4rem;
}

.hub-card h3,
.page-card h3,
.detail-card h3,
.manufacturer-card h3,
.contact-card h3 {
    font-size: 1.35rem;
}

.hub-card p,
.page-card p,
.detail-card p,
.manufacturer-card p,
.contact-card p,
.page-hero-copy p,
.page-intro p {
    color: var(--text-gray);
}

.brand-quick-card,
.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-quick-card:hover,
.quick-link:hover,
.hub-card:hover,
.manufacturer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.brand-quick-card img {
    width: 100%;
    height: 130px;
    object-fit: contain;
}

.brand-quick-card span,
.quick-link span {
    font-weight: 700;
    text-align: center;
}

.cta-band {
    background: linear-gradient(135deg, var(--text-dark), var(--primary-dark));
    color: white;
}

.cta-band-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-band-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.65rem;
}

.cta-band-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-hero {
    padding: 5.5rem 0 4rem;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 2.5rem;
    align-items: center;
}

.page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.page-hero-copy h1 {
    font-size: clamp(2.4rem, 4vw, 4.1rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.page-hero-copy p {
    font-size: 1.1rem;
    margin-bottom: 1.6rem;
}

.page-hero-image {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 340px;
}

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

.page-list,
.check-list {
    list-style: none;
    display: grid;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.page-list li,
.check-list li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.page-list i,
.check-list i {
    color: var(--success-color);
    margin-top: 0.2rem;
}

.page-intro {
    max-width: 900px;
    margin-bottom: 2rem;
}

.page-card ul,
.manufacturer-card ul {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    color: var(--text-gray);
}

.page-card li::before,
.manufacturer-card li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 0.5rem;
}

.gallery-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-card figcaption {
    padding: 1rem 1.1rem;
    color: var(--text-gray);
}

.manufacturer-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 1rem;
}

.manufacturer-actions,
.page-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.stats-grid {
    margin-top: 2rem;
}

.page-stat strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.55rem;
}

.contact-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.35rem 1.5rem;
    min-height: auto;
}

.contact-card i {
    margin: 0;
}

.contact-card h3 {
    margin-bottom: 0.45rem;
    line-height: 1.1;
}

.contact-card p {
    margin: 0;
    line-height: 1.5;
}

.contact-form-panel {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form-panel .contact-form {
    padding: 0;
    box-shadow: none;
    border: none;
    background: transparent;
}

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

.contact-grid {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
}

@media (max-width: 1200px) {
    .brand-quick-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .hub-grid,
    .detail-grid,
    .gallery-grid,
    .manufacturer-grid,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-hero-grid,
    .page-grid-2,
    .contact-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hub-section,
    .brands-quick,
    .cta-band,
    .page-section,
    .page-gallery,
    .page-contact-strip,
    .page-hero {
        padding: 3.5rem 0;
    }

    .hub-grid,
    .brand-quick-grid,
    .detail-grid,
    .gallery-grid,
    .manufacturer-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-band-content,
    .cta-band-actions,
    .page-actions,
    .manufacturer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-hero-image {
        min-height: 260px;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }
}
