/* MEFE.COM.TR - Professional Clone CSS */

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0268ce;
    --primary-dark: #024a94;
    --accent-color: #10b981;
    --secondary-color: #ffffff;
    --text-color: #333;
    --muted-text: #64748b;
    --light-bg: #f9f9f9;
    --section-bg: #ffffff;
    --dark-bg: #2c3338;
    --border-color: #ddd;
    --gradient-1: linear-gradient(135deg, #0268ce 0%, #024a94 100%);
    --topbar-bg: var(--primary-color);
    --topbar-text: #ffffff;
    --header-bg: #ffffff;
    --nav-text: var(--text-color);
    --nav-active-color: var(--primary-color);
    --nav-hover-bg: rgba(2, 104, 206, 0.08);
    --dropdown-bg: #ffffff;
    --hero-overlay: linear-gradient(90deg, rgba(2, 21, 43, 0.78), rgba(2, 21, 43, 0.42), rgba(2, 21, 43, 0.18));
    --button-bg: #ffffff;
    --button-text: var(--primary-color);
    --products-bg: #ffffff;
    --categories-bg: #ffffff;
    --capabilities-bg: #f6f9fc;
    --machine-bg: #ffffff;
    --references-bg: #f7fafc;
    --footer-bg: linear-gradient(135deg, #025eb9 0%, #024f9d 48%, #023d7a 100%);
    --footer-text: rgba(255, 255, 255, 0.86);
    --footer-link: rgba(255, 255, 255, 0.82);
    --footer-heading: #ffffff;
    --footer-logo-color: #ffffff;
    --logo-text-color: var(--primary-color);
    --logo-text-size: 32px;
    --logo-icon-height: 48px;
    --card-radius: 8px;
    --card-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --heading-font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 14px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.front-admin-editbar {
    background: #fff7ed;
    border-bottom: 1px solid #fed7aa;
    border-top: 1px solid #ffedd5;
}

.front-admin-editbar .container {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
    padding-bottom: 10px;
}

.front-admin-editlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.front-admin-editlink:hover {
    background: var(--primary-color);
    color: #ffffff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

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

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--topbar-bg);
    color: var(--topbar-text);
    padding: 8px 0;
    font-size: 13px;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.slide-title,
.logo-text {
    font-family: var(--heading-font-family);
}

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

.contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-info span {
    display: inline-flex;
    align-items: center;
}

.contact-info i {
    margin-right: 5px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 16px;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.7;
}

.language-selector {
    position: relative;
    margin-left: 20px;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.14);
    color: white;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
}

.language-toggle:hover,
.language-selector:focus-within .language-toggle,
.language-selector:hover .language-toggle {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1100;
    display: grid;
    grid-template-columns: repeat(2, minmax(132px, 1fr));
    gap: 4px;
    min-width: 290px;
    max-height: 360px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(5, 28, 54, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.language-selector:hover .language-dropdown,
.language-selector:focus-within .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 6px;
    color: #243447;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.language-dropdown a:hover,
.language-dropdown a.active {
    background: rgba(2, 104, 206, 0.1);
    color: var(--primary-color);
}

.language-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    height: 22px;
    border-radius: 4px;
    background: #eef5ff;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    background: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 12px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    margin: 0;
    font-size: var(--logo-text-size);
    color: var(--logo-text-color);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.logo a {
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.theme-logo-mode-icon .logo-text {
    display: none;
}

.theme-logo-mode-text .site-logo-emblem {
    display: none;
}

.theme-logo-mode-image .logo-text {
    display: none;
}

.site-logo-emblem {
    display: block;
    width: auto;
    height: var(--logo-icon-height);
    max-width: calc(var(--logo-icon-height) + 10px);
    object-fit: contain;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s;
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    color: var(--nav-text);
    font-weight: 700;
    font-size: 15px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    position: relative;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 2px;
    background: var(--nav-active-color);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--nav-active-color);
    background: var(--nav-hover-bg);
    box-shadow: inset 0 0 0 1px rgba(2, 104, 206, 0.10);
}

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

.nav-menu .dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--dropdown-bg);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    min-width: 245px;
    padding: 8px;
    list-style: none;
    border: 1px solid rgba(2, 104, 206, 0.10);
    border-radius: var(--card-radius);
    margin-top: 0;
    z-index: 1000;
}

.nav-menu .dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 22px;
    width: 12px;
    height: 12px;
    background: var(--dropdown-bg);
    border-left: 1px solid rgba(2, 104, 206, 0.10);
    border-top: 1px solid rgba(2, 104, 206, 0.10);
    transform: rotate(45deg);
}

/* Görünmez köprü: menü ile dropdown arasındaki boşluğu kapatır,
   böylece fare aşağı inerken menü kapanmaz */
.nav-menu li.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    display: none;
}

.nav-menu li.has-dropdown:hover::after {
    display: block;
}

.nav-menu li.has-dropdown:hover .dropdown {
    display: block;
    animation: fadeIn 0.3s ease;
}

.nav-menu .dropdown li {
    padding: 0;
}

.nav-menu .dropdown a {
    display: block;
    padding: 11px 14px;
    color: var(--nav-text);
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    border-left: 3px solid transparent;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}

