/* =====================================================
   Bright Look Services - Public Website Stylesheet
   Premium 2026 Modern Design System
   ===================================================== */

/* --- CSS Variables --- */
:root {
    --primary: #1E5EFF;
    --primary-dark: #0d4fdf;
    --primary-light: #e8eef8;
    --primary-glow: rgba(30,94,255,0.15);
    --secondary: #0B1020;
    --accent: #F58220;
    --accent-dark: #e06d10;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --gray-50: #f3f3f6;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.05);
    --shadow-xl: 0 24px 48px rgba(0,0,0,0.12);
    --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { width: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-800);
    background: #f0f0f3;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    min-height: 100dvh;
    min-height: 100vh;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* --- Accessibility --- */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    z-index: 10000;
    transition: top 0.2s;
}
.skip-nav:focus { top: 0; color: white; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* --- Scroll Animations --- */
.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll[data-delay="80"] { transition-delay: 0.08s; }
.animate-on-scroll[data-delay="160"] { transition-delay: 0.16s; }
.animate-on-scroll[data-delay="240"] { transition-delay: 0.24s; }
.animate-on-scroll[data-delay="320"] { transition-delay: 0.32s; }
.animate-on-scroll[data-delay="400"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="480"] { transition-delay: 0.48s; }
.fade-in { animation: fadeIn 0.6s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.slide-up { animation: slideUp 0.6s ease forwards; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .animate-on-scroll { opacity: 1 !important; transform: none !important; }
    .hero-badge, .hero-title, .hero-sub, .hero-buttons, .hero-stats { animation: none !important; opacity: 1 !important; }
}

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 24px; }
.section-alt { background: var(--gray-50); }
.featured-section { background: var(--gray-50); }
.services-section { background: var(--white); }
.how-section { background: var(--gray-50); }
.testimonials-section { background: var(--white); }
.faq-section { background: var(--gray-50); }

/* --- Navigation --- */
.navbar { background: #ffffff; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease; }

/* Homepage: transparent navbar overlaying hero */
body.page-home .navbar { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
body.page-home .navbar.navbar-scrolled { background: #ffffff; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 4px 24px rgba(0,0,0,0.08); }

/* Hero pulls up behind transparent navbar */
body.page-home .hero-slider { margin-top: -68px; min-height: 100vh; min-height: 100dvh; }
body.page-home .hero-slider .slide, body.page-home .hero-slider .slide-bg { min-height: 100vh; min-height: 100dvh; }
body.page-home .hero-slider .slide-bg { padding-top: 68px; }
@media (max-width: 768px) {
    body.page-home .hero-slider { margin-top: -60px; min-height: 100vh; min-height: 100dvh; }
    body.page-home .hero-slider .slide, body.page-home .hero-slider .slide-bg { min-height: 100vh; min-height: 100dvh; }
    body.page-home .hero-slider .slide-bg { padding-top: 60px; }
}

/* Transparent nav: white text/elements over hero */
.navbar-transparent { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; }
.navbar-transparent .nav-brand-name { color: var(--white); }
.navbar-transparent .nav-links a { color: rgba(255,255,255,0.88); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.navbar-transparent .nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.15); }
.navbar-transparent .nav-links a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,0.18); }
.navbar-transparent .nav-caret { color: rgba(255,255,255,0.88); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.navbar-transparent .dark-mode-toggle { color: rgba(255,255,255,0.88); border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.navbar-transparent .dark-mode-toggle:hover { color: var(--white); background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }
.navbar-transparent .nav-account-trigger { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.88); }
.navbar-transparent .nav-account-trigger:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.45); color: var(--white); }
.navbar-transparent .nav-account-avatar { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); color: var(--white); width: 32px; height: 32px; font-size: 16px; }
.navbar-transparent .nav-account-trigger:hover .nav-account-avatar { background: rgba(255,255,255,0.3); border-color: rgba(255,255,255,0.6); }
.navbar-transparent .nav-account-name { color: rgba(255,255,255,0.88); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.navbar-transparent .nav-account-chevron { color: rgba(255,255,255,0.7); }
.navbar-transparent .nav-login-btn { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.88); border: 1.5px solid rgba(255,255,255,0.3); border-radius: 50px; padding: 6px 16px 6px 12px; font-size: 14px; font-weight: 600; background: rgba(255,255,255,0.08); text-shadow: 0 1px 3px rgba(0,0,0,0.3); text-decoration: none; }
.navbar-transparent .nav-login-btn:hover { color: var(--white); background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }
.navbar-transparent .nav-login-btn i { font-size: 18px; }
.navbar-transparent .nav-cta { background: rgba(255,255,255,0.15) !important; color: var(--white) !important; border: 1px solid rgba(255,255,255,0.3); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.navbar-transparent .nav-cta:hover { background: rgba(255,255,255,0.28) !important; border-color: rgba(255,255,255,0.5); }
.navbar-transparent .nav-dropdown-menu { background: var(--white); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.navbar-transparent .nav-dropdown-menu a { color: var(--gray-700); text-shadow: none; }
.navbar-transparent .nav-dropdown-menu a:hover { color: var(--primary); background: var(--primary-light); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 68px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--secondary); flex-shrink: 0; text-decoration: none; }
.nav-brand:hover { color: var(--secondary); }
.nav-brand-logo { height: 56px; width: auto; object-fit: contain; transition: var(--transition); }
.nav-brand:hover .nav-brand-logo { transform: scale(1.03); }
.nav-brand-name { font-size: 18px; font-weight: 800; color: var(--secondary); white-space: nowrap; letter-spacing: -0.3px; line-height: 1.1; }
.footer-logo { height: 100px; width: auto; object-fit: contain; }
.nav-brand-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0; letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; justify-content: center; flex: 1; min-width: 0; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--gray-600); transition: var(--transition); padding: 8px 12px; border-radius: var(--radius-sm); position: relative; white-space: nowrap; }
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }
.nav-links a[aria-current="page"] { color: var(--primary); background: var(--primary-light); }
.nav-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.nav-icon-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-sm); color: var(--gray-700); font-size: 22px; transition: var(--transition); background: none; border: none; cursor: pointer; text-decoration: none; }
.nav-icon-btn:hover { color: var(--primary); background: var(--primary-light); }
.nav-login-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--gray-700); border: 1.5px solid var(--gray-200); border-radius: 50px; padding: 6px 16px 6px 12px; font-size: 14px; font-weight: 600; background: var(--gray-50); text-decoration: none; transition: var(--transition); }
.nav-login-btn:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.nav-login-btn i { font-size: 18px; color: var(--primary); }
.nav-account-trigger { background: var(--gray-50); border: 1.5px solid var(--gray-200); border-radius: 50px; cursor: pointer; padding: 4px 14px 4px 6px; display: flex; align-items: center; gap: 8px; transition: var(--transition); font-family: inherit; }
.nav-account-trigger:hover { border-color: var(--primary); background: var(--primary-light); }
.nav-account-avatar { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--white); font-size: 18px; transition: var(--transition); border: 2px solid var(--primary); flex-shrink: 0; overflow: hidden; }
.nav-account-avatar i { line-height: 1; }
.nav-account-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.nav-account-trigger:hover .nav-account-avatar { background: var(--primary-dark); border-color: var(--primary-dark); }
.nav-account-name { font-size: 13px; font-weight: 600; color: var(--gray-700); white-space: nowrap; max-width: 100px; overflow: hidden; text-overflow: ellipsis; }
.nav-account-chevron { font-size: 14px; color: var(--gray-400); transition: transform 0.2s; }
.nav-account-dropdown:hover .nav-account-chevron { transform: rotate(180deg); }
.nav-account-dropdown { position: relative; }
.nav-account-menu { position: absolute; top: calc(100% + 8px); right: 0; width: 220px; background: var(--white); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0,0,0,0.12); border: 1px solid var(--gray-100); z-index: 200; padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; pointer-events: none; }
.nav-account-dropdown.open .nav-account-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.nav-account-header { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--gray-100); margin-bottom: 4px; font-weight: 600; font-size: 14px; color: var(--gray-800); }
.nav-account-header i { font-size: 24px; color: var(--primary); }
.nav-account-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 14px; font-weight: 500; color: var(--gray-600); transition: var(--transition); }
.nav-account-menu a:hover { color: var(--primary); background: var(--primary-light); }
.nav-account-menu a i { font-size: 18px; width: 20px; text-align: center; }
.nav-account-divider { height: 1px; background: var(--gray-100); margin: 4px 0; }
.nav-account-logout { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 16px; font-size: 14px; font-weight: 500; color: var(--gray-600); transition: var(--transition); background: none; border: none; cursor: pointer; font-family: inherit; text-align: left; }
.nav-account-logout:hover { color: #ef4444; background: #fef2f2; }
.nav-account-logout i { font-size: 18px; width: 20px; text-align: center; }
.nav-cta { background: var(--primary) !important; color: white !important; padding: 10px 20px !important; border-radius: var(--radius-sm); font-weight: 600 !important; transition: var(--transition) !important; box-shadow: 0 2px 8px rgba(30,94,255,0.25); }
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30,94,255,0.35); }
.nav-cart-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: transparent; color: var(--gray-700); text-decoration: none; transition: var(--transition); }
.nav-cart-btn:hover { background: var(--gray-100); color: var(--primary); }
.nav-cart-btn img { width: 22px; height: 22px; transition: filter 0.3s ease; }
.nav-cart-badge { position: absolute; top: 2px; right: 2px; background: var(--primary); color: white; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; line-height: 1; pointer-events: none; }
.nav-cart-badge:empty, .nav-cart-badge[data-count="0"] { display: none; }
.navbar-transparent .nav-cart-btn { color: rgba(255,255,255,0.9); }
.navbar-transparent .nav-cart-btn:hover { background: rgba(255,255,255,0.15); color: white; }
.navbar-transparent .nav-cart-btn img { filter: brightness(0) invert(1); }
.navbar-transparent .nav-cart-badge { background: var(--accent); color: var(--secondary); }
.mobile-toggle { display: none; background: var(--gray-100); border: 1.5px solid var(--gray-300); font-size: 24px; cursor: pointer; color: var(--gray-700); padding: 8px 10px; line-height: 1; border-radius: var(--radius-sm); transition: var(--transition); align-items: center; justify-content: center; width: 44px; height: 44px; }
.mobile-toggle:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.mobile-toggle.active { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
/* --- Mobile Overlay --- */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 98; opacity: 0; transition: opacity 0.3s ease; }
.mobile-overlay.open { display: block; opacity: 1; }

/* --- Mobile Nav Drawer (slide from right) --- */
.mobile-nav { position: fixed; top: 0; right: -100%; width: min(300px, 85vw); height: 100vh; height: 100dvh; background: var(--white); z-index: 99; padding: 0; overflow-y: auto; overflow-x: hidden; transition: right 0.35s cubic-bezier(0.4,0,0.2,1); box-shadow: -4px 0 24px rgba(0,0,0,0.1); }
.mobile-nav.open { right: 0; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--gray-100); }
.mobile-nav-title { font-size: 16px; font-weight: 700; color: var(--gray-800); }
.mobile-nav-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--gray-500); padding: 4px; line-height: 1; transition: var(--transition); }
.mobile-nav-close:hover { color: var(--gray-800); }
.mobile-nav a { display: flex; align-items: center; gap: 12px; padding: 14px 20px; font-size: 15px; font-weight: 500; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); text-decoration: none; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a i { font-size: 20px; color: var(--gray-400); width: 24px; text-align: center; }
.mobile-nav a.active { color: var(--primary); background: var(--primary-light); font-weight: 600; }
.mobile-nav-divider { height: 1px; background: var(--gray-200); margin: 4px 0; }
.mobile-nav-user { display: flex; align-items: center; gap: 10px; padding: 14px 20px; font-size: 15px; font-weight: 600; color: var(--primary); border-bottom: 1px solid var(--gray-100); }
.mobile-nav-user i { font-size: 20px; }
.mobile-nav-logout { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 20px; font-size: 15px; font-weight: 500; color: var(--gray-700); background: none; border: none; cursor: pointer; font-family: inherit; text-align: left; border-bottom: 1px solid var(--gray-100); }
.mobile-nav-logout:hover { color: #ef4444; }
.mobile-nav-logout i { font-size: 20px; color: var(--gray-400); width: 24px; text-align: center; }
.mobile-nav-actions { padding-top: 16px; display: flex; flex-direction: column; gap: 12px; padding: 0 20px; }
.mobile-nav-phone { display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--primary-light); border-radius: var(--radius-sm); color: var(--primary); font-weight: 600; font-size: 15px; margin: 8px 20px; }
.mobile-dark-toggle { width: auto; justify-content: center; display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; border: 1px solid var(--gray-200); background: var(--gray-50); margin: 8px 20px; }
.mobile-dark-toggle .dark-mode-label { font-size: 14px; }
.mobile-nav-login { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border: 1px solid var(--primary); border-radius: var(--radius-sm); color: var(--primary); font-weight: 600; font-size: 15px; text-align: center; justify-content: center; margin: 4px 20px; }
.mobile-nav-cta { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border: none; border-radius: var(--radius-sm); background: var(--primary); color: #fff !important; font-weight: 600; font-size: 15px; text-align: center; justify-content: center; margin: 8px 20px; }
.mobile-nav-customer { display: flex; align-items: center; gap: 8px; padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--gray-700); background: var(--gray-50); border-radius: var(--radius-sm); margin: 0 20px; }
.mobile-nav-customer i { font-size: 18px; color: var(--primary); }

