/* ============================================
   FORCE SENSORS PRO - SIMPLE PROFESSIONAL THEME
   ============================================ */

:root {
    --color-primary: #1a365d;
    --color-primary-light: #2c5282;
    --color-accent: #2b6cb0;
    --color-white: #ffffff;
    --color-light: #f7fafc;
    --color-gray: #718096;
    --color-dark: #1a202c;
    --color-text: #2d3748;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: translateY(-100%);
}

body.loaded .site-header {
    transform: translateY(0);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Transparent header ONLY on front page */
body.home .site-header:not(.scrolled) {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Light text when transparent (only on front page) */
body.home .site-header:not(.scrolled) .nav-menu a,
body.home .site-header:not(.scrolled) .header-phone,
body.home .site-header:not(.scrolled) .logo-text {
    color: var(--color-white);
}

body.home .site-header:not(.scrolled) .nav-menu a:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

body.home .site-header:not(.scrolled) .nav-menu a::after {
    background: var(--color-white);
}

body.home .site-header:not(.scrolled) .header-phone svg {
    color: var(--color-white);
}

body.home .site-header:not(.scrolled) .header-phone:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

body.home .site-header:not(.scrolled) .mobile-menu-toggle span {
    background: var(--color-white);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 32px;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.site-logo:hover {
    opacity: 0.8;
}

.site-logo .logo-img {
    height: 45px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav .nav-menu {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-primary);
    background: rgba(26, 54, 93, 0.05);
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

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

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    border-radius: 8px;
    transition: var(--transition);
}

.header-phone svg {
    color: var(--color-accent);
}

.header-phone:hover {
    background: rgba(43, 108, 176, 0.08);
    color: var(--color-accent);
}

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.25);
    transition: all 0.3s ease;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.35);
}

.btn-header:active {
    transform: translateY(0);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    background: none;
    border: none;
    border-radius: 10px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 100px);
    background: var(--color-white);
    padding: 16px 16px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    flex-direction: column;
    gap: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.mobile-nav.active {
    display: flex;
}

.mobile-nav__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: stretch;
    width: 100%;
}

.mobile-nav .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav .nav-menu li {
    width: 100%;
}

.mobile-nav .nav-menu a {
    display: block;
    padding: 11px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    border-radius: 10px;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.mobile-nav .nav-menu a::after {
    display: none;
}

.mobile-nav .nav-menu a:hover,
.mobile-nav .nav-menu a:active {
    background: rgba(26, 54, 93, 0.06);
    color: var(--color-primary);
}

.mobile-nav__side {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 14px;
    border-left: 1px solid #e8edf2;
}

.mobile-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    background: rgba(43, 108, 176, 0.07);
    border-radius: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Lang flags centered in side column */
.mobile-nav__side .lang-flags--mobile {
    justify-content: center;
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.mobile-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 10px;
    white-space: nowrap;
    margin-top: auto;
}

@media (max-width: 1100px) {
    .header-phone span {
        display: none;
    }

    .header-phone {
        padding: 10px;
    }
}

/* ============================================
   LANGUAGE FLAGS (inline)
   ============================================ */
.lang-flags {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-flags__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    opacity: 0.55;
}

.lang-flags__link:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.06);
    transform: scale(1.1);
}

.lang-flags__link--active {
    opacity: 1;
    background: rgba(26, 54, 93, 0.1);
    box-shadow: 0 0 0 2px rgba(26, 54, 93, 0.2);
}

.lang-flags__emoji {
    font-size: 18px;
    line-height: 1;
}

/* Transparent header variant (front page) */
body.home .site-header:not(.scrolled) .lang-flags__link:hover {
    background: rgba(255, 255, 255, 0.15);
}

body.home .site-header:not(.scrolled) .lang-flags__link--active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

/* Mobile language flags */
.lang-flags--mobile {
    justify-content: flex-start;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f4f8;
}

.lang-flags--mobile .lang-flags__link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.lang-flags--mobile .lang-flags__emoji {
    font-size: 20px;
}