.nav-menu .dropdown a:hover {
    background: var(--nav-hover-bg);
    color: var(--nav-active-color);
    border-left-color: var(--nav-active-color);
    padding-left: 18px;
}

.nav-menu a i {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s;
}

.nav-menu li.has-dropdown:hover > a i {
    transform: rotate(180deg);
}

.search-icon {
    cursor: pointer;
    font-size: 18px;
    color: var(--primary-color);
    padding: 10px;
    margin-left: 15px;
    transition: all 0.3s;
}

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

/* ========== SEARCH MODAL ========== */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: color-mix(in srgb, var(--primary-color) 94%, #00152b);
    z-index: 9999;
}

.search-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal-content {
    width: 100%;
    max-width: 800px;
    padding: 40px;
    position: relative;
}

.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 25px 80px 25px 30px;
    font-size: 24px;
    border: none;
    border-radius: 50px;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-submit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-submit:hover {
    background: var(--primary-dark);
}

.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 2px solid white;
    color: white;
    font-size: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    background: white;
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slide {
    display: none;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide-background {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background: var(--gradient-1);
}

.home-image-slider {
    width: var(--home-slider-width, 100%);
    max-width: 100%;
    height: var(--home-slider-height, 280px);
    margin: 0 auto;
    background: #0f172a;
}

.home-image-slider .slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.home-image-slider .slide.active {
    opacity: 1;
    visibility: visible;
}

.home-image-slider .slide-background {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center 46%;
}

.slide-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
    z-index: 0;
}

.home-image-slider .slide-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
}

.home-image-slider .container {
    position: relative;
    z-index: 2;
}

.home-image-slider .slide-content {
    max-width: 620px;
    text-align: left;
    padding: 20px 0;
}

.home-image-slider .slide-title {
    font-size: 44px;
    margin-bottom: 18px;
}

.home-image-slider .slide-description {
    max-width: 560px;
    font-size: 18px;
}

.compact-home-slider .slide-content {
    max-width: 620px;
    padding: 8px 0 28px;
}

.compact-home-slider .slide-title {
    font-size: 34px;
    margin-bottom: 10px;
}

.compact-home-slider .slide-description {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 0;
}

.compact-home-slider .slide-subtitle,
.compact-home-slider .btn {
    display: none;
}

.compact-home-slider .slider-dots {
    bottom: 16px;
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 3;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,0.85);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.slider-dot.active {
    background: #fff;
}

.slide-content {
    max-width: 700px;
    padding: 20px;
}

.slide-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
    opacity: 0.9;
}

.slide-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-hero {
    height: 125px;
}

.page-hero .slide-title {
    font-size: 30px;
    margin-bottom: 0;
}

.compact-page-hero {
    height: 105px;
}

.compact-page-hero .slide-title {
    font-size: 34px !important;
}

.corporate-page-hero {
    height: 190px;
    background: #075dae;
}

.corporate-page-hero .slide-background {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(2, 42, 84, 0.98) 0%, rgba(3, 100, 190, 0.92) 56%, rgba(0, 109, 204, 0.82) 100%);
}

.corporate-page-hero .slide-background::after {
    content: '';
    position: absolute;
    right: -8%;
    top: -110px;
    width: 44%;
    height: 360px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,0));
    transform: skewX(-18deg);
    pointer-events: none;
}

.corporate-page-hero .slide-content {
    position: relative;
    z-index: 1;
    max-width: 960px;
    padding: 18px 20px;
    text-align: left;
}

.corporate-page-hero .slide-subtitle {
    color: rgba(255,255,255,.78);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 7px;
}

.corporate-page-hero .slide-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 8px;
}

.corporate-page-hero .slide-description {
    color: rgba(255,255,255,.86);
    font-size: 15px;
    line-height: 1.55;
    max-width: 760px;
    margin: 0;
}

.corporate-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    margin-bottom: 10px;
}

.corporate-breadcrumb a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
}

.corporate-breadcrumb a:hover {
    color: #fff;
}

.corporate-breadcrumb strong {
    color: #fff;
    font-weight: 700;
}

.compact-page-hero.corporate-page-hero {
    height: 150px;
}

.compact-page-hero.corporate-page-hero .slide-title {
    font-size: 30px !important;
}

.product-page-hero {
    height: 110px;
}

.product-page-hero .slide-content {
    max-width: 900px;
    padding: 12px 20px;
}

.product-page-hero .slide-title {
    font-size: 30px;
    margin-bottom: 4px;
}

.product-page-hero .slide-description {
    font-size: 15px;
    margin-bottom: 0;
    line-height: 1.4;
}

.category-page-hero {
    height: 125px;
}

.category-page-hero .slide-content > div:first-child {
    margin-bottom: 5px !important;
}

.category-page-hero .slide-description {
    font-size: 14px !important;
    line-height: 1.35 !important;
    max-width: 760px !important;
}

.slide-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 15px;
}