/* --- Mobile Nav Dropdown (Services submenu) --- */
.mobile-nav-dropdown { }
.mobile-nav-dropdown-trigger {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 20px; font-size: 15px; font-weight: 500; color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100); text-decoration: none; cursor: pointer;
    width: 100%; background: none; border-left: none; border-right: none; border-top: none;
    font-family: inherit; transition: var(--transition);
}
.mobile-nav-dropdown-trigger span { display: flex; align-items: center; gap: 12px; }
.mobile-nav-dropdown-trigger i:first-child { font-size: 20px; color: var(--gray-400); width: 24px; text-align: center; }
.mobile-nav-chevron { font-size: 14px; color: var(--gray-400); transition: transform 0.3s ease; }
.mobile-nav-dropdown.open .mobile-nav-chevron { transform: rotate(180deg); }
.mobile-nav-submenu { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; background: var(--gray-50); }
.mobile-nav-dropdown.open .mobile-nav-submenu { max-height: 500px; }
.mobile-nav-submenu a {
    display: block; padding: 11px 20px 11px 56px; font-size: 14px; font-weight: 400;
    color: var(--gray-600); border-bottom: 1px solid var(--gray-100); text-decoration: none;
    transition: var(--transition);
}
.mobile-nav-submenu a:hover, .mobile-nav-submenu a.active { color: var(--primary); background: rgba(30,94,255,0.05); }
.mobile-nav-submenu a:last-child { border-bottom: none; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* --- Hero --- */
.hero { background: linear-gradient(135deg, var(--secondary) 0%, #1a2744 40%, var(--primary) 100%); color: white; padding: 169px 24px 186px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 30% 50%, rgba(30,94,255,0.15) 0%, transparent 60%), radial-gradient(ellipse at 70% 20%, rgba(245,158,11,0.08) 0%, transparent 50%); pointer-events: none; }
.hero::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 120px; background: linear-gradient(to top, #f0f0f3, transparent); pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 1352px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 13px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 17px 40px; border-radius: 50px; font-size: 26px; font-weight: 600; margin-bottom: 47px; animation: fadeIn 0.8s ease 0.2s both; }
.hero-badge i { font-size: 30px; color: var(--accent); }
.hero-title { font-size: 104px; font-weight: 800; letter-spacing: -4px; margin-bottom: 40px; line-height: 1.02; animation: slideUp 0.7s ease 0.3s both; }
.hero-title span { color: var(--accent); }
.hero-sub { font-size: 35px; opacity: 0.85; max-width: 1099px; margin: 0 auto 68px; line-height: 1.7; animation: slideUp 0.7s ease 0.45s both; }
.hero-buttons { display: flex; gap: 27px; justify-content: center; flex-wrap: wrap; animation: slideUp 0.7s ease 0.6s both; }
.btn-hero { padding: 16px 44px; border-radius: var(--radius); font-weight: 600; font-size: 17px; transition: var(--transition); display: inline-flex; align-items: center; gap: 12px; position: relative; overflow: hidden; }
.btn-hero i { font-size: 20px; }
.btn-hero-primary { background: var(--primary); color: white; box-shadow: 0 4px 16px rgba(30,94,255,0.35); }
.btn-hero-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,94,255,0.4); color: white; }
.btn-hero-secondary { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-hero-secondary:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); color: white; }
.btn-ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.3); width: 100px; height: 100px; margin-top: -50px; margin-left: -50px; animation: ripple 0.6s linear; pointer-events: none; }
@keyframes ripple { from { transform: scale(0); opacity: 1; } to { transform: scale(4); opacity: 0; } }
.hero-stats { display: flex; justify-content: center; gap: 81px; margin-top: 95px; padding-top: 68px; border-top: 1px solid rgba(255,255,255,0.15); animation: fadeIn 0.8s ease 0.8s both; }
.hero-stat { text-align: center; }
.hero-stat-number { font-size: 55px; font-weight: 800; letter-spacing: -0.5px; }
.hero-stat-label { font-size: 23px; opacity: 0.65; margin-top: 8px; }

/* --- Section Headers --- */
.section-title { font-size: 36px; font-weight: 800; text-align: center; margin-bottom: 12px; letter-spacing: -0.5px; color: var(--gray-900); }
.section-sub { font-size: 16px; color: var(--gray-500); text-align: center; margin-bottom: 48px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* --- Trust Bar --- */
.trust-bar { padding: 48px 24px; background: var(--gray-50); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }
.trust-items { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; max-width: 1000px; margin: 0 auto; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--gray-600); font-size: 14px; font-weight: 500; white-space: nowrap; }
.trust-item i { font-size: 20px; color: var(--primary); }

/* --- Grid Layouts --- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 24px; }

/* --- Cards --- */
.card { background: #fafafa; border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06); border: 1px solid var(--gray-200); overflow: hidden; transition: var(--transition); }
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.06); }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; }
.card-title { font-size: 15px; font-weight: 600; }
.card-body { padding: 20px; }
.card-footer { padding: 16px 20px; border-top: 1px solid var(--gray-200); background: var(--gray-50); }

/* --- Service Cards (legacy fallback) --- */

