﻿/* ========================================
   SANYUAN International Trade - Stylesheet
   Clean Business Style
   ======================================== */

/* CSS Variables */
:root {
    --primary: #1a5f7a;
    --primary-dark: #134b61;
    --primary-light: #2d8faf;
    --secondary: #57c5b6;
    --accent: #159895;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --gray-900: #1f2937;
    --gray-800: #374151;
    --gray-700: #4b5563;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #d1d5db;
    --gray-300: #e5e7eb;
    --gray-200: #f3f4f6;
    --gray-100: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Identity Banner - Tony Lee Sales Site - Enhanced */
.identity-banner {
    background: linear-gradient(90deg, #1a5f7a 0%, #159895 50%, #1a5f7a 100%);
    background-size: 200% 100%;
    animation: bannerShine 8s ease-in-out infinite;
    color: #ffffff;
    padding: 0.75rem 0;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    border-bottom: 3px solid #FFD700;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

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

.identity-banner p {
    margin: 0;
}

.identity-banner strong {
    color: #FFD700;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.identity-banner .banner-highlight {
    color: #ffffff;
    font-weight: 700;
}

.identity-banner p {
    margin: 0;
}

.identity-banner strong {
    color: #FFD700;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.logo-subtitle {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav {
    display: none;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-link:last-child {
        border-bottom: none;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    margin-top: 108px;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 36px;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 36px;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(26, 31, 46, 0.85), rgba(26, 31, 46, 0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
    padding: 2rem 0;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease 0.2s forwards;
}

/* Hero Navigation */
.hero-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 10;
}

@media (min-width: 768px) {
    .hero-nav {
        padding: 0 2rem;
    }
}

.hero-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

/* ========================================
   Section Styles
   ======================================== */
.section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 7rem 0;
    }
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-desc {
    color: var(--gray-600);
    font-size: 1.0625rem;
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.about-text {
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
}

.about-features {
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    color: var(--gray-700);
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 1rem;
}

.link-arrow:hover {
    gap: 0.75rem;
}

.link-arrow span {
    transition: var(--transition);
}

/* ========================================
   Products Section
   ======================================== */
.products-section {
    background: var(--gray-100);
}

.products-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.products-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Products Full Section */
.products-full-section {
    background: var(--gray-100);
}

.products-catalog {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .products-catalog {
        grid-template-columns: repeat(2, 1fr);
    }
}

.catalog-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.catalog-item:hover {
    box-shadow: var(--shadow-lg);
}

.catalog-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.catalog-overlay {
    position: absolute;
    top: 36px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 95, 122, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.catalog-item:hover .catalog-overlay {
    opacity: 1;
}

.catalog-item:hover .catalog-image img {
    transform: scale(1.05);
}

/* Product Gallery */
.product-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 8px;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    z-index: 2;
}

.gallery-thumbs img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.gallery-thumbs img:hover {
    border-color: var(--primary);
    transform: scale(1.1);
}

.product-mesh-sizes {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.product-mesh-sizes strong {
    display: block;
    color: var(--gray-800);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.mesh-tag {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.product-placeholder {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: var(--gray-500);
}

.placeholder-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.placeholder-text {
    font-size: 1rem;
    font-weight: 500;
}

.catalog-info {
    padding: 1.5rem;
}

.catalog-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.catalog-desc {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.catalog-list {
    list-style: disc;
    padding-left: 1.25rem;
}

.catalog-list li {
    color: var(--gray-700);
    font-size: 0.9375rem;
    margin-bottom: 0.375rem;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    background: var(--primary);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 3rem;
    }
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: var(--primary);
    padding: 5rem 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

.cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* ========================================
   Mission Section
   ======================================== */
.mission-section {
    background: var(--gray-100);
}

.mission-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mission-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mission-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--primary);
}

.mission-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.mission-text {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ========================================
   Why Section
   ======================================== */
.why-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.why-card {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.why-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.why-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.why-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.why-text {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    background: var(--gray-100);
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-desc {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-items {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-weight: 500;
    color: var(--gray-800);
}

.contact-value:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .contact-form-wrapper {
        padding: 3rem;
    }
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map Section */
.map-section {
    height: 300px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: var(--gray-500);
}

.map-content svg {
    margin: 0 auto 1rem;
}

/* ========================================
   Page Hero
   ======================================== */
.page-hero {
    position: relative;
    height: 350px;
    background: var(--primary);
    display: flex;
    align-items: center;
    margin-top: 108px;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3rem;
    }
}

.page-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo .logo-text {
    color: var(--white);
    font-size: 1.75rem;
}

.footer-desc {
    color: var(--gray-400);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: var(--gray-400);
    font-size: 0.9375rem;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--gray-400);
    font-size: 0.9375rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ========================================
   Partners Section
   ======================================== */
.partners-section {
    background: var(--gray-100);
}

.partners-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.partner-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-card.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.partner-card.highlight .partner-icon {
    color: rgba(255, 255, 255, 0.9);
}

.partner-card.highlight .partner-text {
    color: rgba(255, 255, 255, 0.85);
}

.partner-icon {
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.partner-region {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.partner-text {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ========================================
   Client Showcase
   ======================================== */
.client-showcase {
    background: var(--white);
}

.client-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.client-images img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-images img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (min-width: 768px) {
    .client-images {
        gap: 3rem;
    }
}

/* ========================================
   Certifications Page
   ======================================== */
.certifications-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .certifications-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cert-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.cert-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cert-card:hover .cert-logo img {
    transform: scale(1.1);
}

/* Certification Showcase - Big Images */
.cert-showcase {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.cert-showcase-item {
    flex: 1;
    min-width: 200px;
    max-width: 350px;
}

.cert-showcase-item img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-showcase-item img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .cert-showcase {
        flex-direction: column;
        gap: 1.5rem;
    }
    .cert-showcase-item {
        max-width: 100%;
    }
}

/* ========================================
   Video Section
   ======================================== */
.video-section {
    background: var(--gray-100);
}

.video-wrapper {
    max-width: 900px;
    margin: 2rem auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper video {
    width: 100%;
    display: block;
    background: #000;
}

.cert-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.cert-fullname {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.cert-desc {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Quality Section */
.quality-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .quality-content {
        grid-template-columns: 1fr 1fr;
    }
}

.quality-text p {
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.quality-list {
    list-style: none;
    padding: 0;
}

.quality-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.quality-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 36px.5rem;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.quality-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.quality-image img {
    width: 100%;
    height: auto;
}

/* Capacity Section */
.capacity-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .capacity-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.capacity-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.capacity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.capacity-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--primary);
}

.capacity-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.capacity-unit {
    font-size: 1rem;
    color: var(--gray-500);
    margin: 0.5rem 0;
}

.capacity-desc {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

/* R&D Section */
.rd-section {
    background: var(--gray-100);
}

.rd-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.rd-stat {
    display: flex;
    flex-direction: column;
}

.rd-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.rd-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Market Section */
.market-section {
    background: var(--gray-100);
}

.market-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.market-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.market-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 36px.5rem;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* Applications Section */
.applications-section {
    background: var(--gray-100);
}

.applications-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .applications-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.application-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.application-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    color: var(--primary);
}

.application-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.application-desc {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Partnership Section */
.why-partner-section {
    background: var(--gray-100);
}

.partnership-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .partnership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .partnership-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.partnership-item {
    text-align: center;
}

.partnership-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    color: var(--primary);
}

.partnership-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.partnership-item p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Catalog Specs */
.catalog-specs {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.spec-tag {
    display: inline-block;
    background: var(--gray-100);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
}

/* Form Select */
.form-group select {
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    transition: var(--transition);
    font-family: inherit;
    background: var(--white);
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

/* Footer logo subtitle */
.footer-logo .logo-subtitle {
    display: block;
    font-size: 0.625rem;
    color: var(--gray-400);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ========================================
   Language Switcher
   ======================================== */
.lang-switcher {
    position: fixed;
    top: 116px;
    right: 20px;
    z-index: 1001;
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

@media (min-width: 768px) {
    .lang-switcher { top: 56px;
        right: 20px;
    }
}

.lang-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--gray-100);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* Product Latin Name */
.product-latin {
    font-size: 0.75em;
    color: var(--gray-500);
    font-style: italic;
}

/* Image placeholder styles */
.product-image img,
.catalog-image img,
.about-image img {
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
}

/* WhatsApp Section */
.whatsapp-icon svg {
    color: #25D366;
}

.whatsapp-qr-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: var(--radius);
    text-align: center;
}

.whatsapp-qr-section h4 {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

.whatsapp-qr {
    max-width: 150px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
/* Footer Contact Bar */
.footer-contact-bar {
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

.footer-contact-bar p {
    margin: 0;
}

.footer-contact-bar strong {
    color: var(--secondary);
}

/* Video Play Button Overlay */
.video-wrapper {
    position: relative;
    background: #000;
}

.video-wrapper video::-webkit-media-controls {
    display: flex !important;
}

========================================
   Certification Gallery
   ======================================== */
.cert-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.cert-gallery-item {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.cert-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.cert-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center top;
}

.cert-gallery-item .cert-label {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--gray-800);
    background: var(--gray-100);
}

@media (max-width: 640px) {
    .cert-gallery {
        grid-template-columns: 1fr;
    }
    
    .cert-gallery-item img {
        height: 180px;
    }
}

========================================
   Certification Thumbnails (Homepage)
   ======================================== */
.cert-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.cert-thumb {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.cert-thumb:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cert-thumb img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    background: var(--gray-100);
    padding: 0.5rem;
}

.cert-thumb span {
    display: block;
    padding: 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
}

@media (max-width: 640px) {
    .cert-thumb-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.75rem;
    }
    
    .cert-thumb img {
        height: 100px;
    }
    
    .cert-thumb span {
        font-size: 0.75rem;
        padding: 0.5rem;
    }
}



/* Video Section */
.video-section {
    background: var(--gray-100);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--dark);
}

.video-container video {
    width: 100%;
    display: block;
}