.btn-primary {
    background: var(--button-bg);
    color: var(--button-text);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ========== SECTIONS ========== */
.section {
    padding: 58px 0;
}

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

.home-products-section {
    background: var(--products-bg);
}

.section-compact {
    padding: 48px 0;
}

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

.section-subtitle {
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.section-description {
    font-size: 16px;
    color: #666;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========== PRODUCTS GRID ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
    transition: all 0.3s;
    cursor: pointer;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    border: 1px solid rgba(2, 104, 206, 0.06);
}

.product-card:hover {
    color: inherit;
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    border-color: rgba(2, 104, 206, 0.16);
}

.product-image {
    width: 100%;
    height: 240px;
    object-fit: contain;
    display: block;
    padding: 18px;
    background: #fff;
    border-bottom: 1px solid #edf2f7;
}

.product-info {
    padding: 22px 24px 24px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.4;
    min-height: 50px;
}

.product-description {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}

.product-link {
    color: var(--nav-active-color);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.product-link i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.product-card:hover .product-link i {
    transform: translateX(4px);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 42px;
    flex-wrap: wrap;
}

.pagination-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-link,
.pagination-page {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #fff;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-link:hover,
.pagination-page:hover,
.pagination-page.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.pagination-link.disabled,
.pagination-page.disabled {
    color: #9aa7b5;
    background: #f5f7fa;
    pointer-events: none;
}

/* ========== CATEGORIES GRID ========== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.category-card {
    background: white;
    padding: 30px 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
    transition: all 0.3s;
    display: block;
    color: inherit;
    border: 1px solid rgba(2, 104, 206, 0.06);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    border-color: rgba(2, 104, 206, 0.16);
}

.category-icon {
    font-size: 46px;
    color: var(--primary-color);
    margin-bottom: 18px;
}

.category-icon i {
    display: block;
}

.category-icon .mefe-inline-svg-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto;
}

.category-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.category-image-icon {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.category-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: -10px 0 34px;
}

.category-filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 16px;
    border: 1px solid #d8e3f1;
    border-radius: 999px;
    background: #fff;
    color: #405065;
    font-size: 13px;
    font-weight: 700;
}

.category-filter-chip:hover,
.category-filter-chip.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.category-count {
    font-size: 14px;
    color: #999;
}

/* ========== HOME POLISH ========== */
.home-image-slider {
    border-bottom: 1px solid #e8eef6;
}

.home-image-slider .slide-background::before {
    background:
        linear-gradient(90deg, rgba(4, 22, 41, 0.8) 0%, rgba(8, 39, 70, 0.54) 47%, rgba(8, 39, 70, 0.22) 100%);
}

.home-image-slider .slide-content {
    max-width: 680px;
}

.compact-home-slider .slide-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.compact-home-slider .slide-description {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.94);
    font-weight: 500;
}

.home-trust-strip {
    background: #fff;
    border-bottom: 1px solid #e8eef6;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

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

.trust-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 104px;
    padding: 22px 18px;
    border-right: 1px solid #edf2f7;
}

.trust-item:last-child {
    border-right: 0;
}

.trust-icon,
.capability-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #eef6ff;
    color: var(--primary-color);
    font-size: 18px;
}

.mefe-inline-svg-icon {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.trust-icon .mefe-inline-svg-icon,
.capability-icon .mefe-inline-svg-icon,
.why-icon .mefe-inline-svg-icon {
    width: 30px;
    height: 30px;
}

.trust-copy {
    display: grid;
    gap: 3px;
}

.trust-copy strong {
    color: #172033;
    font-size: 14px;
    line-height: 1.3;
}

.trust-copy small {
    color: #607086;
    font-size: 12px;
    line-height: 1.45;
}

.home-products-section {
    background: var(--products-bg);
    padding-top: 66px;
}

.home-products-section .section-header {
    margin-bottom: 36px;
}

.home-products-section .section-title {
    margin-bottom: 10px;
}

.home-products-section .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.home-products-section .product-card {
    border: 1px solid #e7edf5;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
}

.home-products-section .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.home-products-section .product-image {
    height: 235px;
    padding: 24px;
    background: #fff;
    border-bottom: 1px solid #edf2f7;
    object-position: center;
}

.home-products-section .product-info {
    padding: 22px 24px 24px;
}

.product-category-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 26px;
    margin-bottom: 10px;
    padding: 4px 9px;
    border-radius: 7px;
    background: #eef6ff;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-products-section .product-title {
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-products-section .product-description {
    display: -webkit-box;
    min-height: 68px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-capabilities-section {
    background: var(--capabilities-bg);
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

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

.capability-card {
    min-height: 220px;
    padding: 30px;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
}

.capability-card h3 {
    margin: 18px 0 10px;
    color: #172033;
    font-size: 18px;
    line-height: 1.35;
}

.capability-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.home-categories-section {
    background: var(--categories-bg);
}

.home-categories-section .categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-categories-section .category-card {
    padding: 26px 18px;
    border: 1px solid #e7edf5;
    border-radius: var(--card-radius);
    box-shadow: none;
}

.home-categories-section .category-card:hover {
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.home-references-section {
    background: var(--references-bg);
    border-top: 1px solid #edf2f7;
}

.home-references-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
    gap: 42px;
    align-items: center;
}

.home-references-copy {
    text-align: left;
}

.home-references-copy .section-description {
    margin: 0 0 20px;
}

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

.text-link i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.text-link:hover i {
    transform: translateX(4px);
}

.home-reference-preview {
    display: block;
    padding: 24px;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.reference-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.reference-logo-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 8px;
    border: 1px solid #e5edf6;
    border-radius: 8px;
    background: #fff;
    color: #526174;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    filter: grayscale(1);
}

.home-reference-preview img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    background: #fff;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 52px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.15fr) minmax(160px, 0.8fr) minmax(190px, 0.95fr) minmax(260px, 1.1fr);
    gap: 34px;
    margin-bottom: 34px;
    align-items: start;
}

.footer-col h3 {
    color: var(--footer-heading);
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
}

.footer-col p {
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--footer-text);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: var(--footer-link);
    transition: color 0.3s;
    font-size: 14px;
}

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

.footer-logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--footer-logo-color);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

.footer-logo-mark img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
}

.footer-social-links a:hover {
    background: rgba(255, 255, 255, 0.18);
}

.footer-contact-list {
    display: grid;
    gap: 12px;
}

.footer-contact-list li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 0;
    color: var(--footer-text);
    font-size: 14px;
    line-height: 1.55;
}