/* --- Stats Bar (enhanced) --- */
.stats-bar { padding: 56px 24px; background: var(--secondary); color: white; position: relative; overflow: hidden; }
.stats-bar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 20% 50%, rgba(30,94,255,0.12) 0%, transparent 60%); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 900px; margin: 0 auto; text-align: center; }
.stat-item { text-align: center; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.stat-icon { font-size: 28px; margin-bottom: 10px; color: rgba(255,255,255,0.85); text-align: center; }
.stat-number { font-size: 40px; font-weight: 800; margin-bottom: 4px; letter-spacing: -1px; background: linear-gradient(135deg, #fff, rgba(255,255,255,0.8)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-align: center; }
.stat-label { font-size: 13px; opacity: 0.6; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; text-align: center; }

/* --- Testimonials --- */
.testimonial-card { background: white; border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06); border: 1px solid var(--gray-200); transition: var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-text { font-size: 15px; line-height: 1.8; color: var(--gray-600); margin-bottom: 20px; font-style: italic; position: relative; padding-left: 20px; border-left: 3px solid var(--primary-light); }
.testimonial-author { font-weight: 600; font-size: 14px; color: var(--gray-800); }
.testimonial-rating { color: var(--accent); font-size: 15px; margin-bottom: 12px; display: flex; gap: 2px; }
.testimonial-rating i { font-size: 15px; }

/* --- CTA Section --- */
.cta-section { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; padding: 80px 24px; text-align: center; border-radius: var(--radius-lg); margin: 40px 24px; position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%); pointer-events: none; }
.cta-title { font-size: 34px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; }
.cta-btn { background: white; color: var(--primary); padding: 16px 44px; border-radius: var(--radius); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); color: var(--primary); }
.cta-btn i { font-size: 18px; }

/* --- Tables --- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
table th { padding: 12px 16px; text-align: left; font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-500); background: var(--gray-50); border-bottom: 2px solid var(--gray-200); white-space: nowrap; }
table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); font-size: 13px; }
table tbody tr { transition: var(--transition-fast); }
table tbody tr:hover { background: var(--gray-50); }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border: none; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition); font-family: inherit; white-space: nowrap; text-decoration: none; line-height: 1.4; }
.btn i { font-size: 16px; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; transform: translateY(-1px); }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #059669; color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #dc2626; color: white; }
.btn-warning { background: var(--warning); color: white; }
.btn-warning:hover { background: #d97706; color: white; }
.btn-secondary { background: var(--gray-200); color: var(--gray-700); }
.btn-secondary:hover { background: var(--gray-300); }
.btn-outline { background: transparent; border: 1px solid var(--gray-300); color: var(--gray-700); }
.btn-outline:hover { background: var(--gray-50); border-color: var(--gray-400); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }
.btn-group { display: flex; gap: 8px; flex-wrap: wrap; }

/* --- Forms --- */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-control { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; color: var(--gray-800); transition: var(--transition); background: white; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form-hint { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; }

/* --- Badges --- */
.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 20px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.3px; }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info { background: #dbeafe; color: #1e40af; }
.badge-primary { background: #ede9fe; color: #6d28d9; }
.badge-secondary { background: var(--gray-200); color: var(--gray-700); }
.badge-dark { background: var(--gray-700); color: white; }
.badge-purple { background: #f3e8ff; color: #6b21a8; }

/* --- Alerts --- */
.alert { padding: 14px 20px; border-radius: var(--radius-sm); font-size: 14px; display: flex; align-items: center; gap: 10px; animation: slideDown 0.3s ease; margin-bottom: 20px; font-weight: 500; }
.alert i { font-size: 18px; flex-shrink: 0; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

/* --- Pagination --- */
.pagination-wrap { display: flex; justify-content: center; padding: 16px 0; }
.pagination { display: flex; gap: 4px; list-style: none; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; color: var(--gray-600); background: white; border: 1px solid var(--gray-200); text-decoration: none; transition: var(--transition); }
.pagination a:hover { background: var(--gray-50); border-color: var(--gray-300); }
.pagination .active a { background: var(--primary); color: white; border-color: var(--primary); }

/* --- Footer --- */
.footer { background: var(--secondary); color: white; padding: 64px 24px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-brand { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.footer-desc { font-size: 14px; opacity: 0.6; line-height: 1.7; }
.footer-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; opacity: 0.7; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; opacity: 0.6; transition: opacity 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.footer-links a:hover { opacity: 1; color: white; }
.footer-links i { font-size: 14px; }
.footer-bottom { max-width: 1200px; margin: 30px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 13px; opacity: 0.5; }

/* --- Page Header --- */
.page-header { padding: 60px 24px 40px; max-width: 1200px; margin: 0 auto; }
.page-title { font-size: 36px; font-weight: 800; letter-spacing: -0.5px; }
.page-sub { font-size: 16px; color: var(--gray-500); margin-top: 8px; line-height: 1.7; }

/* --- Empty State --- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray-500); }
.empty-state-icon { width: 72px; height: 72px; background: var(--gray-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.empty-state-icon i { font-size: 32px; color: var(--gray-400); }
.empty-state-title { font-size: 18px; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }
.empty-state-text { font-size: 14px; max-width: 400px; margin: 0 auto 20px; line-height: 1.7; }

/* --- Loading States --- */
.loading-overlay { display: none; position: fixed; inset: 0; background: rgba(255,255,255,0.8); z-index: 9999; align-items: center; justify-content: center; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.loading-overlay.active { display: flex; }
.spinner { width: 40px; height: 40px; border: 3px solid var(--gray-200); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-loading { position: relative; pointer-events: none; opacity: 0.7; }
.btn-loading::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid transparent; border-top-color: currentColor; border-radius: 50%; animation: spin 0.6s linear infinite; right: 12px; }
.skeleton { background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* --- Flash Message Auto-dismiss --- */
.alert[data-auto-dismiss] { animation: slideDown 0.3s ease, fadeOut 0.3s ease 4.7s forwards; }
@keyframes fadeOut { to { opacity: 0; transform: translateY(-10px); } }
.page-content { animation: fadeIn 0.3s ease; }

/* --- Blog --- */
.post-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06); transition: var(--transition-slow); border: 1px solid var(--gray-200); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-body { padding: 28px; }
.post-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.post-title a { color: var(--gray-900); }
.post-title a:hover { color: var(--primary); }
.post-excerpt { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin-bottom: 14px; }
.post-meta { font-size: 12px; color: var(--gray-400); display: flex; align-items: center; gap: 6px; }
.post-meta i { font-size: 14px; }
.article { max-width: 750px; margin: 0 auto; padding: 60px 24px; }
.article-title { font-size: 36px; font-weight: 800; margin-bottom: 12px; line-height: 1.2; letter-spacing: -0.5px; }
.article-meta { font-size: 14px; color: var(--gray-400); margin-bottom: 32px; display: flex; align-items: center; gap: 8px; }
.article-content { font-size: 16px; line-height: 1.8; color: var(--gray-600); }
.article-content p { margin-bottom: 16px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 40px; color: var(--primary); font-weight: 600; font-size: 14px; text-decoration: none; }
.back-link i { font-size: 16px; }
.back-link:hover { gap: 10px; }

/* --- Portfolio --- */
.portfolio-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06); transition: var(--transition-slow); border: 1px solid var(--gray-200); }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.portfolio-card img { width: 100%; height: 250px; object-fit: cover; transition: var(--transition-slow); }
.portfolio-card:hover img { transform: scale(1.03); }
.portfolio-card-body { padding: 20px; }
.portfolio-card-title { font-weight: 700; font-size: 16px; margin-bottom: 4px; color: var(--gray-900); }
.portfolio-card-cat { font-size: 13px; color: var(--gray-400); display: flex; align-items: center; gap: 4px; }
.portfolio-card-cat i { font-size: 14px; }

/* --- Contact --- */
.contact-page { max-width: 1200px; margin: 0 auto; padding: 60px 24px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.contact-info { padding: 32px; background: var(--gray-50); border-radius: var(--radius-lg); border: 1px solid var(--gray-100); }
.info-item { margin-bottom: 24px; display: flex; gap: 14px; align-items: flex-start; }
.info-item:last-child { margin-bottom: 0; }
.info-icon { width: 44px; height: 44px; background: var(--primary-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-icon i { font-size: 18px; color: var(--primary); }
.info-label { font-size: 12px; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.info-value { font-size: 15px; font-weight: 500; }
.info-value a { color: var(--gray-800); }
.info-value a:hover { color: var(--primary); }

/* --- Error Page --- */
.error-page { text-align: center; padding: 40px; }
.error-code { font-size: 120px; font-weight: 800; color: var(--gray-200); line-height: 1; }
.error-title { font-size: 24px; font-weight: 700; color: var(--gray-800); margin: 16px 0; }
.error-text { font-size: 15px; color: var(--gray-500); margin-bottom: 24px; }
.error-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--primary); color: white; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; transition: var(--transition); }
.error-btn:hover { background: var(--primary-dark); color: white; transform: translateY(-1px); }
.error-btn i { font-size: 16px; }

/* --- CMS Page --- */
.cms-page { max-width: 750px; margin: 0 auto; padding: 60px 24px; }
.cms-content { font-size: 16px; line-height: 1.8; color: var(--gray-600); }
.cms-content p { margin-bottom: 16px; }

/* --- Services Page --- */
.service-detail-card { background: white; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--gray-100); transition: var(--transition-slow); position: relative; overflow: hidden; }
.service-detail-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: 0; transition: var(--transition); }
.service-detail-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.service-detail-card:hover::before { opacity: 1; }
.service-detail-icon { width: 72px; height: 72px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 18px; display: flex; align-items: center; justify-content: center; color: white; margin-bottom: 24px; transition: var(--transition); }
.service-detail-card:hover .service-detail-icon { transform: scale(1.05); }
.service-detail-icon i { font-size: 32px; }
.service-detail-title { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--gray-900); }
.service-detail-desc { font-size: 15px; color: var(--gray-500); line-height: 1.7; margin-bottom: 20px; }
.service-detail-count { font-size: 13px; color: var(--primary); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.service-detail-count i { font-size: 14px; }
.service-cta { background: linear-gradient(135deg, var(--secondary) 0%, #1e3a5f 50%, var(--primary) 100%); color: white; padding: 80px 24px; text-align: center; border-radius: var(--radius-lg); margin: 40px 24px; position: relative; overflow: hidden; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero { padding: 135px 24px; }
    .hero-title { font-size: 84px; }
    .hero-sub { font-size: 31px; }
    .section { padding: 60px 24px; }
    .trust-grid { gap: 32px; }
}
/* --- Tablet: collapse nav into hamburger (768-1024px) --- */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav-phone { display: none; }
    .nav-cta { display: none; }
    .dark-mode-toggle:not(.mobile-dark-toggle) { display: none; }
    .nav-brand-name { display: block; }
    .navbar-transparent .mobile-toggle,
    .mobile-toggle { display: flex; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-phone { display: none; }
    .nav-cta { display: none; }
    .nav-account-dropdown { display: none; }
    .nav-login-btn { display: none; }
    .dark-mode-toggle:not(.mobile-dark-toggle) { display: none; }
    .nav-cart-btn { display: flex; width: 36px; height: 36px; }
    .nav-cart-btn img { width: 20px; height: 20px; }
    .nav-brand-name { display: block; }
    .trust-items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .trust-item { white-space: normal; justify-content: center; text-align: center; }
    .trust-item i { font-size: 18px; }
    .navbar-transparent .mobile-toggle,
    .mobile-toggle { display: flex; }
    .nav-container { height: 60px; }
    .hero { padding: 101px 24px 118px; }
    .hero-title { font-size: 48px; letter-spacing: -2px; }
    .hero-sub { font-size: 22px; margin-bottom: 40px; }
    .btn-hero { padding: 14px 36px; font-size: 16px; gap: 10px; }
    .btn-hero i { font-size: 18px; }
    .hero-buttons { gap: 14px; }
    .hero-stats { gap: 40px; flex-wrap: wrap; }
    .hero-stat-number { font-size: 44px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 28px; }
    .cta-section { margin: 20px 16px; padding: 60px 24px; }
    .cta-title { font-size: 26px; }
    .page-header { padding: 40px 24px 24px; }
    .page-title { font-size: 28px; }
    .article { padding: 40px 24px; }
    .article-title { font-size: 28px; }
    .trust-grid { gap: 20px; }
    .trust-item { font-size: 13px; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 36px; letter-spacing: -1.5px; }
    .hero-sub { font-size: 18px; margin-bottom: 32px; }
    .btn-hero { padding: 12px 28px; font-size: 14px; gap: 8px; }
    .btn-hero i { font-size: 16px; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
    .btn-hero { width: 100%; text-align: center; justify-content: center; }
    .hero-stat-number { font-size: 39px; }
    .stats-grid { grid-template-columns: 1fr; gap: 16px; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .trust-items { grid-template-columns: 1fr; }
}

/* --- Utility Classes --- */
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--gray-500); }
.text-sm { font-size: 12px; }
.font-mono { font-family: "Courier New", monospace; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.d-flex { display: flex; }
.gap-2 { gap: 16px; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


/* =====================================================
   Phase 11.2 - Visual Content & Conversion Optimization
   ===================================================== */

/* --- Image Placeholders --- */
.img-placeholder {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    gap: 8px;
    position: relative;
    overflow: hidden;
}
.img-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
    animation: shimmerMove 2s infinite;
}
@keyframes shimmerMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.img-placeholder i { font-size: 48px; opacity: 0.3; }
.img-placeholder span { font-size: 13px; font-weight: 500; }
.img-placeholder-hero { height: 400px; border-radius: var(--radius-lg); }
.img-placeholder-service { height: 200px; border-radius: var(--radius); }
.img-placeholder-portfolio { height: 250px; }
.img-placeholder-team { width: 120px; height: 120px; border-radius: 50%; }
.img-placeholder-logo { height: 48px; width: 120px; }

/* --- WhatsApp Float Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 89;
    transition: var(--transition);
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
    color: white;
}
.whatsapp-float i { font-size: 28px; }
@media (min-width: 769px) {
    .whatsapp-float { bottom: 24px; right: 24px; }
}

/* --- Why Choose Us Section --- */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}
.why-choose-item {
    text-align: center;
    padding: 32px 24px;
}
.why-choose-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}
.why-choose-item:hover .why-choose-icon {
    background: var(--primary);
    transform: translateY(-4px);
}
.why-choose-item:hover .why-choose-icon i { color: white; }
.why-choose-icon i { font-size: 28px; color: var(--primary); }
.why-choose-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }
.why-choose-desc { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* --- How It Works Section --- */
.how-it-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    counter-reset: step;
}
.how-step {
    text-align: center;
    padding: 24px;
    position: relative;
}
.how-step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    margin: 0 auto 16px;
    position: relative;
}
.how-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 48px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: var(--gray-300);
}
.how-step:last-child::after { display: none; }
.how-step-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }
.how-step-desc { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* --- FAQ Section --- */
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--gray-300); }
.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: inherit;
    transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question i {
    font-size: 20px;
    color: var(--gray-400);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 18px;
}
.faq-answer p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* --- Client Logos Section --- */
.client-logos-bar {
    padding: 48px 24px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    text-align: center;
}
.client-logos-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-400);
    margin-bottom: 24px;
}
.client-logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.5;
}
.client-logo-item {
    height: 40px;
    width: 120px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    transition: var(--transition);
}
.client-logo-item:hover { opacity: 1; background: var(--gray-300); }