@media (max-width: 900px) {

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-inner {
        height: 70px;
    }

    .mobile-nav {
        top: 76px;
        left: 12px;
        right: 12px;
        max-height: calc(100vh - 96px);
        border-radius: 20px;
    }
}

/* ============================================
   HERO - PROFESSIONAL BUSINESS STYLE
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    /* justify-content and align-items are set inline */
    color: var(--color-white);
    overflow: hidden;
    padding: 140px 5% 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero-content {
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 2;
    /* padding, background, border-radius, backdrop-filter removed */
}

.hero-title {
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    /* For animation */
}

.hero-desc {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    /* margin-left: auto; margin-right: auto; removed to follow parent alignment */
    opacity: 0;
    /* For animation */
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    /* For animation */
    /* justify-content set by parent text-align */
    justify-content: inherit;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translate3d(-50px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

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

/* Animation Classes */
body.loaded .animate-fade-up .hero-title {
    animation: fadeInUp 0.8s ease-out forwards 0.2s;
}

body.loaded .animate-fade-up .hero-desc {
    animation: fadeInUp 0.8s ease-out forwards 0.4s;
}

body.loaded .animate-fade-up .hero-buttons {
    animation: fadeInUp 0.8s ease-out forwards 0.6s;
}

body.loaded .animate-fade-in .hero-title {
    animation: fadeIn 1s ease-out forwards 0.2s;
}

body.loaded .animate-fade-in .hero-desc {
    animation: fadeIn 1s ease-out forwards 0.5s;
}

body.loaded .animate-fade-in .hero-buttons {
    animation: fadeIn 1s ease-out forwards 0.8s;
}

body.loaded .animate-slide-in .hero-title {
    animation: slideInLeft 0.8s ease-out forwards 0.2s;
}

body.loaded .animate-slide-in .hero-desc {
    animation: slideInLeft 0.8s ease-out forwards 0.4s;
}

body.loaded .animate-slide-in .hero-buttons {
    animation: slideInLeft 0.8s ease-out forwards 0.6s;
}

body.loaded .animate-zoom-in .hero-title {
    animation: zoomIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.2s;
}

body.loaded .animate-zoom-in .hero-desc {
    animation: zoomIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.3s;
}

body.loaded .animate-zoom-in .hero-buttons {
    animation: zoomIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.4s;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
}

body.loaded .hero-bg {
    transform: scale(1);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(30, 41, 59, 0.3) 100%);
}



.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* ============================================
   SECTIONS - PROFESSIONAL STYLE
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-light {
    background: #f8fafc;
}

/* Alternating backgrounds with subtle patterns */
.section:nth-of-type(odd) {
    background: var(--color-white);
}

.section:nth-of-type(even) {
    background:
        radial-gradient(circle at 20% 50%, rgba(26, 54, 93, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(43, 108, 176, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(26, 54, 93, 0.015) 0%, transparent 45%),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Decorative dots pattern for odd sections */
.section:nth-of-type(odd)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-image: radial-gradient(circle, rgba(26, 54, 93, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

/* Simple top border separator */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(26, 54, 93, 0.08) 20%, rgba(26, 54, 93, 0.08) 80%, transparent 100%);
}

/* Inner shadow for depth */
.section:nth-of-type(even) {
    box-shadow: inset 0 20px 40px -20px rgba(0, 0, 0, 0.03);
}

.section:first-of-type::before {
    display: none;
}

/* Gradient line accent */
.section-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 2px;
    margin: 24px auto 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 18px;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Decorative floating shapes */
.section-decorated::before {
    content: '';
    position: absolute;
    top: 100px;
    left: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.section-decorated::after {
    content: '';
    position: absolute;
    bottom: 50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, transparent 30%, rgba(43, 108, 176, 0.04) 100%);
    pointer-events: none;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

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

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

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

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

.stagger-6 {
    transition-delay: 0.6s;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.about-text p {
    color: var(--color-gray);
    line-height: 1.8;
}

.features-list {
    display: grid;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    background: var(--color-white);
    border-radius: 16px;
    border: 1px solid rgba(26, 54, 93, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(26, 54, 93, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
}

.feature-item:hover::before {
    transform: scaleY(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
    color: var(--color-white);
    border-radius: 16px;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(26, 54, 93, 0.25);
    position: relative;
    transition: all 0.3s ease;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
}

.feature-item:hover .feature-icon {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(26, 54, 93, 0.35);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.feature-item h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-item p {
    font-size: 15px;
    color: var(--color-gray);
    margin: 0;
    line-height: 1.7;
}

/* Products Grid - Professional Catalog Style */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8edf2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.product-image {
    aspect-ratio: 4/3;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    border-bottom: 1px solid #f1f5f9;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

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

.product-content {
    padding: 24px;
}

.product-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-content p {
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.product-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.product-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.product-link:hover {
    color: var(--color-primary);
    gap: 10px;
}

.products-more {
    text-align: center;
    margin-top: 48px;
}

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

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

/* Partners - Professional Logo Grid */
.partners-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.partner-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 32px;
    background: var(--color-white);
    border-radius: 16px;
    border: 1px solid #e8edf2;
    transition: all 0.3s ease;
    gap: 32px;
}

.partner-item:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.partner-logo {
    flex-shrink: 0;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo a {
    display: block;
    width: 100%;
    text-align: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo img {
    transform: scale(1.05);
}

.partner-info {
    flex: 1;
    text-align: left;
}

.partner-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.partner-info p {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .partner-item {
        padding: 24px;
        min-height: 120px;
    }

    .partner-logo img {
        max-height: 60px;
    }
    
    .partners-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info h2 {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.contact-info>p {
    color: var(--color-gray);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.contact-item span {
    color: var(--color-text);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Contact form messages */
.contact-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 20px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-message svg {
    flex-shrink: 0;
}

.contact-message--success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.contact-message--success svg {
    stroke: #10b981;
}

.contact-message--error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.contact-message--error svg {
    stroke: #ef4444;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #cbd5e0;
    background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(43, 108, 176, 0.1);
}

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

.form-submit {
    margin-top: 8px;
}

.form-submit .btn {
    width: 100%;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.form-submit .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.form-submit .btn:hover::before {
    left: 100%;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }
}

.contact-map {
    margin-top: 48px;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(26, 54, 93, 0.45);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 0 0 0;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(43, 108, 176, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(26, 54, 93, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* Gradient accent top border */
.footer-accent {
    height: 4px;
    background: linear-gradient(90deg,
        var(--color-primary) 0%,
        var(--color-accent) 35%,
        #4299e1 65%,
        var(--color-primary) 100%);
    background-size: 200% 100%;
    animation: footerGradient 6s ease infinite;
}

@keyframes footerGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr auto;
    gap: 48px;
    padding: 64px 0 48px;
    position: relative;
    z-index: 1;
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

/* Logo in footer */
.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

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

.footer-logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #a0aec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    max-width: 300px;
}

/* Footer Headings */
.footer-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    border-radius: 1px;
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.footer-nav a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-white);
    transform: translateX(4px);
}

.footer-nav a:hover::before {
    width: 12px;
}

/* Footer Contact */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-accent);
    opacity: 0.7;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--color-white);
}

/* Social Media */
.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: rgba(43, 108, 176, 0.2);
    border-color: rgba(43, 108, 176, 0.4);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(43, 108, 176, 0.2);
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-nav .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .products-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0 32px;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   ARCHIVE & SINGLE PRODUCT
   ============================================ */
.page-header {
    background: var(--color-white);
    padding: 14px 0;
    border-bottom: 1px solid #e8edf2;
    margin-top: 0;
}

.page-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.page-header h1 {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.4;
}

.page-header__breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
    flex-shrink: 0;
}

.page-header__breadcrumb a {
    color: #94a3b8;
    transition: color 0.2s ease;
}

.page-header__breadcrumb a:hover {
    color: var(--color-primary);
}

.page-header__breadcrumb span {
    color: #cbd5e1;
}

.page-header__breadcrumb span:last-child {
    color: #475569;
    font-weight: 500;
}

/* ============================================
   SINGLE PRODUCT — premium system
   ============================================ */
.single-product-section {
    padding: 48px 0 96px;
    background: #f8fafc;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 100px;
}

.product-gallery-main {
    background: var(--color-white);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e8edf2;
    box-shadow: 0 2px 16px rgba(26, 54, 93, 0.06);
    aspect-ratio: 1 / 1;
    cursor: zoom-in;
    position: relative;
}

.product-gallery-main::after {
    content: '🔍';
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-gallery-main:hover::after {
    opacity: 1;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.product-gallery-main:hover img {
    transform: scale(1.03);
}

.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.product-gallery-thumb {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #e8edf2;
    background: var(--color-white);
    transition: all 0.2s ease;
}

.product-gallery-thumb:hover {
    border-color: #93c5fd;
    box-shadow: 0 2px 8px rgba(43, 108, 176, 0.15);
}

.product-gallery-thumb.active {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.12);
}

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

/* Product Info Panel */
.product-info {
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #e8edf2;
    box-shadow: 0 4px 24px rgba(26, 54, 93, 0.07);
}

.product-description {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #f0f4f8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.product-description p {
    margin-bottom: 12px;
}

.product-description p:last-child {
    margin-bottom: 0;
}

.product-specs {
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 28px;
    border: 1px solid #e8edf2;
}

.product-specs h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-specs h3::before {
    content: '';
    width: 3px;
    height: 14px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 2px;
    flex-shrink: 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #e8edf2;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table th,
.specs-table td {
    padding: 10px 0;
    text-align: left;
    font-size: 13.5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.specs-table th {
    color: #94a3b8;
    font-weight: 500;
    width: 42%;
    padding-right: 16px;
}

.specs-table td {
    color: var(--color-text);
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-actions .btn {
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 10px;
}

.product-actions .btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(26, 54, 93, 0.25);
}

.product-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.35);
}

.product-actions .btn-outline {
    border: 1.5px solid #cbd5e1;
    color: var(--color-text);
    background: transparent;
}

.product-actions .btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(26, 54, 93, 0.04);
}

.back-link {
    margin-top: 40px;
    border-top: none;
    padding-top: 0;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-link a:hover {
    color: var(--color-primary);
    gap: 9px;
}

@media (max-width: 900px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-gallery {
        position: static;
    }

    .product-info {
        padding: 24px;
    }
}

.archive-section {
    padding: 48px 0 96px;
    background: #f8fafc;
}


/* Enhanced Product Cards for Archive */
.archive-section .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.archive-section .product-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.archive-section .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.archive-section .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.archive-section .product-card:hover::before {
    transform: scaleX(1);
}

.archive-section .product-image {
    aspect-ratio: 4/3;
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.archive-section .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.archive-section .product-content {
    padding: 28px 32px 32px;
}

.archive-section .product-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.archive-section .product-card:hover .product-content h3 {
    color: var(--color-primary);
}

.archive-section .product-content p {
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.archive-section .product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.archive-section .product-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.archive-section .product-link:hover {
    color: var(--color-primary);
}

.archive-section .product-link:hover::after {
    transform: translateX(4px);
}

/* Archive filter/search bar (optional enhancement) */
.archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.archive-count {
    font-size: 15px;
    color: var(--color-gray);
}

.archive-count strong {
    color: var(--color-dark);
}

/* Offset for fixed header on non-front-page templates */
body:not(.home) main {
    padding-top: 80px;
}

@media (max-width: 900px) {
    body:not(.home) main {
        padding-top: 70px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE FIRST OVERRIDES
   ============================================ */

/* Tablet: 1024px */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .product-detail-grid {
        gap: 32px;
    }
}

/* Mobile: 768px */
@media (max-width: 768px) {
    /* Hero - Full screen on mobile */
    .hero {
        min-height: 100vh;
        min-height: calc(var(--vh, 1vh) * 100);
        height: auto;
        padding: 90px 24px 30px;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    
    .hero[style] {
        text-align: left !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: left !important;
        display: flex;
        flex-direction: column;
        min-height: calc(100vh - 120px);
        min-height: calc(var(--vh, 1vh) * 100 - 120px);
        justify-content: space-between;
    }
    
    .hero-title {
        margin-bottom: 12px;
        text-align: left !important;
    }
    
    .hero-desc {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        text-align: left !important;
    }
    
    .hero-buttons {
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        margin-top: auto;
        padding-bottom: 20px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-scroll {
        display: none;
    }
    
    /* Typography scale-down */
    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 15px;
    }

    .section {
        padding: 56px 0;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-text h2 {
        font-size: 26px;
    }

    /* Products grid */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Partners */
    .partner-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }

    .partner-logo {
        width: auto;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form {
        padding: 24px;
    }

    .contact-info h2 {
        font-size: 26px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0 28px;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .back-to-top {
        bottom: 20px;
        right: 16px;
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    /* Page header */
    .page-header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .page-header h1 {
        font-size: 12px;
    }

    /* Archive */
    .archive-section {
        padding: 32px 0 64px;
    }

    .archive-section .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .archive-section .product-content {
        padding: 20px 24px 24px;
    }

    .archive-section .product-content h3 {
        font-size: 18px;
    }

    /* Single product */
    .single-product-section {
        padding: 24px 0 64px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-gallery {
        position: static;
    }

    .product-gallery-main {
        padding: 24px;
        border-radius: 12px;
        aspect-ratio: 4 / 3;
    }

    .product-gallery-thumbs {
        gap: 8px;
    }

    .product-gallery-thumb {
        width: 60px;
        height: 60px;
        border-radius: 8px;
    }

    .product-info {
        padding: 24px;
        border-radius: 16px;
    }

    .product-description {
        font-size: 14px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .product-specs {
        padding: 18px;
        border-radius: 10px;
        margin-bottom: 20px;
    }

    .specs-table th,
    .specs-table td {
        font-size: 13px;
        padding: 9px 0;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .back-link {
        margin-top: 28px;
    }
}

/* Small mobile: 480px */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    /* Hero full screen */
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding: 80px 20px 40px;
    }

    .hero-title {
        font-size: clamp(28px, 9vw, 40px);
        margin-bottom: 16px;
        text-align: left !important;
    }

    .hero-desc {
        font-size: 14px;
        margin-bottom: 32px;
        text-align: left !important;
    }

    .btn {
        padding: 13px 24px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 24px;
    }
    
    .section {
        padding: 48px 0;
    }

    .product-card .product-content {
        padding: 16px;
    }

    .product-card .product-content h3 {
        font-size: 16px;
    }

    .contact-form {
        padding: 20px 16px;
    }

    .form-group input,
    .form-group textarea {
        padding: 13px 16px;
        font-size: 14px;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-heading {
        margin-bottom: 16px;
    }
    
    /* Partners - single column on very small screens */
    .partners-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .partner-item {
        padding: 20px 16px;
    }
    
    .partner-logo {
        height: 70px;
        margin-bottom: 12px;
    }
    
    /* About features */
    .feature-item {
        padding: 16px 12px;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
    }
    
    /* Contact map */
    .contact-map {
        height: 250px;
        border-radius: 12px;
    }

    .product-info {
        padding: 20px 16px;
    }
    
    /* Partners grid - better mobile layout */
    .partners-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .partner-item {
        padding: 16px;
    }
    
    .partner-logo {
        height: 60px;
    }
    
    .partner-info h3 {
        font-size: 13px;
    }
    
    .partner-info p {
        font-size: 12px;
    }
    
    /* Contact form - better mobile inputs */
    .contact-form {
        padding: 20px 16px;
    }
    
    .form-group {
        margin-bottom: 14px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 10px;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    /* Contact details */
    .contact-details {
        gap: 16px;
    }
    
    .contact-item {
        font-size: 14px;
    }
    
    .contact-item svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
    
    /* About section */
    .about-text h2 {
        font-size: 26px;
        margin-bottom: 16px;
    }
    
    .about-text p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .feature-item {
        padding: 16px;
    }
    
    .feature-item h3 {
        font-size: 15px;
    }
    
    .feature-item p {
        font-size: 13px;
    }
    
    /* Buttons - better touch targets */
    .btn {
        min-height: 48px;
        padding: 14px 28px;
        font-size: 15px;
    }
    
    /* Products more button */
    .products-more {
        margin-top: 32px;
    }
    
    /* Map */
    .contact-map {
        height: 300px;
        margin-top: 32px;
    }

    .product-gallery-main {
        padding: 16px;
    }

    .product-gallery-thumb {
        width: 52px;
        height: 52px;
    }
}

/* ============================================
   MOBILE HEADER ACTIONS
   ============================================ */
.header-actions-mobile {
    display: none;
    align-items: center;
    gap: 14px;
}

.header-phone-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--color-white);
    transition: background 0.2s ease;
}

.header-phone-mobile:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* On non-home pages, phone icon is dark */
body:not(.home) .header-phone-mobile,
body:not(.home) .site-header.scrolled .header-phone-mobile {
    color: var(--color-text);
}

body.home .site-header.scrolled .header-phone-mobile {
    color: var(--color-text);
}

/* Mobile header lang flags (in header bar) */
.lang-flags--mobile-header {
    display: flex;
    align-items: center;
    gap: 2px;
}

.lang-flags--mobile-header .lang-flags__link {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.lang-flags--mobile-header .lang-flags__emoji {
    font-size: 16px;
}

@media (max-width: 900px) {
    /* Hide desktop actions, show mobile actions */
    .header-actions {
        display: none !important;
    }

    .header-actions-mobile {
        display: flex;
    }

    /* Simplify mobile-nav — single column, just links */
    .mobile-nav__inner {
        display: block;
    }

    .mobile-nav__side {
        display: none;
    }

    .mobile-nav .nav-menu a {
        font-size: 16px;
        padding: 14px 16px;
    }

    /* Compact mobile-nav size */
    .mobile-nav {
        max-height: fit-content;
        padding: 12px 12px 16px;
    }
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 80px 0;
}

.error-404-inner {
    text-align: center;
    max-width: 480px;
}

.error-404-code {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.error-404-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.error-404-desc {
    font-size: 15px;
    color: var(--color-gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.btn-404 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(26, 54, 93, 0.25);
    transition: all 0.3s ease;
}

.btn-404:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 54, 93, 0.35);
}


/* ============================================
   PRODUCT LIGHTBOX
   ============================================ */
.product-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.product-lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    z-index: 10001;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: opacity 0.15s ease;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    z-index: 10002;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10002;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

/* Mobile lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95vw;
        max-height: 85vh;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 36px;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 32px;
        background: rgba(0, 0, 0, 0.5);
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .product-gallery-main::after {
        bottom: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}


/* ============================================
   PRODUCT INQUIRY MODAL
   ============================================ */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.product-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.product-modal-content {
    position: relative;
    z-index: 10000;
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.product-modal-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.product-modal-subtitle {
    font-size: 16px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f0f4f8;
}

.product-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-gray);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.product-modal-close:hover {
    background: #f0f4f8;
    color: var(--color-dark);
    transform: rotate(90deg);
}

.product-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-inquiry-form .form-group {
    margin-bottom: 0;
}

.product-inquiry-form input,
.product-inquiry-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.product-inquiry-form input:focus,
.product-inquiry-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

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

.product-inquiry-form .btn {
    margin-top: 8px;
}

/* Mobile modal */
@media (max-width: 768px) {
    .product-modal {
        padding: 10px;
    }

    .product-modal-content {
        padding: 30px 24px;
        max-height: 95vh;
        border-radius: 16px;
    }

    .product-modal-content h2 {
        font-size: 24px;
        padding-right: 30px;
    }

    .product-modal-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .product-modal-close {
        top: 16px;
        right: 16px;
        width: 32px;
        height: 32px;
        font-size: 28px;
    }

    .product-inquiry-form input,
    .product-inquiry-form textarea {
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}