.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: var(--footer-heading);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.footer-bottom {
    text-align: center;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
    font-size: 13px;
    color: var(--footer-text);
}

.footer-language-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    padding: 18px 0 0;
    margin-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--footer-text);
    font-size: 13px;
}

.footer-language-list span {
    color: var(--footer-heading);
    font-weight: 700;
}

.footer-language-list a {
    color: var(--footer-link);
    font-size: 13px;
}

.footer-language-list a:hover,
.footer-language-list a.active {
    color: var(--footer-heading);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background: #024a94;
    transform: translateY(-5px);
}

/* ========== CONTACT FORM ========== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form .btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.contact-form .btn-primary:hover {
    background: #024a94;
    color: #fff;
}

.form-group {
    margin-bottom: 25px;
}

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

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

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

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

.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.empty-state {
    text-align: center;
    padding: 54px 20px;
    background: #f8fafc;
    border: 1px solid #e8eef6;
    border-radius: 8px;
}

.empty-state i {
    font-size: 56px;
    color: #c4cedb;
    margin-bottom: 18px;
}

.empty-state h3 {
    font-size: 22px;
    color: #334155;
    margin-bottom: 8px;
}

.empty-state p {
    color: #64748b;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .nav-menu {
        gap: 8px;
    }
    
    .slide-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .site-logo-emblem {
        height: 40px;
        max-width: 48px;
    }

    .logo-text {
        font-size: 28px;
    }

    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 14px;
        gap: 4px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 0;
    }
    
    .nav-menu > li > a {
        justify-content: space-between;
        padding: 13px 12px;
    }

    .nav-menu > li > a::after {
        left: 12px;
        right: 12px;
    }
    
    .nav-menu .dropdown {
        position: static;
        box-shadow: none;
        margin-top: 0;
        padding: 6px 0 6px 10px;
        border: 0;
        border-radius: 0;
        min-width: auto;
        background: transparent;
    }

    .nav-menu .dropdown::before {
        display: none;
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .language-selector {
        margin-left: 0;
    }

    .language-dropdown {
        right: 50%;
        transform: translate(50%, 6px);
        grid-template-columns: 1fr;
        min-width: min(280px, calc(100vw - 32px));
    }

    .language-selector:hover .language-dropdown,
    .language-selector:focus-within .language-dropdown {
        transform: translate(50%, 0);
    }

    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .products-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer {
        padding-top: 42px;
    }

    .footer-logo-mark {
        font-size: 24px;
    }

    .footer-contact-list li {
        grid-template-columns: 34px 1fr;
        gap: 10px;
    }
    
    .search-input {
        font-size: 18px;
        padding: 20px 70px 20px 20px;
    }
    
    .search-submit {
        padding: 12px 25px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-title {
        font-size: 24px;
    }
    
    .slide-description {
        font-size: 16px;
    }
    
    .contact-form {
        padding: 25px;
    }
}

/* ========== UTILITIES ========== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
.p-4 { padding: 40px; }

/* ========== PAGE BANNER / BREADCRUMB ========== */
.page-banner {
    background: var(--gradient-1);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.compact-page-banner {
    padding: 34px 0;
}

.compact-page-banner h1 {
    margin-bottom: 8px;
}

.compact-page-banner p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.9;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .separator {
    opacity: 0.6;
}

/* ========== PRODUCT DETAIL ========== */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

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

.product-gallery {
    position: sticky;
    top: 150px;
}

.product-main-image {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.product-main-image img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: contain;
    padding: 28px;
    background: #fff;
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 10px;
}

.product-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    padding: 8px;
    border: 2px solid #eef2f7;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-thumb:hover,
.product-thumb.active {
    border-color: var(--primary-color);
    box-shadow: 0 8px 18px rgba(2, 104, 206, 0.14);
}

.product-thumb:hover {
    transform: translateY(-2px);
}

.product-thumb img {
    display: block;
    width: 100%;
    height: 92px;
    object-fit: contain;
}

.product-detail-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background: #f8f9fa;
    padding: 20px;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 500px;
}