/* --- Testimonial Carousel --- */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
}
.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-slide {
    min-width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .testimonial-slide { min-width: 50%; }
}
@media (min-width: 1024px) {
    .testimonial-slide { min-width: 33.333%; }
}
.testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.testimonial-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.testimonial-author-info { flex: 1; }
.testimonial-author-name { font-weight: 600; font-size: 14px; color: var(--gray-800); }
.testimonial-author-title { font-size: 12px; color: var(--gray-400); }
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}
.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 18px;
}
.carousel-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.carousel-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* --- Portfolio Filter --- */
.portfolio-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 32px;
}
.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* --- Portfolio Modal --- */
.portfolio-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}
.portfolio-modal-overlay.active { display: flex; }
.portfolio-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}
.portfolio-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}
.portfolio-modal-close:hover { background: rgba(0,0,0,0.7); }
.portfolio-modal img { width: 100%; max-height: 400px; object-fit: cover; }
.portfolio-modal-body { padding: 24px; }
.portfolio-modal-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.portfolio-modal-cat { font-size: 13px; color: var(--gray-400); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.portfolio-modal-desc { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* --- Guarantee / Certifications Section --- */
.guarantee-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 24px;
}
.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}
.guarantee-icon {
    width: 40px;
    height: 40px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.guarantee-icon i { font-size: 18px; color: var(--success); }

/* --- Responsive Adjustments for Phase 11.2 --- */
@media (max-width: 768px) {
    .how-step:not(:last-child)::after { display: none; }
    .why-choose-grid { grid-template-columns: 1fr 1fr; }
    .how-it-works { grid-template-columns: 1fr 1fr; }
    .guarantee-bar { gap: 20px; }
    .whatsapp-float { bottom: 88px; }
}
@media (max-width: 480px) {
    .why-choose-grid { grid-template-columns: 1fr; }
    .how-it-works { grid-template-columns: 1fr; }
}

/* =====================================================
   PHASE 12 - UX REBUILD STYLES
   ===================================================== */

/* --- Hero Slider --- */
.hero-slider { position: relative; width: 100%; overflow: hidden; background: var(--secondary); }
#heroSlider { position: relative; }
.slide { position: absolute; inset: 0; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; width: 100%; overflow: hidden; opacity: 0; transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1); pointer-events: none; }
.slide.active { opacity: 1; pointer-events: auto; position: relative; }
.slide-bg { width: 100%; min-height: 100vh; min-height: 100dvh; background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; display: flex; align-items: center; overflow: hidden; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11,16,32,0.85) 0%, rgba(11,16,32,0.6) 100%); }
.slide-content { position: relative; z-index: 2; padding: 60px 24px; max-width: 750px; width: 100%; }
.slide-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,0.25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 12px 24px; border-radius: 50px; font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 28px; border: 1px solid rgba(255,255,255,0.25); text-shadow: 0 1px 4px rgba(0,0,0,0.3); text-transform: uppercase; letter-spacing: 1px; }
.slide-title { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 800; color: var(--white); line-height: 1.08; margin: 0 0 20px; letter-spacing: -1px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.slide-subtitle { font-size: clamp(1.1rem, 2vw, 1.5rem); color: rgba(255,255,255,0.9); line-height: 1.7; margin: 0 0 36px; max-width: 700px; }
.slide-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.slider-dots { display: none; }
.slider-dot { display: none; }
.slider-dot.active { display: none; }
@media (max-width: 768px) {
    .slide-content { padding: 40px 20px; }
}
@media (max-width: 480px) {
    .slide-buttons { flex-wrap: wrap; justify-content: center; }
    .slide-buttons .btn-hero { flex: 0 1 auto; min-width: 0; }
}

/* --- Nav Dropdown --- */
.nav-dropdown { position: relative; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-xl); min-width: 220px; padding: 8px 0; z-index: 100; border: 1px solid var(--gray-100); }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: flex; align-items: center; gap: 8px; padding: 10px 20px; color: var(--gray-700); text-decoration: none; font-size: 14px; font-weight: 500; transition: var(--transition-fast); white-space: nowrap; }
.nav-dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 4px; }
.nav-dropdown-trigger .bi-chevron-down,
.nav-account-chevron { font-size: 12px; transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); display: inline-block; }
.nav-dropdown:hover .bi-chevron-down,
.nav-account-dropdown.open .nav-account-chevron { transform: rotate(180deg); }
.nav-login-btn { display: flex; align-items: center; gap: 6px; }
.nav-portal-link { margin-left: 4px; }
@media (max-width: 1024px) {
    .nav-dropdown-menu { display: none !important; }
    .nav-portal-link { display: none; }
}

/* --- Mobile Nav Active State --- */
.mobile-nav a.active { color: var(--primary); font-weight: 600; background: var(--primary-light); }

/* --- Breadcrumbs --- */
.breadcrumb { background: var(--gray-50); padding: 14px 0; border-bottom: 1px solid var(--gray-100); font-size: 14px; color: var(--gray-500); }
.breadcrumb .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--gray-500); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--gray-800); font-weight: 500; }
.breadcrumb .bi-chevron-right { font-size: 12px; opacity: 0.5; }

/* --- Section Headers --- */
.section-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-light); color: var(--primary); padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--gray-900); margin: 0 0 12px; }
.section-sub { font-size: 1.05rem; color: var(--gray-500); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.section-cta { text-align: center; margin-top: 40px; }
.section { padding: 80px 24px; }
@media (max-width: 768px) { .section { padding: 60px 16px; } }

/* --- Service Cards --- */
.service-card { display: block; background: var(--white); border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--gray-200); box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06); transition: all 0.3s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden; cursor: pointer; }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.service-card:hover { border-color: var(--primary-light); box-shadow: 0 8px 30px rgba(30,94,255,0.15), 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; transition: transform 0.3s ease; }
.service-card-icon-img { width: 64px; height: 64px; border-radius: 14px; margin-bottom: 18px; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; background: var(--gray-50); }
.service-card-icon-img img { width: 100%; height: 100%; object-fit: contain; }
.service-card:hover .service-card-icon-img { transform: scale(1.1); }
.service-card:hover .service-card-icon { transform: scale(1.1); }
.service-card-title { font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin: 0 0 10px; }
.service-card-desc { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin: 0 0 16px; }
.service-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--primary); transition: gap 0.2s; }
.service-card:hover .service-card-link { gap: 10px; }
.service-card-img { width: 100%; height: 160px; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; background: var(--gray-50); display: flex; align-items: center; justify-content: center; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-card-img img { transform: scale(1.05); }

/* --- Product Cards --- */
.product-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06); transition: var(--transition); position: relative; }
.product-card:hover { border-color: transparent; box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06); transform: translateY(-4px); }
.product-card-img { position: relative; padding-top: 66%; background: var(--gray-50); overflow: hidden; }
.product-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94); }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 40%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.product-card:hover .product-card-img::after { opacity: 1; }
.img-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%); color: var(--gray-300); font-size: 48px; }
.img-placeholder-lg { min-height: 400px; border-radius: var(--radius-lg); }
.product-price-badge { position: absolute; bottom: 14px; left: 14px; background: var(--white); color: var(--gray-900); padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-md); z-index: 2; transition: var(--transition); }
.product-card:hover .product-price-badge { background: var(--primary); color: var(--white); }
.product-card-quick { position: absolute; top: 14px; right: 14px; background: var(--white); color: var(--gray-700); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: var(--shadow); opacity: 0; transform: translateY(-6px); transition: var(--transition); z-index: 2; text-decoration: none; }
.product-card:hover .product-card-quick { opacity: 1; transform: translateY(0); }
.product-card-quick:hover { background: var(--primary); color: var(--white); }
.product-card-body { padding: 22px 24px 24px; }
.product-card-category { display: inline-block; font-size: 11px; font-weight: 700; color: var(--primary); background: var(--primary-light); padding: 4px 12px; border-radius: 50px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.8px; }
.product-card-title { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin: 0 0 8px; line-height: 1.35; }
.product-card-desc { font-size: 13.5px; color: var(--gray-500); line-height: 1.6; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-variants-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--gray-400); font-weight: 500; }

/* --- Product Detail --- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 56px; align-items: start; }
.product-detail-gallery { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-50); }
.product-detail-img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; display: block; transition: transform 0.5s; }
.product-detail-gallery:hover .product-detail-img { transform: scale(1.03); }
.product-detail-title { font-size: 2rem; font-weight: 800; color: var(--gray-900); margin: 0 0 12px; line-height: 1.2; }
.product-detail-price { font-size: 1.75rem; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.price-unit { font-size: 0.9rem; font-weight: 400; color: var(--gray-400); }
.product-detail-desc { font-size: 1rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 24px; }
.product-detail-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--gray-100); }
.meta-item { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--gray-500); background: var(--gray-50); padding: 6px 14px; border-radius: 50px; font-weight: 500; }
.meta-item i { color: var(--primary); font-size: 16px; }
.product-variants, .product-pricing { margin-bottom: 28px; }
.product-variants h3, .product-pricing h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin: 0 0 14px; }
.variant-list { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-item { display: flex; align-items: center; gap: 10px; background: var(--gray-50); padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid var(--gray-100); font-size: 14px; transition: var(--transition); }
.variant-item:hover { border-color: var(--primary); background: var(--primary-light); }
.variant-name { font-weight: 600; color: var(--gray-700); }
.variant-price { color: var(--primary); font-weight: 700; }
.pricing-table { width: 100%; border-collapse: collapse; font-size: 14px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-100); }
.pricing-table th { background: var(--gray-50); text-align: left; padding: 12px 18px; font-weight: 600; color: var(--gray-600); border-bottom: 2px solid var(--gray-200); }
.pricing-table td { padding: 12px 18px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: var(--gray-50); }
.product-detail-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; align-items: center; }
.product-detail-btn-group { display: flex; gap: 12px; align-items: center; flex-wrap: nowrap; }
.variant-options { display: flex; flex-direction: column; gap: 8px; }
.variant-option { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); }
.variant-option:hover { border-color: var(--primary); background: var(--primary-light); }
.variant-option.selected { border-color: var(--primary); background: rgba(30,94,255,0.05); }
.variant-option input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; }
.variant-option-info { display: flex; justify-content: space-between; flex: 1; }
.variant-option-name { font-weight: 600; color: var(--gray-800); }
.variant-option-price { font-weight: 700; color: var(--primary); }
.quantity-selector { display: flex; align-items: center; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 40px; height: 40px; border: none; background: var(--gray-50); color: var(--gray-700); font-size: 18px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--primary-light); color: var(--primary); }
.qty-input { width: 56px; height: 40px; border: none; border-left: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); text-align: center; font-size: 16px; font-weight: 600; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add-to-cart-btn { min-width: 160px; }
.product-detail-full { margin-bottom: 56px; }
.product-detail-full h2 { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin: 0 0 20px; padding-bottom: 14px; border-bottom: 2px solid var(--gray-100); }
.product-description { font-size: 1rem; color: var(--gray-600); line-height: 1.8; }
.related-products { margin-top: 56px; }
.related-products h2 { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin: 0 0 28px; padding-bottom: 14px; border-bottom: 2px solid var(--gray-100); }
@media (max-width: 768px) {
    .product-detail { grid-template-columns: 1fr; gap: 32px; }
    .product-detail-title { font-size: 1.6rem; }
    .product-detail-price { font-size: 1.4rem; }
}

/* --- Shop Filters --- */
.shop-filters { margin-bottom: 32px; }
.shop-search { margin-bottom: 16px; }
.search-input-wrap { position: relative; }
.search-input-wrap i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-size: 18px; }
.search-input-wrap input { width: 100%; padding: 12px 16px 12px 44px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 15px; transition: border-color 0.2s; }
.search-input-wrap input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 50px; font-size: 14px; font-weight: 500; color: var(--gray-600); background: var(--white); border: 1px solid var(--gray-200); text-decoration: none; transition: var(--transition-fast); }
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.chip-count { background: rgba(0,0,0,0.1); padding: 1px 8px; border-radius: 50px; font-size: 12px; }
.filter-chip.active .chip-count { background: rgba(255,255,255,0.25); }

/* --- Feature Cards --- */
.feature-card { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--gray-200); box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06); text-align: center; }
.feature-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 16px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin: 0 0 8px; }
.feature-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin: 0; }

/* --- Step Cards --- */
.step-card { text-align: center; position: relative; }
.step-number { position: absolute; top: -8px; right: -8px; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: var(--white); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 16px; }
.step-icon-img { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--gray-50); }
.step-icon-img img { width: 100%; height: 100%; object-fit: contain; }
.step-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin: 0 0 8px; }
.step-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin: 0; }

/* --- Service Hero --- */
.service-hero { background: linear-gradient(135deg, var(--secondary) 0%, #1a2744 100%); padding: 80px 24px; text-align: center; position: relative; overflow: hidden; background-size: cover; background-position: center; background-repeat: no-repeat; width: 100%; }
.service-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.8) 0%, rgba(15,23,42,0.65) 100%); z-index: 1; }
.service-hero > .container { position: relative; z-index: 2; }
.service-hero-content { max-width: 700px; margin: 0 auto; }
.service-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--white); margin: 12px 0 16px; }
.service-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.8); line-height: 1.7; margin: 0 0 28px; }
.service-hero .hero-buttons { justify-content: center; }

/* --- Service Detail Cards --- */
.service-detail-card { background: var(--white); border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--gray-100); text-align: center; transition: var(--transition); }
.service-detail-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); }
.service-detail-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 16px; }
.service-detail-title { font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin: 0 0 10px; }
.service-detail-desc { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin: 0 0 12px; }
.service-detail-count { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-400); margin-bottom: 16px; }

/* --- Quote Form --- */
.quote-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.quote-form-wrap { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06); padding: 32px; min-width: 0; }
.form-section { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--gray-100); }
.form-section:last-of-type { border-bottom: none; padding-bottom: 0; margin-bottom: 24px; }
.form-section h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; color: var(--gray-900); margin: 0 0 16px; }
.sidebar-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-100); padding: 24px; margin-bottom: 16px; }
.sidebar-card h4 { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 700; color: var(--gray-900); margin: 0 0 10px; }
.sidebar-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin: 0; }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-600); padding: 6px 0; }
.sidebar-list li i { color: var(--success); font-size: 16px; }

