/* PrecisionTest - B2B Industrial Premium Styles */
:root {
    /* Brand Colors */
    --primary: #c85a3a;
    --primary-dark: #a6472e;
    --primary-light: #e0704d;
    --dark: #2c2c2c;
    --dark-light: #3a3a3a;
    --light: #f8f8f8;
    --lighter: #f2f2f2;
    --white: #ffffff;
    
    /* Text Colors */
    --text-dark: #2c2c2c;
    --text-muted: #5a5a5a;
    --text-light: #888888;
    
    /* Borders & Accents */
    --border: #e0e0e0;
    --border-light: #eeeeee;
    --success: #27ae60;
    --warning: #f39c12;
    --error: #e74c3c;
    
    /* Effects */
    --transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.4s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    
    /* Typography */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;
    --font-size-4xl: 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    font-size: var(--font-size-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: var(--font-size-sm);
    text-align: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    height: 48px;
    line-height: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-dark {
    background-color: var(--dark);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
    background-color: var(--dark-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.btn-dark:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.btn-outline:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--light);
    color: var(--text-dark);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--lighter);
    border-color: var(--text-muted);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.btn-ghost {
    background-color: transparent;
    color: var(--primary);
    border: none;
}

.btn-ghost:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.line-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    border: 1.5px solid #00b900;
    background-color: var(--white);
    color: #00b900;
    border-radius: 4px;
    transition: var(--transition);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
}

.line-btn:hover {
    background-color: #00b900;
    color: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.line-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* Header */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-light);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
    padding: 4px 0;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.8px;
    line-height: 1.1;
    transition: var(--transition);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1px;
}

.logo-accent {
    color: var(--primary);
    font-weight: 900;
}

.logo:hover .logo-text {
    color: var(--primary);
}

.logo:hover .logo-accent {
    color: var(--primary-dark);
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 40px;
    flex: 1;
}

.nav-links a {
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    position: relative;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.header-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--dark) 0%, rgba(44, 44, 44, 0.95) 100%);
    color: var(--white);
    padding: 80px 0 40px;
    margin-top: var(--spacing-2xl);
    border-top: 1px solid rgba(200, 90, 58, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: var(--font-size-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.6);
}

/* Floating LINE Button */
.floating-line {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-line img {
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.floating-line img:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 40%, var(--primary) 100%);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(200, 90, 58, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(200, 90, 58, 0.1) 0%, transparent 60%),
        linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 40%, var(--primary) 100%);
    border-bottom: 1px solid rgba(200, 90, 58, 0.3);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(255,255,255,0.02) 1px, rgba(255,255,255,0.02) 2px),
        repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(255,255,255,0.02) 1px, rgba(255,255,255,0.02) 2px);
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    font-weight: 700;
}

.hero p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 1;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    transform: translateY(-6px);
}

.product-card:hover::before {
    opacity: 1;
}

.product-img {
    height: 240px;
    background: linear-gradient(135deg, var(--lighter) 0%, var(--light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 10px;
    height: auto;
    overflow: hidden;
}

.product-info .model {
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 10px;
    display: block;
}

.product-info .desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ====== PAGE LAYOUT CLASSES ====== */

/* Sections */
.section-lg { padding: 80px 0; }
.section-md { padding: 60px 0; }
.section-bg { background-color: var(--light); }
.section-dark { padding: 80px 0; background: var(--dark); color: var(--white); text-align: center; }
.section-bordered { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Typography utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--white); }
.text-primary { color: var(--primary); }
.text-dark { color: var(--dark); }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 18px; }
.text-body { font-size: 16px; line-height: 1.8; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Spacing utilities */
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }
.mt-15 { margin-top: 15px; }
.mt-24 { margin-top: 24px; }
.mt-50 { margin-top: 50px; }