.product-detail-info h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.product-detail-info .description {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.product-features,
.product-specs {
    margin-bottom: 30px;
}

.product-features h3,
.product-specs h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.product-features ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

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

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

.product-specs table td {
    padding: 10px 5px;
    font-size: 14px;
}

.product-specs table td:first-child {
    font-weight: 600;
    color: var(--text-color);
    width: 40%;
}

.product-specs table td:last-child {
    color: #666;
}

.btn-contact-product {
    display: inline-block;
    padding: 14px 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-contact-product:hover {
    background: #024a94;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2,104,206,0.3);
}

/* ========== SEARCH RESULTS ========== */
.search-results {
    padding: 40px 0;
}

.search-result-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.search-result-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.search-result-item img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.search-result-item h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.search-result-item h3 a {
    color: var(--text-color);
}

.search-result-item h3 a:hover {
    color: var(--primary-color);
}

.search-result-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ========== CONTACT PAGE ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
    gap: 42px;
    align-items: start;
}

.contact-overview h2 {
    font-size: 27px;
    line-height: 1.35;
    color: var(--text-color);
    margin: 8px 0 24px;
}

.contact-detail-list {
    display: grid;
    gap: 14px;
}

.contact-detail-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    align-items: start;
    padding: 20px;
    border: 1px solid #e4edf7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.contact-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: rgba(2, 104, 206, 0.1);
    color: var(--primary-color);
    font-size: 18px;
}

.contact-detail-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #172033;
}

.contact-detail-card p {
    color: #5f6f82;
    line-height: 1.65;
}

.contact-form-title {
    font-size: 27px;
    margin-bottom: 24px;
    color: var(--text-color);
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 22px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-info-item span,
.contact-info-item a {
    color: #666;
    font-size: 14px;
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(37,211,102,0.3);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

/* ========== SEARCH PAGE ========== */
.search-page-section {
    background: #fff;
}

.search-page-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto 36px;
    padding: 10px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.search-page-form input {
    min-width: 0;
    border: 0;
    outline: none;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 16px;
    color: var(--text-color);
}

.search-page-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    padding: 12px 22px;
    background: var(--primary-color);
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

.search-page-form button:hover {
    background: var(--primary-dark);
}

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

.search-result-card {
    display: grid;
    grid-template-rows: 210px 1fr;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid #e6edf5;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.search-result-card:hover {
    transform: translateY(-4px);
    border-color: rgba(2, 104, 206, 0.32);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
}

.search-result-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: #fff;
}

.search-result-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.search-result-media span {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(2, 104, 206, 0.94);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.search-result-body {
    padding: 20px;
    border-top: 1px solid #eef2f7;
}

.search-result-category {
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
}

.search-result-body h2 {
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 19px;
    line-height: 1.35;
}

.search-result-body p {
    margin-bottom: 14px;
    color: #5f6f82;
    font-size: 14px;
    line-height: 1.65;
}

.search-result-body strong {
    color: var(--primary-color);
    font-size: 14px;
}

.search-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 54px 24px;
    border: 1px solid #e6edf5;
    border-radius: 10px;
    background: #f8fafc;
    text-align: center;
}

.search-empty > i {
    display: block;
    margin-bottom: 18px;
    color: #b7c4d6;
    font-size: 58px;
}

.search-empty h3 {
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 24px;
}

.search-empty p {
    margin-bottom: 18px;
    color: #64748b;
}

.search-empty .btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.search-empty .btn-primary:hover {
    background: var(--primary-dark);
}

/* ========== 404 PAGE ========== */
.error-404 {
    text-align: center;
    padding: 100px 0;
}

.error-404 h1 {
    font-size: 120px;
    color: var(--primary-color);
    font-weight: 900;
    line-height: 1;
}

.error-404 h2 {
    font-size: 28px;
    margin: 20px 0;
    color: var(--text-color);
}

.error-404 p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

/* ========== RESPONSIVE additions ========== */
@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .page-banner h1 {
        font-size: 28px;
    }

    .search-page-form {
        grid-template-columns: 1fr;
        padding: 8px;
    }

    .search-page-form button {
        width: 100%;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
    }
    
    .search-result-item {
        flex-direction: column;
    }
    
    .search-result-item img {
        width: 100%;
        height: 180px;
    }
}

/* ========== DYNAMIC PAGE CONTENT ========== */
.page-detail-shell {
    max-width: 1040px;
    margin: 0 auto;
}

.page-detail-shell .page-hero-image {
    margin-bottom: 30px;
    text-align: center;
}

.page-detail-shell .page-hero-image img {
    width: auto;
    max-width: min(100%, 820px);
    display: block;
    border-radius: 8px;
    background: #fff;
    margin: 0 auto;
}

.page-detail-shell .page-hero-image img {
    max-height: 520px;
    object-fit: contain;
}

.page-detail-shell .page-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 35px;
}

.page-detail-shell .page-gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    background: #f6f7f9;
    object-fit: contain;
}

.page-detail-shell .page-text {
    max-width: 900px;
    margin: 0 auto;
}