/* --- File Upload --- */
.file-upload-area {
    border: 2px dashed var(--gray-200);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--gray-50);
}
.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--primary);
    background: var(--primary-light);
}
.file-upload-area input[type="file"] { display: none; }
.file-upload-icon { font-size: 36px; color: var(--gray-300); margin-bottom: 12px; display: block; }
.file-upload-text { font-size: 14px; color: var(--gray-500); margin-bottom: 8px; }
.file-upload-text strong { color: var(--primary); font-weight: 600; }
.file-upload-hint { font-size: 12px; color: var(--gray-400); }
.file-upload-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.file-upload-item {
    display: flex; align-items: center; gap: 10px;
    background: var(--white); border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13px;
    transition: var(--transition-fast);
}
.file-upload-item--success { border-color: #bbf7d0; background: #f0fdf4; }
.file-upload-item i { font-size: 18px; flex-shrink: 0; }
.file-upload-item .file-preview { width: 40px; height: 40px; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--gray-50); }
.file-upload-item .file-preview img { width: 100%; height: 100%; object-fit: cover; }
.file-upload-item .file-preview i { font-size: 20px; }
.file-upload-item .file-info { flex: 1; min-width: 0; }
.file-upload-item .file-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--gray-700); }
.file-upload-item .file-meta { display: block; font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.file-upload-item .file-remove { color: var(--gray-400); cursor: pointer; font-size: 14px; transition: var(--transition-fast); flex-shrink: 0; background: none; border: none; padding: 4px; border-radius: 4px; }
.file-upload-item .file-remove:hover { color: var(--danger); background: rgba(239,68,68,0.1); }
.file-upload-progress { margin-top: 16px; }
.file-progress-bar { height: 6px; background: var(--gray-100); border-radius: 3px; overflow: hidden; }
.file-progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--success)); border-radius: 3px; transition: width 0.3s ease; width: 0; }
.file-progress-text { font-size: 12px; color: var(--gray-500); margin-top: 6px; text-align: center; }
.upload-progress-bar-wrap { margin-top: 6px; height: 6px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.upload-progress-fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width 0.3s ease; }
.upload-status { font-size: 12px; color: var(--gray-500); }
.upload-retry { background: none; border: 1px solid #ef4444; color: #ef4444; border-radius: 4px; padding: 2px 8px; cursor: pointer; font-size: 12px; margin-left: 6px; }
.upload-retry:hover { background: #fef2f2; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (max-width: 768px) {
    .file-upload-area { padding: 24px 16px; }
}
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; color: var(--gray-600); }
.sidebar-list .bi-check { color: var(--success); font-weight: 700; }
@media (max-width: 768px) {
    .quote-layout { grid-template-columns: 1fr; }
}

/* --- Calculator --- */
.calculator-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.calculator-form-wrap { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-100); padding: 32px; }
.size-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.size-option input { display: none; }
.size-card { text-align: center; padding: 20px 12px; border: 2px solid var(--gray-200); border-radius: var(--radius); cursor: pointer; transition: var(--transition-fast); }
.size-card strong { display: block; font-size: 1rem; color: var(--gray-900); margin-bottom: 4px; }
.size-card span { display: block; font-size: 13px; color: var(--gray-500); }
.size-price { font-size: 1.1rem !important; font-weight: 700 !important; color: var(--primary) !important; margin-top: 8px !important; }
.size-option input:checked + .size-card { border-color: var(--primary); background: var(--primary-light); }
.quantity-input { display: flex; align-items: center; gap: 0; border: 2px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; max-width: 240px; }
.qty-btn { width: 48px; height: 48px; border: none; background: var(--gray-50); color: var(--gray-600); font-size: 18px; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--gray-100); }
.quantity-input input { flex: 1; text-align: center; border: none; font-size: 1.1rem; font-weight: 700; color: var(--gray-900); padding: 0; width: 80px; }
.quantity-input input:focus { outline: none; }
.quantity-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.preset-btn { padding: 6px 14px; border: 1px solid var(--gray-200); border-radius: 50px; background: var(--white); font-size: 13px; color: var(--gray-600); cursor: pointer; transition: var(--transition-fast); }
.preset-btn:hover { border-color: var(--primary); color: var(--primary); }
.garment-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.garment-option input { display: none; }
.garment-option span { display: block; padding: 12px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); text-align: center; font-size: 14px; cursor: pointer; transition: var(--transition-fast); }
.garment-option input:checked + span { border-color: var(--primary); background: var(--primary-light); color: var(--primary); font-weight: 600; }
.result-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06); padding: 28px; text-align: center; margin-bottom: 16px; }
.result-card h3 { font-size: 1rem; font-weight: 600; color: var(--gray-500); margin: 0 0 8px; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }
.result-total { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.result-breakdown { text-align: left; margin-bottom: 16px; }
.result-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--gray-600); border-bottom: 1px solid var(--gray-100); }
.result-line.total { border-bottom: none; font-weight: 700; color: var(--gray-900); font-size: 16px; padding-top: 12px; }
.result-note { display: flex; align-items: flex-start; gap: 8px; background: var(--gray-50); padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13px; color: var(--gray-500); margin-bottom: 20px; text-align: left; }
.result-note i { flex-shrink: 0; margin-top: 2px; }
@media (max-width: 768px) {
    .calculator-layout { grid-template-columns: 1fr; }
    .size-options { grid-template-columns: 1fr; }
    .garment-options { grid-template-columns: 1fr; }
}

/* --- Updated Footer --- */
.footer { background: var(--secondary); color: var(--gray-300); padding: 60px 24px 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--white); font-size: 1.1rem; font-weight: 700; }
.footer-desc { font-size: 14px; line-height: 1.7; color: var(--gray-400); margin: 0 0 18px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.10); display: flex; align-items: center; justify-content: center; color: var(--gray-400); text-decoration: none; transition: all 0.25s ease; font-size: 20px; }
.footer-social a:hover { transform: translateY(-3px); }
.footer-social a i { line-height: 1; }
.footer-social a[aria-label="Facebook"]:hover { background: #1877f2; color: #fff; box-shadow: 0 4px 12px rgba(24,119,242,0.4); }
.footer-social a[aria-label="Instagram"]:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; box-shadow: 0 4px 12px rgba(220,39,67,0.4); }
.footer-social a[aria-label="X/Twitter"]:hover { background: #000; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.4); }
.footer-social a[aria-label="LinkedIn"]:hover { background: #0a66c2; color: #fff; box-shadow: 0 4px 12px rgba(10,102,194,0.4); }
.footer-social a[aria-label="WhatsApp"]:hover { background: #25d366; color: #fff; box-shadow: 0 4px 12px rgba(37,211,102,0.4); }
.footer-heading { font-size: 14px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin: 0 0 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--gray-400); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--gray-400); line-height: 1.5; }
.footer-contact i { flex-shrink: 0; margin-top: 3px; font-size: 16px; color: var(--primary); }
.footer-contact a { color: var(--gray-400); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 13px; color: var(--gray-500); }
.footer-bottom p { margin: 0; }
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* --- Error Page --- */
.error-page { text-align: center; padding: 120px 24px 80px; }
.error-code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; color: var(--gray-100); line-height: 1; }
.error-title { font-size: 1.6rem; font-weight: 700; color: var(--gray-800); margin: 16px 0 12px; }
.error-text { font-size: 1rem; color: var(--gray-500); margin-bottom: 28px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- Alert Styles --- */

.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.container .alert { margin-left: auto; margin-right: auto; }

/* --- Form Styles --- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-control { width: 100%; padding: 11px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 15px; transition: border-color 0.2s; font-family: inherit; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { appearance: auto; }
@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
}

/* --- Contact Grid --- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.contact-form { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-100); padding: 32px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06); padding: 24px; }
.contact-info-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; color: var(--gray-900); margin: 0 0 10px; }
.contact-info-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin: 0; }
.contact-info-card a { color: var(--primary); text-decoration: none; font-weight: 500; }
.contact-info-card a:hover { text-decoration: underline; }
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: var(--transition); font-family: inherit; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--gray-100); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; text-decoration: none; transition: var(--transition); }
.btn-hero-primary { background: var(--primary); color: var(--white); }
.btn-hero-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-hero-secondary { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-hero-secondary:hover { background: rgba(255,255,255,0.25); }

/* --- Pagination --- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; }
.pagination-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--gray-200); color: var(--gray-700); text-decoration: none; font-size: 14px; font-weight: 500; transition: var(--transition-fast); }
.pagination-btn:hover { border-color: var(--primary); color: var(--primary); }
.pagination-info { font-size: 14px; color: var(--gray-500); }

/* --- Empty State --- */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state-icon { font-size: 56px; color: var(--gray-200); margin-bottom: 16px; }
.empty-state-title { font-size: 1.3rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.empty-state-text { font-size: 15px; color: var(--gray-500); margin-bottom: 24px; }

/* --- CMS Page --- */
.cms-page .page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--gray-900); margin-bottom: 24px; }
.cms-content { font-size: 1rem; color: var(--gray-600); line-height: 1.8; }
.cms-content h2, .cms-content h3 { color: var(--gray-900); margin-top: 28px; }
.cms-content p { margin-bottom: 16px; }

/* --- Article --- */
.article-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--gray-900); margin-bottom: 12px; }
.article-meta { font-size: 14px; color: var(--gray-400); margin-bottom: 28px; display: flex; align-items: center; gap: 6px; }
.article-content { font-size: 1rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 32px; }


/* --- Testimonial Carousel --- */
.testimonial-carousel { position: relative; overflow: hidden; width: 100%; }
.testimonial-track { display: flex; gap: 24px; transition: transform 0.5s ease; }
.testimonial-card { min-width: calc(33.333% - 16px); background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--gray-200); box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06); flex-shrink: 0; box-sizing: border-box; }
.testimonial-stars { color: var(--accent); font-size: 16px; margin-bottom: 14px; display: flex; gap: 2px; }
.testimonial-text { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin: 0 0 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.testimonial-author strong { display: block; font-size: 14px; color: var(--gray-900); }
.testimonial-author span { font-size: 13px; color: var(--gray-400); }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gray-200); background: var(--white); color: var(--gray-600); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition-fast); box-shadow: var(--shadow); }
.carousel-arrow:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-dots .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gray-300); background: transparent; cursor: pointer; padding: 0; transition: var(--transition-fast); }
.carousel-dots .dot.active { background: var(--primary); border-color: var(--primary); }
@media (max-width: 768px) {
    .testimonial-card { min-width: calc(50% - 12px); padding: 24px 20px; }
    .carousel-arrow { display: none; }
    .testimonial-text { font-size: 14px; }
}
@media (max-width: 480px) {
    .testimonial-card { min-width: 100%; padding: 20px 16px; }
    .testimonial-text { font-size: 13px; }
}

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.faq-question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 20px; background: var(--white); border: none; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--gray-800); text-align: left; transition: background 0.2s; font-family: inherit; }
.faq-question:hover { background: var(--gray-50); }
.faq-question .bi-chevron-down { transition: transform 0.3s; font-size: 16px; color: var(--gray-400); }
.faq-question.active .bi-chevron-down { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 20px 16px; font-size: 14px; color: var(--gray-500); line-height: 1.7; margin: 0; }

/* --- CTA Section --- */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 72px 24px; text-align: center; }
.cta-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--white); margin: 0 0 12px; }
.cta-content p { font-size: 1.05rem; color: rgba(255,255,255,0.85); margin: 0 0 28px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   Dark Mode / Light Mode Toggle
   ===================================================== */
.dark-mode-toggle {
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 50px;
    height: 38px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    font-size: 18px;
    color: var(--gray-700);
    transition: var(--transition);
    flex-shrink: 0;
    position: relative;
}
.dark-mode-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    transform: rotate(15deg);
}
.dark-mode-toggle i { font-size: 18px; line-height: 1; }
.dark-mode-label { font-size: 12px; font-weight: 600; letter-spacing: 0.3px; }
.navbar-transparent .dark-mode-label { color: rgba(255,255,255,0.88); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }

/* --- Dark Theme --- */
html.dark {
    --gray-50: #1a1a2e;
    --gray-100: #16213e;
    --gray-200: #2a2a4a;
    --gray-300: #3a3a5c;
    --gray-400: #7a7a9a;
    --gray-500: #9a9ab0;
    --gray-600: #b0b0c8;
    --gray-700: #d0d0e0;
    --gray-800: #e8e8f0;
    --gray-900: #f0f0f8;
    --white: #0f0f1a;
    --secondary: #0a0a14;
    --primary-light: rgba(30,94,255,0.15);
}
html.dark {
    width: 100%;
    overflow-x: hidden;
}
html.dark body {
    background: #0f0f1a;
    color: #e8e8f0;
    width: 100%;
    overflow-x: hidden;
}
html.dark a { color: inherit; }
html.dark .slide-title { text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
html.dark .service-hero h1 { text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
html.dark .navbar {
    background: #0f0f1a;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
html.dark body.page-home .navbar { background: transparent; border-bottom: none; }
html.dark body.page-home .navbar.navbar-scrolled { background: #0f0f1a; border-bottom: 1px solid rgba(255,255,255,0.06); }
html.dark .navbar-transparent .nav-brand-name { color: #ffffff; }
html.dark .navbar-transparent .nav-links a { color: rgba(255,255,255,0.88); }
html.dark .navbar-transparent .nav-links a:hover { color: #ffffff; background: rgba(255,255,255,0.15); }
html.dark .navbar-transparent .nav-caret { color: rgba(255,255,255,0.88); }
html.dark .navbar-transparent .dark-mode-toggle { color: rgba(255,255,255,0.88); border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); }
html.dark .navbar-transparent .nav-cta { background: rgba(255,255,255,0.15) !important; color: #ffffff !important; border-color: rgba(255,255,255,0.3); }
html.dark .navbar-transparent .nav-account-trigger { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.88); }
html.dark .navbar-transparent .nav-account-trigger:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); }
html.dark .navbar-transparent .nav-account-avatar { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); color: var(--white); }
html.dark .navbar-transparent .nav-account-trigger:hover .nav-account-avatar { background: rgba(255,255,255,0.3); border-color: rgba(255,255,255,0.6); }
html.dark .navbar-transparent .nav-account-name { color: rgba(255,255,255,0.88); }
html.dark .navbar-transparent .nav-account-chevron { color: rgba(255,255,255,0.6); }
html.dark .navbar-transparent .nav-login-btn { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.88); }
html.dark .navbar-transparent .nav-login-btn:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); }
html.dark .navbar-transparent .nav-login-btn i { color: rgba(255,255,255,0.88); }
html.dark .nav-brand { color: #f0f0f8; }
html.dark .nav-links a { color: #b0b0c8; }
html.dark .nav-links a:hover,
html.dark .nav-links a[aria-current="page"] {
    color: var(--primary);
    background: rgba(30,94,255,0.12);
}
html.dark .nav-icon-btn { color: #d0d0e0; }
html.dark .nav-icon-btn:hover { color: var(--primary); background: rgba(30,94,255,0.12); }
html.dark .nav-account-trigger { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: #e0e0f0; }
html.dark .nav-account-trigger:hover { background: rgba(30,94,255,0.15); border-color: var(--primary); }
html.dark .nav-account-avatar { background: rgba(30,94,255,0.25); color: #60a5fa; border-color: #3b82f6; width: 32px; height: 32px; font-size: 16px; }
html.dark .nav-account-trigger:hover .nav-account-avatar { background: var(--primary); color: white; border-color: var(--primary); }
html.dark .nav-account-name { color: #d0d0e0; }
html.dark .nav-account-chevron { color: #7a7a9a; }
html.dark .nav-login-btn { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: #d0d0e0; }
html.dark .nav-login-btn:hover { background: rgba(30,94,255,0.15); border-color: var(--primary); color: var(--primary); }
html.dark .nav-login-btn i { color: #60a5fa; }
html.dark .nav-account-menu { background: #1a1a2e; border-color: rgba(255,255,255,0.08); box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
html.dark .nav-account-header { color: #e2e8f0; border-bottom-color: rgba(255,255,255,0.06); }
html.dark .nav-account-menu a { color: #b0b0c8; }
html.dark .nav-account-menu a:hover { color: var(--primary); background: rgba(30,94,255,0.12); }
html.dark .nav-account-divider { background: rgba(255,255,255,0.06); }
html.dark .nav-account-logout { color: #b0b0c8; }
html.dark .nav-account-logout:hover { color: #f87171; background: rgba(239,68,68,0.1); }
html.dark .nav-cart-btn { color: #d0d0e0; }
html.dark .nav-cart-btn:hover { background: rgba(30,94,255,0.15); color: #60a5fa; }
html.dark .nav-cart-btn img { filter: brightness(0) invert(1); }
html.dark .dark-mode-toggle { border-color: #3a3a5c; color: #f0c040; background: rgba(240,192,64,0.1); }
html.dark .dark-mode-toggle:hover { border-color: var(--primary); color: var(--primary); background: rgba(30,94,255,0.15); }
html.dark .dark-mode-label { color: #f0c040; }
html.dark .mobile-overlay { background: rgba(0,0,0,0.6); }
html.dark .mobile-nav {
    background: #0f0f1a;
    box-shadow: -4px 0 24px rgba(0,0,0,0.3);
}
html.dark .mobile-nav-header { border-bottom-color: rgba(255,255,255,0.06); }
html.dark .mobile-nav-title { color: #e8e8f0; }
html.dark .mobile-nav-close { color: #9a9ab0; }
html.dark .mobile-nav-close:hover { color: #f0f0f8; }
html.dark .mobile-nav a {
    color: #b0b0c8;
    border-bottom-color: rgba(255,255,255,0.06);
}
html.dark .mobile-nav a.active {
    color: var(--primary);
    background: rgba(30,94,255,0.12);
}
html.dark .mobile-nav-divider { background: rgba(255,255,255,0.08); }
html.dark .mobile-nav-user { color: var(--primary); border-bottom-color: rgba(255,255,255,0.06); }
html.dark .mobile-nav-logout { color: #b0b0c8; border-bottom-color: rgba(255,255,255,0.06); }
html.dark .mobile-dark-toggle { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: #f0c040; margin: 8px 20px; }
html.dark .mobile-dark-toggle .dark-mode-label { color: #f0c040; }
html.dark .card,
html.dark .service-card,
html.dark .product-card,
html.dark .testimonial-card,
html.dark .feature-card,
html.dark .sidebar-card,
html.dark .quote-form-wrap,
html.dark .calculator-form-wrap,
html.dark .result-card,
html.dark .contact-info-card,
html.dark .contact-form,
html.dark .faq-question,
html.dark .faq-item,
html.dark .post-card,
html.dark .portfolio-card,
html.dark .service-detail-card {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.2);
    color: #e8e8f0;
}
html.dark .section-title,
html.dark .service-card-title,
html.dark .product-card-title,
html.dark .step-card h3,
html.dark .feature-card h3,
html.dark .testimonial-author strong,
html.dark .error-title,
html.dark .page-title,
html.dark .article-title,
html.dark .product-detail-title,
html.dark .portfolio-modal-title {
    color: #f0f0f8;
}
html.dark .section-sub,
html.dark .service-card-desc,
html.dark .product-card-desc,
html.dark .step-card p,
html.dark .feature-card p,
html.dark .testimonial-text,
html.dark .article-content,
html.dark .article-meta,
html.dark .post-excerpt,
html.dark .post-meta,
html.dark .error-text,
html.dark .page-sub,
html.dark .product-detail-desc,
html.dark .product-detail-meta .meta-item,
html.dark .portfolio-modal-desc,
html.dark .portfolio-modal-cat,
html.dark .portfolio-card-title,
html.dark .portfolio-card-cat {
    color: #9a9ab0;
}
html.dark .footer {
    background: #0a0a14;
}
html.dark .footer-heading { color: #e8e8f0; }
html.dark .footer-links a { color: #9a9ab0; }
html.dark .footer-links a:hover { color: #ffffff; }
html.dark .footer-contact li { color: #9a9ab0; }
html.dark .footer-contact a { color: #9a9ab0; }
html.dark .footer-contact a:hover { color: #ffffff; }
html.dark .footer-desc { color: #7a7a9a; }
html.dark .footer-social a { background: rgba(255,255,255,0.10); color: #9a9ab0; }
html.dark .footer-social a:hover { transform: translateY(-3px); }
html.dark .footer-bottom { color: #7a7a9a; }
html.dark .cta-section {
    background: linear-gradient(135deg, #1a2744 0%, #0f172a 100%);
}
html.dark .btn-white { background: #2a2a4a; color: #f0f0f8; }
html.dark .btn-white:hover { background: #3a3a5c; color: #f0f0f8; }
html.dark .btn-outline-white { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.3); }
html.dark .btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
html.dark .hero-slider {
    background: #0a0a14;
}
html.dark .trust-bar {
    background: #16213e;
    border-color: rgba(255,255,255,0.06);
}
html.dark .stats-bar { background: #0a0a14; }
html.dark .trust-item { color: #9a9ab0; }
html.dark .filter-btn {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.08);
    color: #b0b0c8;
}
html.dark .filter-btn.active {
    background: var(--primary);
    color: white;
}
html.dark .filter-chip {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.08);
    color: #b0b0c8;
}
html.dark .filter-chip.active {
    background: var(--primary);
    color: white;
}
html.dark .form-control {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.1);
    color: #e8e8f0;
}
html.dark .form-control:focus {
    border-color: var(--primary);
}
html.dark .form-label { color: #b0b0c8; }
html.dark .breadcrumb {
    background: #16213e;
    border-color: rgba(255,255,255,0.06);
}
html.dark .breadcrumb a { color: #9a9ab0; }
html.dark .breadcrumb span { color: #e8e8f0; }
html.dark .pagination-btn {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.08);
    color: #b0b0c8;
}
html.dark .pagination-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
html.dark .size-card,
html.dark .preset-btn,
html.dark .garment-option span,
html.dark .qty-btn {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.08);
    color: #b0b0c8;
}
html.dark .quantity-input { border-color: rgba(255,255,255,0.1); }
html.dark .quantity-input input { color: #e8e8f0; }
html.dark .search-input-wrap input {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.1);
    color: #e8e8f0;
}
html.dark .img-placeholder {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4a 100%);
}
html.dark .img-fallback {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4a 100%);
}
html.dark .product-price-badge { background: var(--primary); color: white; }
html.dark .product-card-quick { background: #2a2a4a; color: #b0b0c8; }
html.dark .product-card-quick:hover { background: var(--primary); color: white; }
html.dark .product-detail-gallery { background: #16213e; }
html.dark .variant-item { background: #16213e; border-color: rgba(255,255,255,0.08); }
html.dark .variant-item:hover { border-color: var(--primary); background: rgba(30,94,255,0.12); }
html.dark .meta-item { background: #16213e; }
html.dark .pricing-table th { background: #16213e; }
html.dark .pricing-table tr:hover td { background: rgba(255,255,255,0.03); }
html.dark .variant-option { border-color: rgba(255,255,255,0.1); background: transparent; }
html.dark .variant-option:hover { border-color: var(--primary); background: rgba(30,94,255,0.1); }
html.dark .variant-option-name { color: #e2e8f0; }
html.dark .quantity-selector { border-color: rgba(255,255,255,0.1); }
html.dark .qty-btn { background: rgba(255,255,255,0.05); color: #d0d0e0; }
html.dark .qty-input { color: #e2e8f0; background: transparent; }
html.dark .product-detail-full h2 { border-bottom-color: rgba(255,255,255,0.08); }
html.dark .related-products h2 { border-bottom-color: rgba(255,255,255,0.08); }
html.dark .dropdown-menu {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.08);
}
html.dark .dropdown-menu a {
    color: #b0b0c8;
}
html.dark .dropdown-menu a:hover {
    background: rgba(30,94,255,0.12);
    color: var(--primary);
}
html.dark table th {
    background: #16213e;
    color: #9a9ab0;
    border-color: rgba(255,255,255,0.08);
}
html.dark table td {
    border-color: rgba(255,255,255,0.06);
    color: #b0b0c8;
}
html.dark table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}
html.dark .empty-state-icon {
    background: rgba(255,255,255,0.05);
}
html.dark .why-choose-icon {
    background: rgba(30,94,255,0.12);
}
html.dark .how-step-number {
    background: var(--primary);
}

/* --- Dark Mode: Comprehensive Text Fixes --- */
html.dark .why-choose-title { color: #f0f0f8; }
html.dark .how-step-title { color: #f0f0f8; }
html.dark .step-number { color: #f0f0f8; background: var(--primary); }
html.dark .mobile-toggle { color: #f0f0f8; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.navbar-transparent .mobile-toggle { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.3); font-size: 24px; cursor: pointer; padding: 8px 10px; line-height: 1; border-radius: var(--radius-sm); align-items: center; justify-content: center; width: 44px; height: 44px; transition: var(--transition); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.navbar-transparent .mobile-toggle:hover { color: var(--white); background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); }
.navbar-transparent .mobile-toggle.active { color: var(--white); background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); }
html.dark .mobile-toggle:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }
html.dark .mobile-nav-customer { color: #e0e0f0; background: rgba(255,255,255,0.05); }
html.dark .nav-dropdown-menu { background: #1a1a2e; border-color: rgba(255,255,255,0.08); box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
html.dark .nav-dropdown-menu a { color: #b0b0c8; }
html.dark .nav-dropdown-menu a:hover { color: var(--primary); background: rgba(30,94,255,0.12); }
html.dark .form-section h3 { color: #f0f0f8; }
html.dark .sidebar-card h4 { color: #f0f0f8; }
html.dark .size-card strong { color: #f0f0f8; }
html.dark .result-line.total { color: #f0f0f8; }
html.dark .contact-info-card h3 { color: #f0f0f8; }
html.dark .cms-content h2, html.dark .cms-content h3 { color: #f0f0f8; }
html.dark .testimonial-author-name { color: #e8e8f0; }
html.dark .portfolio-card-title { color: #f0f0f8; }
html.dark .error-text { color: #b0b0c8; }
html.dark .btn-secondary { background: #2a2a4a; color: #d0d0e0; }
html.dark .btn-outline { border-color: #3a3a5c; color: #d0d0e0; }
html.dark .btn-outline:hover { border-color: var(--primary); color: var(--primary); }
html.dark .pagination-btn { background: #1a1a2e; border-color: rgba(255,255,255,0.08); color: #b0b0c8; }
html.dark .pagination-btn:hover { border-color: var(--primary); color: var(--primary); }
html.dark .empty-state-title { color: #e8e8f0; }
html.dark .breadcrumb { background: #16213e; border-color: rgba(255,255,255,0.06); }
html.dark .info-value a { color: #60a5fa; }
html.dark .badge-secondary { background: #2a2a4a; color: #d0d0e0; }
html.dark .service-hero h1 { color: #ffffff; }
html.dark .service-hero p { color: rgba(255,255,255,0.85); }
html.dark .service-hero .section-badge { background: rgba(255,255,255,0.12); color: #ffffff; }
html.dark .slide-title { color: #ffffff; }
html.dark .slide-subtitle { color: rgba(255,255,255,0.85); }
html.dark .slide-badge { background: rgba(255,255,255,0.12); color: #ffffff; }
html.dark .feature-card { background: #1a1a2e; border-color: rgba(255,255,255,0.1); box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.2); }
html.dark .step-card { background: #1a1a2e; border-color: rgba(255,255,255,0.1); box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.2); }
html.dark .step-card p { color: #9a9ab0; }
html.dark .feature-card p { color: #9a9ab0; }
html.dark .why-choose-text { color: #9a9ab0; }
html.dark .why-choose-section { background: #16213e !important; }
html.dark .feature-icon,
html.dark .step-icon { background: rgba(255,255,255,0.06) !important; }
html.dark .feature-icon i,
html.dark .step-icon i { color: inherit !important; }
html.dark .how-step-text { color: #9a9ab0; }
html.dark .file-upload-item .file-name { color: #d0d0e0; }
html.dark .quantity-input input { color: #e8e8f0; }
html.dark .variant-name { color: #d0d0e0; }
html.dark .pricing-table td { color: #b0b0c8; }
html.dark .product-detail-full h2 { color: #f0f0f8; border-bottom-color: rgba(255,255,255,0.08); }
html.dark .related-products h2 { color: #f0f0f8; border-bottom-color: rgba(255,255,255,0.08); }
html.dark .product-variants h3, html.dark .product-pricing h3 { color: #f0f0f8; }
html.dark .service-detail-title { color: #f0f0f8; }
html.dark .faq-question { color: #e8e8f0; }
html.dark .faq-answer p { color: #b0b0c8; }
html.dark .testimonial-text { color: #b0b0c8; border-left-color: rgba(30,94,255,0.35); }
html.dark .post-title a { color: #f0f0f8; }
html.dark .cms-page .page-title { color: #f0f0f8; }
html.dark .article-title { color: #f0f0f8; }
html.dark .nav-brand { color: #f0f0f8; }
html.dark .nav-brand:hover { color: #f0f0f8; }
html.dark .nav-brand-logo { filter: brightness(1.1); }
html.dark .nav-brand-name { color: #f0f0f8; }
html.dark .mobile-toggle { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: #f0f0f8; }
html.dark .mobile-toggle:hover { background: rgba(30,94,255,0.15); border-color: var(--primary); color: var(--primary); }
html.dark .mobile-toggle.active { background: rgba(30,94,255,0.15); border-color: var(--primary); color: var(--primary); }
html.dark .cta-section { background: linear-gradient(135deg, #1a2744 0%, #0f172a 100%); }
html.dark .cta-content h2 { color: #ffffff; }
html.dark .cta-content p { color: rgba(255,255,255,0.85); }
html.dark .guarantee-icon { background: rgba(16,185,129,0.12); }
html.dark .service-card { background: #1a1a2e; border-color: rgba(255,255,255,0.1); box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.2); }
html.dark .service-card-title { color: #f0f0f8; }
html.dark .service-card-desc { color: #9a9ab0; }
html.dark .service-card-img { background: #16213e; }
html.dark .product-card { background: #1a1a2e; border-color: rgba(255,255,255,0.1); box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.2); }
html.dark .product-card-title { color: #f0f0f8; }
html.dark .product-card-desc { color: #9a9ab0; }
html.dark .product-card-category { background: rgba(30,94,255,0.15); color: #60a5fa; }
html.dark .product-card-img { background: #16213e; }
html.dark .section-badge { background: rgba(30,94,255,0.15); color: #60a5fa; }
html.dark .section { color: #e8e8f0; }
html.dark .testimonial-card { background: #1a1a2e; border-color: rgba(255,255,255,0.1); box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.2); }
html.dark .testimonial-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.3); }
html.dark .hero-stat-number { color: #ffffff; }
html.dark .hero-stat-label { color: rgba(255,255,255,0.65); }
html.dark .slider-dot { border-color: rgba(255,255,255,0.3); }
html.dark .slider-dot.active { background: white; border-color: white; }
html.dark .guarantee-icon {
    background: rgba(16,185,129,0.12);
}

/* --- Image Fallback --- */
.img-fallback {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    gap: 8px;
    min-height: 120px;
    font-size: 13px;
    width: 100%;
    max-width: 100%;
}
.img-fallback i { font-size: 36px; opacity: 0.3; }
.img-fallback span { font-weight: 500; opacity: 0.5; }

/* --- Mobile Improvements (Phase 15) --- */
@media (max-width: 768px) {
    .product-card-body { padding: 16px 18px 18px; }
    .product-card-title { font-size: 0.95rem; }
    .product-card-desc { font-size: 13px; -webkit-line-clamp: 2; }
    .product-card-quick { width: 34px; height: 34px; font-size: 14px; top: 10px; right: 10px; }
    .product-price-badge { font-size: 12px; padding: 4px 12px; bottom: 10px; left: 10px; }
    .product-detail { gap: 24px; margin-bottom: 32px; }
    .product-detail-gallery { border-radius: var(--radius); }
    .product-detail-actions { flex-direction: column; }
    .product-detail-btn-group { flex-direction: column; width: 100%; }
    .product-detail-actions .btn { width: 100%; justify-content: center; }
    .product-detail-full { margin-bottom: 32px; }
    .related-products { margin-top: 32px; }
    .service-hero { padding: 48px 16px; }
    .service-hero h1 { font-size: 1.6rem; }
    .service-hero p { font-size: 1rem; }
    .breadcrumb { padding: 12px 16px; font-size: 13px; }
    .breadcrumb a, .breadcrumb span { font-size: 13px; }
    .variant-list { gap: 6px; }
    .variant-item { padding: 8px 14px; font-size: 13px; }
    .pricing-table { font-size: 13px; }
    .pricing-table th, .pricing-table td { padding: 10px 14px; }
    .meta-item { font-size: 13px; padding: 5px 12px; }
    .quote-layout { gap: 24px; }
    .file-upload-area { padding: 20px 16px; }
    .file-upload-icon { font-size: 28px; }
    .file-upload-text { font-size: 13px; }
}
@media (max-width: 480px) {
    .product-card-body { padding: 14px 16px 16px; }
    .product-card-title { font-size: 0.9rem; }
    .product-detail-title { font-size: 1.3rem; }
    .product-detail-price { font-size: 1.2rem; }
    .cart-item-mobile-stack { flex-direction: column; align-items: stretch !important; }
    .cart-item-mobile-stack > div:first-child { width: 100% !important; height: 160px !important; }
    .cart-item-mobile-stack > div:last-child { align-items: stretch !important; }
}

/* --- Comprehensive Mobile Fixes (Phase 15 Visual) --- */
@media (max-width: 768px) {
    .service-hero { padding: 48px 16px; }
    .service-hero h1 { font-size: 1.6rem; }
    .service-hero p { font-size: 1rem; margin-bottom: 20px; }
    .service-hero .hero-buttons { flex-direction: column; align-items: center; gap: 10px; }
    .service-hero .hero-buttons .btn { width: 100%; justify-content: center; }
    .service-card { padding: 24px 20px; }
    .service-card-icon { width: 48px; height: 48px; font-size: 22px; }
    .service-card-icon-img { width: 56px; height: 56px; }
    .feature-card { padding: 24px 20px; }
    .feature-icon { width: 48px; height: 48px; font-size: 22px; }
    .step-card { padding: 20px 16px; }
    .step-icon { width: 56px; height: 56px; font-size: 24px; }
    .step-icon-img { width: 56px; height: 56px; }
    .cta-section { padding: 48px 16px; margin: 16px; }
    .cta-content h2 { font-size: 1.4rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; justify-content: center; }
    .slide-content { padding: 32px 20px; }
    .slide-badge { font-size: 13px; padding: 8px 18px; }
    .slide-buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .slide-buttons .btn-hero { flex: 0 1 auto; min-width: 0; padding: 14px 24px; font-size: 14px; }
    .slide-subtitle { font-size: 1.1rem; margin-bottom: 24px; }
    .stats-bar { padding: 40px 16px; }
    .stat-icon { font-size: 24px; }
    .stat-number { font-size: 32px; }
    .stat-label { font-size: 11px; letter-spacing: 1px; }
    .trust-item { font-size: 13px; }
    .breadcrumb { padding: 10px 16px; font-size: 12px; flex-wrap: wrap; }
    .page-header { padding: 32px 16px 20px; }
    .section { padding: 48px 16px; }
    .section-title { font-size: 1.5rem; }
    .section-sub { font-size: 0.95rem; }
    .grid-3 { gap: 16px; }
    .grid-4 { gap: 16px; }
    .faq-question { padding: 14px 16px; font-size: 14px; }
    .faq-answer p { padding: 0 16px 14px; }
}
@media (max-width: 480px) {
    .service-hero { padding: 36px 12px; }
    .service-hero h1 { font-size: 1.35rem; }
    .service-hero p { font-size: 0.9rem; }
    .slide, .slide-bg { min-height: 100vh; min-height: 100dvh; }
    .slide-content { padding: 24px 16px; }
    .slide-title { font-size: 1.9rem; }
    .slide-subtitle { font-size: 1rem; margin-bottom: 20px; }
    .stat-number { font-size: 28px; }
    .cta-section { padding: 36px 12px; }
    .cta-content h2 { font-size: 1.2rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ─── Custom Orders Page ─────────────────────────── */
.custom-hero { background: linear-gradient(135deg, var(--secondary) 0%, #1a2744 40%, var(--primary) 100%); color: white; padding: 100px 24px; text-align: center; }
.custom-hero-content { max-width: 800px; margin: 0 auto; }
.custom-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); padding: 8px 20px; border-radius: 50px; font-size: 14px; font-weight: 600; margin-bottom: 24px; }
.custom-hero-title { font-size: 48px; font-weight: 800; letter-spacing: -2px; margin-bottom: 20px; line-height: 1.1; }
.custom-hero-sub { font-size: 18px; opacity: 0.85; max-width: 600px; margin: 0 auto 32px; line-height: 1.7; }
.custom-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.custom-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.custom-step { text-align: center; padding: 32px 20px; background: white; border-radius: var(--radius); border: 1px solid var(--gray-200); box-shadow: 0 2px 8px rgba(0,0,0,0.08); position: relative; }
.custom-step-num { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.custom-step-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 24px; }
.custom-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.custom-step p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

.custom-products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.custom-product-card { background: white; border-radius: var(--radius); border: 1px solid var(--gray-200); box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 28px; text-align: center; transition: var(--transition); }
.custom-product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-color: var(--primary); }
.custom-product-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 26px; }
.custom-product-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.custom-product-card p { font-size: 13px; color: var(--gray-500); line-height: 1.6; margin-bottom: 12px; }
.custom-product-price { font-size: 15px; font-weight: 700; color: var(--primary); }

.kingdom-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kingdom-card { background: white; border-radius: var(--radius); border: 1px solid var(--gray-200); box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 28px; transition: var(--transition); }
.kingdom-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.kingdom-card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.kingdom-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.kingdom-card p { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

.custom-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.custom-form-card { background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); box-shadow: 0 4px 16px rgba(0,0,0,0.1); padding: 36px; min-width: 0; }
.custom-form-info { padding-right: 24px; }
.custom-info-items { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.custom-info-item { display: flex; gap: 14px; align-items: flex-start; }
.custom-info-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.custom-info-item strong { display: block; font-size: 14px; margin-bottom: 2px; }
.custom-info-item p { font-size: 13px; color: var(--gray-500); margin: 0; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-600); margin-bottom: 6px; }
.form-control { width: 100%; padding: 10px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; background: white; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,94,255,0.12); }

.size-qty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size-qty-item { text-align: center; }
.size-qty-item label { display: block; font-size: 12px; font-weight: 600; color: var(--gray-500); margin-bottom: 4px; }
.size-input { text-align: center; padding: 8px 4px !important; }

.file-upload-area { border: 2px dashed var(--gray-300); border-radius: var(--radius); padding: 32px; text-align: center; cursor: pointer; transition: var(--transition); }
.file-upload-area:hover { border-color: var(--primary); background: var(--primary-light); }
.file-upload-area p { margin: 4px 0 0; font-size: 14px; color: var(--gray-600); }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.features-grid .feature-card { padding: 28px; text-align: center; border-radius: var(--radius); }

@media (max-width: 1024px) {
    .custom-steps { grid-template-columns: repeat(2, 1fr); }
    .custom-products-grid { grid-template-columns: repeat(2, 1fr); }
    .kingdom-categories { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .custom-hero-title { font-size: 36px; }
    .custom-form-grid { grid-template-columns: 1fr; }
    .custom-steps { grid-template-columns: 1fr; }
    .custom-products-grid { grid-template-columns: 1fr; }
    .kingdom-categories { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .size-qty-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .custom-hero-title { font-size: 28px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* --- General Mobile Overflow Fixes --- */
@media (max-width: 768px) {
    body { overflow-x: hidden; }
    .container { padding-left: 16px; padding-right: 16px; }
    img { max-width: 100%; height: auto; }
    .page-header { padding: 24px 16px 16px; }
    h1, .page-title { font-size: 1.4rem; line-height: 1.3; }
    h2, .section-title { font-size: 1.2rem; }
    h3 { font-size: 1rem; }
    .btn { padding: 8px 16px; font-size: 13px; white-space: nowrap; }
    .btn-lg { padding: 10px 20px; font-size: 14px; }
    .alert { font-size: 13px; word-wrap: break-word; }
    .card { overflow: hidden; }
    .card-body { word-wrap: break-word; overflow-wrap: break-word; }
    table { word-break: break-word; }
    .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -16px; padding: 0 16px; }
    .table-wrap table { min-width: 500px; }
    .topbar { gap: 8px; }
    .topbar-actions { gap: 6px; }
    .nav-brand-logo { height: 44px; }
    .nav-brand-name { font-size: 16px; }
    .nav-container { padding: 0 12px; gap: 0; }
    .nav-actions { gap: 4px; }
}
@media (max-width: 480px) {
    .custom-hero { padding: 60px 16px; }
    .custom-hero-title { font-size: 26px; letter-spacing: -1px; }
    .custom-hero-sub { font-size: 15px; }
    .custom-hero-actions { flex-direction: column; gap: 10px; }
    .custom-hero-actions .btn { width: 100%; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .custom-form-card { padding: 20px; }
    .custom-form-grid { gap: 24px; }
}
@media (max-width: 360px) {
    .nav-brand-logo { height: 36px; }
    .nav-brand-name { font-size: 14px; }
    .nav-cart-btn { width: 32px; height: 32px; }
    .nav-cart-btn img { width: 18px; height: 18px; }
    .mobile-toggle { width: 38px; height: 38px; font-size: 20px; }
    .hero-title { font-size: 30px; letter-spacing: -1px; }
    .hero-sub { font-size: 16px; }
    .btn-hero { padding: 12px 20px; font-size: 13px; }
    .slide-title { font-size: 1.8rem; }
    .slide-subtitle { font-size: 0.95rem; }
    .slide-buttons .btn-hero { padding: 12px 20px; font-size: 13px; }
}

/* --- Final Responsive Fixes (Pre-Deployment) --- */
.cart-item-mobile-stack { display: flex; flex-direction: row; gap: 20px; }
.checkout-form-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .btn-sm { padding: 10px 16px; font-size: 13px; min-height: 44px; }
    .hero-badge { font-size: 14px; padding: 10px 20px; }
    .cart-layout { grid-template-columns: 1fr !important; }
    .checkout-layout { grid-template-columns: 1fr !important; }
    .quote-layout { grid-template-columns: 1fr !important; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .calculator-layout { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .qty-btn { width: 44px !important; height: 44px !important; font-size: 18px !important; }
    .qty-input { width: 50px !important; height: 44px !important; font-size: 16px !important; }
    .cart-qty-btn { width: 44px !important; height: 44px !important; font-size: 18px !important; }
    .cart-qty { width: 50px !important; height: 44px !important; font-size: 16px !important; }
    .remove-btn, .cart-remove-btn { min-height: 44px !important; padding: 8px 12px !important; }
    .checkout-form-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
    .product-card-footer { flex-wrap: wrap; gap: 8px; }
    .product-card-footer .btn { width: auto; flex: 0 1 auto; }
    .product-card .btn-sm { white-space: normal; word-break: break-word; }
    .product-detail-actions { flex-direction: column; align-items: stretch; }
    .product-detail-actions .btn { width: 100%; justify-content: center; }
    .file-upload-item { max-width: 100%; }
    #fileList { overflow: hidden; }
    .custom-form-card { overflow: hidden; }
    .service-card { padding: 20px 16px; }
    .btn-group { flex-wrap: wrap; }
    .btn-group .btn { flex: 1 1 auto; min-width: 0; }
    .nav-cart-badge { font-size: 10px; min-width: 16px; height: 16px; }
    .product-variants-badge { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100px; flex-shrink: 1; }
}
@media (max-width: 480px) {
    .hero-badge { font-size: 12px; padding: 8px 16px; }
    .hero-stat-number { font-size: 32px; }
    .stat-number { font-size: 24px; }
    .btn-hero { padding: 12px 28px; font-size: 14px; }
    .cart-item-mobile-stack > div:first-child { width: 100% !important; height: 140px !important; }
    .cart-item-mobile-stack { flex-wrap: wrap; }
    .cart-item-mobile-stack > div:last-child { width: 100%; justify-content: flex-start; flex-direction: row; gap: 10px; }
}

/* --- Mobile Responsiveness Fixes --- */
@media (max-width: 768px) {
    .add-to-cart-btn { min-width: 0; width: 100%; }
    .hero-stats { gap: 24px; }
    .notification-msg, .notification-title { word-break: break-word; overflow-wrap: break-word; }
}
@media (max-width: 480px) {
    .add-to-cart-btn { padding: 12px 16px; font-size: 14px; }
    .cart-item-img { width: 72px !important; height: 72px !important; }
}
@media (max-width: 360px) {
    .add-to-cart-btn { padding: 10px 14px; font-size: 13px; }
}

/* --- Production v1.7 — Cache Busting & Responsive Audit Fixes --- */

/* Safe-area (notch/Dynamic Island) support */
@supports (padding: env(safe-area-inset-top)) {
    .nav { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
    .footer { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
    .hero { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
}

/* 320px — Smallest phones */
@media (max-width: 360px) {
    .page-title, h1 { font-size: 1.25rem !important; }
    .page-sub, .section-subtitle { font-size: 0.8rem !important; }
    .btn { padding: 8px 12px; font-size: 12px; }
    .btn-hero { padding: 10px 20px; font-size: 12px; }
    .badge { font-size: 10px; padding: 2px 6px; }
    .card { border-radius: 8px; }
    .card-header { padding: 10px 14px; }
    .card-body { padding: 14px; }
    table { font-size: 12px; }
    table th { font-size: 9px; padding: 6px 8px; }
    table td { font-size: 11px; padding: 8px; }
    .form-control { font-size: 13px; padding: 8px 10px; }
    .stat-value { font-size: 20px; }
    .hero-title { font-size: 1.5rem !important; }
    .hero-sub { font-size: 0.85rem !important; }
    .hero-stats { gap: 16px; }
    .hero-stat-number { font-size: 24px; }
    .hero-stat-label { font-size: 10px; }
    .slide-title { font-size: 1.3rem !important; }
    .slide-subtitle { font-size: 0.8rem !important; }
    .section-title { font-size: 1.3rem !important; }
    .filter-bar .form-control { font-size: 12px; }
    .table-wrap { margin: 0 -12px; padding: 0 12px; }
    .table-wrap table { min-width: 400px; }
}

/* 361px — 390px */
@media (min-width: 361px) and (max-width: 390px) {
    .hero-title { font-size: 1.8rem !important; }
    .page-title { font-size: 1.35rem !important; }
    .table-wrap table { min-width: 420px; }
}

/* 391px — 430px (iPhone 14/15 Pro Max) */
@media (min-width: 391px) and (max-width: 430px) {
    .table-wrap table { min-width: 440px; }
}

/* 431px — 480px */
@media (min-width: 431px) and (max-width: 480px) {
    .table-wrap table { min-width: 460px; }
}

/* Landscape phones */
@media (max-height: 480px) and (orientation: landscape) {
    .hero { min-height: auto; padding: 40px 24px; }
    .hero-title { font-size: 1.6rem !important; }
    .hero-sub { font-size: 0.9rem !important; }
    .nav { padding-top: 8px; padding-bottom: 8px; }
    .hero-stats { gap: 16px; }
    .hero-stat-number { font-size: 22px; }
    .page-title { font-size: 1.2rem; }
    .section { padding: 30px 0; }
    .card { margin-bottom: 12px; }
}

/* Tablets 768-834px */
@media (min-width: 768px) and (max-width: 834px) {
    .table-wrap table { min-width: auto; width: 100%; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablets 820-1024px Landscape */
@media (min-width: 835px) and (max-width: 1024px) {
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .table-wrap table { min-width: auto; width: 100%; }
}