/* Flex & Grid utilities */
.flex { display: flex; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.gap-15 { gap: 15px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.gap-32 { gap: 32px; }
.gap-40 { gap: 40px; }
.gap-60 { gap: 60px; }
.grid { display: grid; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto-fit { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-auto-fit-sm { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.items-center { align-items: center; }

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
}
.stat-item {
    padding: 36px 24px;
    text-align: center;
    border-right: 1px solid var(--border-light);
}
.stat-item:last-child { border-right: none; }
.stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.stat-desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* Customer Logos */
.customer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.customer-logo {
    height: 165px;
    width: auto;
    max-width: 351px;
    object-fit: contain;
    background: white;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Number Badge (circle with number/initials) */
.num-badge {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Icon label (like ISO, IEC, RoHS codes) */
.icon-label {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Card with border */
.cert-card {
    text-align: center;
    border: 2px solid var(--border);
    padding: 30px;
    border-radius: 8px;
}

/* Feature item with left border */
.feature-item {
    border-left: 4px solid var(--primary);
    padding-left: 30px;
}
.feature-item h3 { color: var(--primary); margin-bottom: 10px; }
.feature-item p { color: var(--text-muted); }

/* Support card */
.support-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

/* Why-Choose panel */
.promo-panel {
    background: linear-gradient(135deg, rgba(200, 90, 58, 0.06), rgba(44, 44, 44, 0.04));
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border);
}
.promo-monogram {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 12px;
}

/* CTA section */
.cta-section { padding: 80px 0; background: var(--dark); color: var(--white); text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 20px; }
.cta-section p { font-size: 18px; margin-bottom: 40px; color: #ccc; }
.btn-outline-white { border-color: white; color: white; }

/* Bullet list */
.check-list { list-style: none; padding: 0; margin-bottom: 35px; }
.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.check-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    display: block;
    margin-top: 8px;
    flex-shrink: 0;
}

/* Contact form label */
.form-label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px;
}
.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 15px;
}
.form-group { margin-bottom: 25px; }

/* Enterprise support card label */
.support-label {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Direct contact box */
.contact-box {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(227, 6, 19, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
}

/* Footer description text */
.footer-desc {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
}
.footer-small {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

/* Text transform */
.text-uppercase { text-transform: uppercase; }

/* ====== RESPONSIVE: Stats bar ====== */
@media (max-width: 768px) {
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(1),
    .stat-item:nth-child(2) { border-bottom: 1px solid var(--border-light); }
    .customer-logo { height: 100px; }
    .promo-panel { padding: 40px 24px; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .stats-bar { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border-light); }
    .stat-item:last-child { border-bottom: none; }
    .customer-logo { height: 80px; }
    .grid-4 { grid-template-columns: 1fr; }
}

/* ====== UTILITY CLASSES ====== */

.section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ====== RESPONSIVE DESIGN ====== */

/* Tablet - 768px and below */
@media (max-width: 768px) {
    :root {
        --font-size-4xl: 32px;
        --font-size-3xl: 28px;
        --font-size-2xl: 22px;
        --font-size-xl: 18px;
    }

    /* Force inline 2-column grids to stack on tablet */
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    .logo-text {
        font-size: 18px;
    }

    .container {
        padding: 0 16px;
    }

    header {
        padding: 12px 0;
    }

    .nav-links {
        display: none;
    }

    .nav-wrapper {
        gap: 12px;
    }

    .header-cta {
        gap: 8px;
    }

    .btn {
        padding: 10px 20px;
        font-size: var(--font-size-xs);
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: var(--font-size-3xl);
    }

    .hero p {
        font-size: var(--font-size-base);
        margin-bottom: 24px;
    }

    .hero-btns {
        flex-direction: column;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .product-img {
        height: 180px;
    }

    footer {
        padding: 60px 0 30px;
    }

    .footer-grid {
        gap: 30px;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
    :root {
        --font-size-4xl: 28px;
        --font-size-3xl: 24px;
        --font-size-2xl: 20px;
        --font-size-lg: 16px;
        --spacing-xl: 24px;
        --spacing-2xl: 32px;
    }

    .logo-text {
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }

    header {
        padding: 10px 0;
    }

    .nav-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        height: 50px;
    }

    .header-cta {
        width: auto;
        gap: 6px;
    }

    .line-btn {
        display: none;
    }

    .btn {
        padding: 10px 16px;
        font-size: var(--font-size-xs);
        letter-spacing: 0.05em;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: var(--font-size-2xl);
        margin-bottom: 16px;
    }

    .hero p {
        font-size: var(--font-size-sm);
        margin-bottom: 20px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 8px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-img {
        height: 150px;
    }

    .product-info {
        padding: var(--spacing-md);
    }

    .product-title {
        font-size: var(--font-size-base);
    }

    footer {
        padding: 40px 0 24px;
        margin-top: var(--spacing-xl);
    }

    .footer-grid {
        gap: 20px;
    }

    .footer-col h4 {
        font-size: var(--font-size-base);
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: var(--font-size-xs);
    }

    .floating-line {
        bottom: 16px;
        right: 16px;
    }

    .floating-line img {
        height: 36px;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .section-subtitle {
        font-size: var(--font-size-sm);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .floating-line {
        bottom: 15px;
        right: 15px;
    }

    .floating-line img {
        height: 35px;
    }
}

/* Logo Responsive Styles */
.logo img {
    transition: var(--transition);
    filter: brightness(1);
}

.logo:hover img {
    filter: brightness(1.1);
}

/* Responsive Logo */
@media (max-width: 768px) {
    .logo img {
        height: 42px !important;
        max-width: 140px !important;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 30px !important;
        max-width: 120px !important;
    }
}

/* ====== HAMBURGER BUTTON ====== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
}

/* ====== MOBILE NAV DRAWER ====== */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
}

.mobile-overlay.active {
    display: block;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100%;
    background: var(--white);
    z-index: 1000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-logo {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.mobile-nav-logo span {
    color: var(--primary);
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    line-height: 1;
    transition: color var(--transition);
}

.mobile-nav-close:hover {
    color: var(--dark);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mobile-nav-links a {
    display: block;
    padding: 14px 12px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-left: 3px solid transparent;
    border-radius: 0 4px 4px 0;
    transition: var(--transition);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--primary);
    background: rgba(200, 90, 58, 0.06);
    border-left-color: var(--primary);
    padding-left: 16px;
}

.mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    margin-top: 12px;
}

.mobile-nav-footer .btn,
.mobile-nav-footer .line-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
}

/* On mobile, hide the LINE btn from header but show in mobile nav */
@media (max-width: 480px) {
    .mobile-nav-footer .line-btn {
        display: flex !important;
    }
}