.page-detail-shell.pdf-page {
    max-width: 1280px;
}

.page-detail-shell.pdf-page .page-text {
    max-width: none;
}

.page-detail-shell .page-text h3 {
    margin: 30px 0 12px;
    color: var(--primary-color);
    font-size: 24px;
}

.page-detail-shell .page-text p {
    margin-bottom: 16px;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.8;
}

.page-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 35px;
}

.page-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 74px;
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--dark-color);
    text-decoration: none;
    background: #fff;
    transition: all 0.25s;
}

.page-link-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.page-link-card i {
    color: var(--primary-color);
    font-size: 22px;
}

/* ========== RICH CONTENT ========== */
.page-detail-section {
    background:
        linear-gradient(180deg, #f8fafc 0%, #ffffff 34%, #ffffff 100%);
    padding: 44px 0 64px;
}

.corporate-page-shell {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5edf6;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.07);
    padding: 38px 42px;
}

.corporate-page-shell.pdf-page {
    max-width: 1220px;
    padding: 28px;
}

.page-hero-image {
    margin: 0 0 30px;
    background: #fff;
    border: 1px solid #e5edf6;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.page-hero-image img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
}

.page-hero-image-dual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.page-hero-image-dual img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    max-height: 420px;
    object-fit: contain;
}

.corporate-rich-content {
    color: #334155;
    font-size: 16px;
    line-height: 1.82;
}

.corporate-rich-content > *:first-child {
    margin-top: 0;
}

.corporate-rich-content > *:last-child {
    margin-bottom: 0;
}

.corporate-rich-content h2,
.corporate-rich-content h3,
.corporate-rich-content h4 {
    color: #152238;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 30px 0 14px;
}

.corporate-rich-content h2 {
    font-size: 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8eef5;
}

.corporate-rich-content h3 {
    font-size: 22px;
}

.corporate-rich-content h4 {
    font-size: 18px;
}

.corporate-rich-content p {
    margin-bottom: 16px;
}

.corporate-rich-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 4px solid var(--primary-color);
    background: #f6f9fc;
    color: #334155;
    border-radius: 0 8px 8px 0;
}

.corporate-rich-content ul,
.corporate-rich-content ol {
    margin: 16px 0 20px;
    padding-left: 0;
    list-style: none;
}

.corporate-rich-content li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 28px;
}

.corporate-rich-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 109, 204, .1);
}

.corporate-rich-content ol {
    counter-reset: page-ol;
}

.corporate-rich-content ol li {
    counter-increment: page-ol;
}

.corporate-rich-content ol li::before {
    content: counter(page-ol);
    position: absolute;
    left: 0;
    top: .25em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.corporate-rich-content img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 22px auto;
    background: #fff;
    border: 1px solid #e5edf6;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.corporate-rich-content table {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 0 1px #e2e8f0;
}

.corporate-rich-content th {
    background: #f1f6fb;
    color: #152238;
    font-weight: 800;
}

.corporate-rich-content td,
.corporate-rich-content th {
    padding: 13px 14px;
}

.corporate-rich-content a {
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.rich-content p,
.page-detail-shell .page-text p {
    margin-bottom: 14px;
}

.rich-content ul,
.rich-content ol {
    margin: 0 0 16px 22px;
    padding: 0;
}

.rich-content li {
    margin-bottom: 6px;
}

.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.rich-content th,
.rich-content td {
    border: 1px solid #e2e8f0;
    padding: 10px;
    text-align: left;
}

.rich-content a {
    color: var(--primary-color);
}

.rich-content .video-embed,
.rich-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 18px 0;
}

.rich-content iframe {
    display: block;
    border: 0;
    border-radius: 8px;
    background: #111827;
}

.rich-content .video-embed iframe {
    height: 100%;
}

.pdf-embed,
.rich-content .pdf-embed {
    width: 100%;
    margin: 22px 0;
}

.pdf-embed iframe,
.rich-content .pdf-embed iframe {
    display: block;
    width: 100%;
    height: min(1050px, calc(100vh - 120px));
    min-height: 820px;
    aspect-ratio: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.rich-content .pdf-embed p {
    margin-top: 12px;
}

@media (max-width: 768px) {
    .page-hero {
        height: 105px;
    }

    .corporate-page-hero {
        height: auto;
        min-height: 150px;
    }

    .corporate-page-hero .slide-background {
        padding: 24px 0;
    }

    .corporate-page-hero .slide-content {
        padding: 0 16px;
    }

    .corporate-page-hero .slide-title,
    .page-hero .slide-title {
        font-size: 26px;
    }

    .corporate-page-hero .slide-description {
        font-size: 14px;
    }

    .corporate-breadcrumb {
        font-size: 12px;
    }

    .page-detail-section {
        padding: 26px 0 42px;
    }

    .corporate-page-shell,
    .corporate-page-shell.pdf-page {
        padding: 22px 18px;
        border-radius: 8px;
    }

    .corporate-rich-content {
        font-size: 15px;
        line-height: 1.72;
    }

    .corporate-rich-content h2 {
        font-size: 23px;
    }

    .corporate-rich-content h3 {
        font-size: 19px;
    }

    .page-hero-image {
        padding: 10px;
        margin-bottom: 22px;
    }

    .page-hero-image-dual {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .page-hero-image-dual img {
        min-height: 180px;
        max-height: 320px;
    }

    .home-image-slider {
        height: var(--home-slider-height, 280px);
    }

    .home-image-slider .slide-background::before {
        background: rgba(2, 21, 43, 0.62);
    }

    .home-image-slider .slide-content {
        text-align: center;
        padding: 0 16px;
    }

    .home-image-slider .slide-title {
        font-size: 32px;
    }

    .home-image-slider .slide-description {
        font-size: 16px;
    }

    .product-page-hero {
        height: 100px;
    }

    .product-page-hero .slide-title {
        font-size: 25px;
    }

    .product-page-hero .slide-description {
        font-size: 14px;
    }

    .compact-page-hero {
        height: 85px;
    }

    .compact-page-hero .slide-title {
        font-size: 28px !important;
    }

    .pdf-embed iframe,
    .rich-content .pdf-embed iframe {
        height: 72vh;
        min-height: 560px;
    }
}

@media (max-width: 992px) {
    .trust-grid,
    .home-products-section .products-grid,
    .capabilities-grid,
    .home-categories-section .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(n+3) {
        border-top: 1px solid #edf2f7;
    }

    .home-references-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .home-image-slider {
        height: 260px !important;
    }

    .compact-home-slider .slide-content {
        padding: 8px 0 22px;
    }

    .compact-home-slider .slide-title {
        font-size: 28px;
    }

    .compact-home-slider .slide-description {
        font-size: 14px;
    }

    .home-trust-strip {
        box-shadow: none;
    }

    .trust-grid,
    .home-products-section .products-grid,
    .capabilities-grid,
    .home-categories-section .categories-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        min-height: auto;
        padding: 18px 0;
        border-right: 0;
        border-top: 1px solid #edf2f7;
    }

    .trust-item:first-child {
        border-top: 0;
    }

    .home-products-section,
    .home-capabilities-section,
    .home-categories-section,
    .home-references-section {
        padding: 46px 0;
    }

    .home-products-section .product-image {
        height: 220px;
    }

    .capability-card {
        min-height: 0;
        padding: 24px;
    }

    .home-references-copy {
        text-align: center;
    }

    .home-references-copy .section-description {
        margin: 0 auto 18px;
    }

    .home-reference-preview {
        padding: 16px;
    }
}

@media (max-width: 576px) {
    .home-image-slider {
        height: 240px !important;
    }

    .compact-home-slider .slide-title {
        font-size: 24px;
    }

    .slider-dots {
        bottom: 12px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

/* ========== HOME CORPORATE LAYER ========== */
.compact-home-slider .slide-subtitle {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 10px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
    font-size: 11px;
    letter-spacing: 1.7px;
    backdrop-filter: blur(6px);
}

.compact-home-slider .slide-title {
    font-size: 32px;
    line-height: 1.08;
    margin-bottom: 8px;
}

.compact-home-slider .slide-description {
    max-width: 640px;
    font-size: 15px;
    line-height: 1.42;
}

.home-hero-feature {
    display: inline-grid;
    gap: 2px;
    margin-top: 10px;
    padding: 8px 12px;
    border-left: 3px solid #fff;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-align: left;
    backdrop-filter: blur(6px);
}

.home-hero-feature span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: 0.84;
}

.home-hero-feature strong {
    font-size: 14px;
    line-height: 1.35;
}

.home-about-section {
    background: #fff;
    padding: 54px 0 34px;
}

.home-about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 40px;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #e8eef6;
}

.home-about-copy {
    max-width: 760px;
}

.home-about-copy .section-title,
.home-machine-head .section-title {
    margin-bottom: 12px;
}

.home-about-copy p {
    color: #5f6f82;
    font-size: 15px;
    line-height: 1.85;
}

.home-about-points {
    display: grid;
    gap: 12px;
}

.home-about-point {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid #e5edf6;
    border-radius: 8px;
    background: #f8fbff;
    color: #172033;
    font-weight: 700;
}

.home-about-point i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    flex: 0 0 26px;
}

.home-why-section {
    background: #f7fafc;
    border-bottom: 1px solid #edf2f7;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.why-card {
    min-height: 234px;
    padding: 24px 20px;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #eef6ff;
    color: var(--primary-color);
    font-size: 17px;
}

.why-card h3 {
    color: #172033;
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 9px;
}

.why-card p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}

.home-process-section {
    background: #fff;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid #e7edf5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.process-step {
    position: relative;
    min-height: 210px;
    padding: 28px 24px;
    border-right: 1px solid #e7edf5;
}

.process-step:last-child {
    border-right: 0;
}

.process-number {
    display: block;
    margin-bottom: 22px;
    color: rgba(2, 104, 206, 0.16);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.process-step h3 {
    color: #172033;
    font-size: 17px;
    margin-bottom: 8px;
}

.process-step p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}

.home-machine-section {
    background: var(--machine-bg);
}

.home-machine-head {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1fr);
    gap: 36px;
    align-items: end;
    margin-bottom: 28px;
}

.home-machine-head .section-description {
    margin: 0;
    text-align: left;
}

.machine-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.machine-card {
    position: relative;
    display: block;
    min-height: 230px;
    overflow: hidden;
    border-radius: var(--card-radius);
    background: #0f172a;
    border: 1px solid #dfe8f2;
    box-shadow: var(--card-shadow);
}

.machine-card img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    filter: saturate(0.86) contrast(1.02);
    transition: transform 0.35s ease;
}

.machine-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.68));
}

.machine-card span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.machine-card:hover img {
    transform: scale(1.04);
}

.home-references-section {
    background: var(--references-bg);
}

.home-reference-preview {
    overflow: hidden;
}

.home-reference-preview img {
    filter: saturate(0.78) contrast(1.04);
}

.home-reference-preview:hover img {
    filter: saturate(1) contrast(1.04);
}

.home-soft-contact {
    padding: 0 0 58px;
    background: var(--references-bg);
}

.soft-contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 28px 30px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--card-radius);
    background: var(--gradient-1);
    color: #fff;
    box-shadow: var(--card-shadow);
}

.soft-contact-card h2 {
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 1.35;
    color: #fff;
}

.soft-contact-card p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}

.soft-contact-links {
    display: grid;
    gap: 10px;
    min-width: 250px;
}

.soft-contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 700;
}

.soft-contact-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

@media (max-width: 992px) {
    .why-grid,
    .process-grid,
    .machine-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-step:nth-child(2) {
        border-right: 0;
    }

    .process-step:nth-child(n+3) {
        border-top: 1px solid #e7edf5;
    }

    .home-about-layout,
    .home-machine-head,
    .soft-contact-card {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .home-image-slider {
        height: 300px !important;
    }

    .compact-home-slider .slide-subtitle {
        font-size: 10px;
        letter-spacing: 1.1px;
    }

    .compact-home-slider .slide-title {
        font-size: 24px;
        line-height: 1.12;
        margin-bottom: 8px;
    }

    .compact-home-slider .slide-description {
        font-size: 13px;
        line-height: 1.38;
    }

    .home-hero-feature {
        display: none;
    }

    .home-hero-feature strong {
        font-size: 13px;
    }

    .home-about-section {
        padding: 42px 0 24px;
    }

    .home-about-layout {
        gap: 24px;
    }

    .why-grid,
    .process-grid,
    .machine-grid {
        grid-template-columns: 1fr;
    }

    .why-card,
    .process-step {
        min-height: 0;
    }

    .process-step,
    .process-step:nth-child(2) {
        border-right: 0;
        border-top: 1px solid #e7edf5;
    }

    .process-step:first-child {
        border-top: 0;
    }

    .machine-card img {
        height: 220px;
    }

    .soft-contact-card {
        padding: 24px;
        text-align: center;
    }

    .soft-contact-links {
        min-width: 0;
    }

    .reference-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-category-badge {
        white-space: normal;
    }
}
/* Technical request wizard */
.technical-request-hero {
    background: linear-gradient(135deg, var(--primary-color, #0268ce), #074c93);
    color: #fff;
    padding: 54px 0 46px;
}

.technical-request-hero .corporate-breadcrumb,
.technical-request-hero .corporate-breadcrumb a {
    color: rgba(255,255,255,.86);
}

.technical-request-hero h1 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    margin: 18px 0 12px;
}

.technical-request-hero p {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255,255,255,.9);
}

.technical-request-section {
    background: #f6f8fb;
}

.technical-request-form {
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 16px 35px rgba(15, 42, 71, .08);
}

.request-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 20px;
}

.request-panel {
    border: 1px solid #e3ebf5;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
}

.request-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #1f2d3d;
    margin-bottom: 18px;
}

.request-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.request-form-grid label {
    display: grid;
    gap: 7px;
    font-weight: 600;
    color: #26384d;
    font-size: 14px;
}

.request-form-grid small {
    color: #0268ce;
    font-weight: 700;
}

.request-form-grid input,
.request-form-grid select,
.request-form-grid textarea {
    width: 100%;
    border: 1px solid #d7e1ec;
    border-radius: 7px;
    padding: 11px 12px;
    font: inherit;
    color: #1f2d3d;
    background: #fff;
}

.request-form-grid textarea {
    resize: vertical;
}

.request-wide {
    grid-column: 1 / -1;
}

.request-check {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
}

.request-check input {
    width: auto;
}

.selected-product-box {
    background: #f1f7ff;
    border: 1px solid #cfe2fb;
    border-radius: 8px;
    padding: 13px 14px;
    margin-bottom: 16px;
}

.selected-product-box span {
    display: block;
    color: #5c718a;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.selected-product-box strong {
    display: block;
    margin-top: 4px;
    color: #0a4f96;
}

.request-submit-row {
    border-top: 1px solid #e3ebf5;
    margin-top: 22px;
    padding-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.technical-alert {
    margin-bottom: 18px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

@media (max-width: 900px) {
    .request-grid,
    .request-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 993px) {
    .logo-text,
    .nav-menu > li > a,
    .nav-menu .dropdown a {
        transform: none !important;
        transform-origin: initial !important;
    }
}
