/* ============================================
   SP Electrical Lightning Outlet
   Hybrid PWA Stylesheet - Mobile-First
   Brand: Yellow (#F5C518), Navy (#1B2A4A)
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --primary: #F5C518;
    --primary-dark: #D4A910;
    --primary-light: #FFF3C4;
    --secondary: #1B2A4A;
    --secondary-dark: #0F1B33;
    --secondary-light: #2C4170;
    --accent: #E8A200;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --gray-50: #F9FAFB;
    --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;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --whatsapp: #25D366;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --bottom-nav-height: 72px;
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom));
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    color: var(--secondary);
    line-height: 1.2;
    font-weight: 700;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
    overflow-wrap: break-word;
}

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

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

iframe,
video {
    max-width: 100%;
}

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 48px 0;
}

/* ---- Preloader ---- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    color: var(--primary);
}

.loader i {
    font-size: 40px;
    animation: pulse 1s ease-in-out infinite;
    display: block;
    margin-bottom: 12px;
}

.loader span {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

/* ---- Install Banner ---- */
.install-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99998;
    background: var(--secondary);
    color: var(--white);
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.install-banner.visible {
    transform: translateY(0);
}

.install-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.install-banner-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--secondary);
    font-size: 18px;
}

.install-banner-text {
    flex: 1;
    min-width: 0;
}

.install-banner-text strong {
    display: block;
    font-family: var(--font-main);
    font-size: 13px;
}

.install-banner-text span {
    font-size: 11px;
    color: var(--gray-400);
}

.install-banner-btn {
    background: var(--primary);
    color: var(--secondary);
    border: none;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.install-banner-btn:active {
    transform: scale(0.95);
}

.install-banner-close {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
    display: flex;
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom) + 16px);
    right: 16px;
    width: 52px;
    height: 52px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover,
.whatsapp-float:active {
    transform: scale(1.1);
    color: var(--white);
}

/* ---- Back to Top ---- */
#backToTop {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom) + 16px);
    right: 16px;
    width: 44px;
    height: 44px;
    background: var(--secondary);
    color: var(--primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:active {
    transform: scale(0.9);
}

/* ============================================
   MOBILE NAVIGATION - App-Style
   ============================================ */

/* ---- Top Navbar (compact on mobile) ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 10px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(27, 42, 74, 0.97);
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
}

.nav-logo:hover { color: var(--primary); }

.logo-icon {
    background: var(--primary);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: var(--font-main);
    font-weight: 900;
}

.logo-s {
    color: var(--secondary);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.logo-amp {
    color: var(--white);
    font-size: 8px;
    position: absolute;
    top: 3px;
    right: 5px;
}

.logo-p {
    color: var(--secondary);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 14px;
    color: var(--white);
    line-height: 1.1;
}

.logo-sub {
    font-size: 9px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* Desktop nav menu hidden on mobile */
.nav-menu {
    display: none;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile slide-out menu */
.nav-menu.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--secondary);
    flex-direction: column;
    padding: 80px 24px 30px;
    gap: 4px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.4);
    z-index: 9998;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.nav-link {
    color: rgba(255,255,255,0.85);
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    min-height: 48px;
    display: flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(245, 197, 24, 0.1);
}

.nav-link.nav-cta {
    background: var(--primary);
    color: var(--secondary);
    padding: 14px 20px;
    border-radius: var(--radius-full);
    margin-top: 12px;
    justify-content: center;
}

.nav-link.nav-cta:hover {
    background: var(--primary-dark);
    color: var(--secondary);
}

/* ============================================
   MOBILE BOTTOM NAVIGATION - App Tab Bar
   ============================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(var(--bottom-nav-height) + var(--safe-area-bottom));
    padding-bottom: var(--safe-area-bottom);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.08);
    z-index: 9999;
    border-top: 1px solid var(--gray-100);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    min-height: 44px;
    padding: 8px 0;
    color: var(--gray-400);
    font-size: 11px;
    line-height: 1.2;
    font-family: var(--font-main);
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
    text-decoration: none;
    touch-action: manipulation;
}

.bottom-nav-item i {
    font-size: 18px;
    transition: var(--transition-fast);
}

.bottom-nav-item.active {
    color: var(--primary-dark);
}

.bottom-nav-item.active i {
    color: var(--primary-dark);
}

.bottom-nav-item:active {
    transform: scale(0.9);
}

/* ============================================
   HERO SECTION - Mobile Compact
   ============================================ */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 50%, #0D1526 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    background: var(--primary);
}

.shape-1 { width: 300px; height: 300px; top: -100px; right: -50px; }
.shape-2 { width: 200px; height: 200px; bottom: -50px; left: -80px; }
.shape-3 { width: 120px; height: 120px; top: 40%; left: 60%; }

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 197, 24, 0.12);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(245, 197, 24, 0.15);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 12px;
}

.hero-line1 {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: 4px;
}

.hero-highlight {
    display: block;
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 4px;
}

.hero-line3 {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-200);
}

.hero-subtitle {
    color: var(--primary);
    font-style: italic;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
}

.hero-desc {
    color: var(--gray-400);
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    width: 100%;
    max-width: 100%;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 14px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    min-height: 48px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--secondary);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

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

.btn-lg {
    padding: 16px 36px;
    font-size: 15px;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 12px;
    min-height: 44px;
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
}

.btn-sm:hover {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 16px;
}

/* ---- Hero Stats ---- */
.hero-stats {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 11px;
    color: var(--gray-400);
    margin-top: 4px;
}

/* ---- Hero Visual (hidden on mobile) ---- */
.hero-visual { display: none; }

/* ---- Hero Wave ---- */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 60px;
}

/* ---- Info Bar ---- */
.info-bar {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
    z-index: 3;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: var(--radius);
    background: var(--gray-50);
    transition: var(--transition);
}

.info-item:active {
    background: var(--primary-light);
    transform: scale(0.98);
}

.info-item i {
    font-size: 20px;
    color: var(--primary);
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--secondary);
    margin-bottom: 1px;
}

.info-item span {
    font-size: 12px;
    color: var(--gray-500);
}

.info-item a {
    color: var(--secondary);
    font-weight: 600;
}

/* ---- Section Header ---- */
.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--secondary);
}

.section-header p {
    font-size: 14px;
    color: var(--gray-500);
    max-width: 500px;
    margin: 0 auto;
}

/* ---- About Section ---- */
.about-section { background: var(--white); }

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-content h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.about-tagline {
    color: var(--primary-dark);
    font-style: italic;
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 500;
}

.about-content p {
    margin-bottom: 14px;
    line-height: 1.7;
    font-size: 14px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--gray-50);
    transition: var(--transition);
}

.feature-item:active { background: var(--primary-light); }

.feature-icon {
    color: var(--primary-dark);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item strong {
    display: block;
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--secondary);
}

.feature-item span {
    font-size: 12px;
    color: var(--gray-500);
}

/* ---- About Cards ---- */
.about-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.about-card.accent {
    background: var(--secondary);
    border-color: var(--secondary);
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.about-card-header i {
    font-size: 20px;
    color: var(--primary);
}

.about-card-header h4 {
    font-family: var(--font-main);
    font-size: 16px;
}

.about-card.accent .about-card-header h4 {
    color: var(--white);
}

.serving-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-600);
}

.serving-list li:last-child { border-bottom: none; }

.serving-list li i {
    color: var(--primary);
    font-size: 12px;
}

.contact-quick-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.contact-quick-list li:last-child { border-bottom: none; }
.contact-quick-list li i { color: var(--primary); font-size: 16px; width: 20px; text-align: center; }
.contact-quick-list li a { color: var(--gray-200); }
.contact-quick-list li a:hover { color: var(--primary); }

.badge {
    background: rgba(245, 197, 24, 0.15);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    font-family: var(--font-main);
    text-transform: uppercase;
    margin-left: auto;
}

/* ---- Services Section ---- */
.services-section { background: var(--gray-50); }

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:active { transform: scale(0.98); }
.service-card:active::before { transform: scaleX(1); }

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), rgba(245, 197, 24, 0.2));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 26px;
    color: var(--primary-dark);
}

.service-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 14px;
    line-height: 1.6;
}

.service-features { text-align: left; }

.service-features li {
    padding: 5px 0;
    font-size: 12px;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: var(--success);
}

/* ---- Products Section ---- */
.products-section { background: var(--white); }

.product-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.product-filters::-webkit-scrollbar { display: none; }

.filter-btn {
    padding: 10px 18px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    border-radius: var(--radius-full);
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    min-height: 44px;
    flex-shrink: 0;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--secondary);
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    display: flex;
    flex-direction: row;
}

.product-card.hidden { display: none; }

.product-card:active {
    transform: scale(0.98);
}

.product-image {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    width: 110px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.product-image i {
    font-size: 36px;
    color: var(--primary);
    opacity: 0.8;
}

.product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 9px;
    font-weight: 700;
    font-family: var(--font-main);
    text-transform: uppercase;
}

.product-badge.popular { background: var(--primary); color: var(--secondary); }
.product-badge.new { background: var(--success); color: var(--white); }

.product-info {
    padding: 14px;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.product-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.product-info p {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 10px;
    line-height: 1.5;
    flex: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--gray-100);
    gap: 8px;
    flex-wrap: wrap;
}

.product-category {
    font-size: 10px;
    color: var(--gray-400);
    font-weight: 600;
}

.product-category i { color: var(--primary); }

.products-cta {
    text-align: center;
    margin-top: 32px;
    padding: 28px 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.products-cta p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

/* ---- Gallery Section ---- */
.gallery-section {
    background: var(--secondary);
    padding: 48px 0;
}

.gallery-section .section-tag {
    background: rgba(245, 197, 24, 0.15);
    color: var(--primary);
}

.gallery-section .section-header h2 { color: var(--white); }
.gallery-section .section-header p { color: var(--gray-400); }

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 140px;
    gap: 12px;
}

.gallery-item {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.1), rgba(245, 197, 24, 0.05));
    border: 1px solid rgba(245, 197, 24, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.gallery-item.large { grid-column: auto; }

.gallery-item:active {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.2), rgba(245, 197, 24, 0.1));
    transform: scale(0.98);
}

.gallery-content { padding: 16px; }
.gallery-content i { color: var(--primary); margin-bottom: 8px; }
.gallery-content h4 { color: var(--white); font-size: 14px; margin-bottom: 4px; }
.gallery-content p { color: var(--gray-400); font-size: 11px; }

.real-photos-header h2 { color: var(--white); }
.real-photos-header p { color: var(--gray-300); }

.real-photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.real-photo-card {
    position: relative;
    min-height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--secondary-dark);
    border: 1px solid rgba(245, 197, 24, 0.18);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.real-photo-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.real-photo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 27, 51, 0.75) 0%, transparent 60%);
    z-index: 1;
}

.real-photo-card:active {
    transform: scale(0.985);
}

.real-photo-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 16px;
}

.real-photo-overlay h4 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 4px;
}

.real-photo-overlay p {
    color: var(--gray-200);
    font-size: 12px;
    line-height: 1.4;
}

/* ---- Supabase Live Gallery ---- */
.cloud-gallery-section {
    background: linear-gradient(180deg, #f3f6fd 0%, #eef2fb 100%);
}

.cloud-gallery-section .section-tag {
    background: #dce6ff;
    color: #19366f;
}

.cloud-gallery-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.upload-panel,
.cloud-gallery-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    padding: 20px;
}

.upload-panel h3,
.cloud-gallery-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.upload-panel-note {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.auth-form,
.image-upload-form {
    display: grid;
    gap: 10px;
}

.form-label {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
}

.auth-form input,
.image-upload-form input[type="file"] {
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--white);
}

.auth-form input:focus,
.image-upload-form input[type="file"]:focus {
    outline: none;
    border-color: var(--secondary-light);
    box-shadow: 0 0 0 3px rgba(44, 65, 112, 0.16);
}

.auth-actions {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}

.upload-panel .btn-outline,
.cloud-gallery-content .btn-outline {
    color: var(--secondary);
    border-color: var(--gray-300);
}

.upload-panel .btn-outline:hover,
.cloud-gallery-content .btn-outline:hover {
    color: var(--white);
    background: var(--secondary);
    border-color: var(--secondary);
}

.auth-state {
    border: 1px solid #d7e5ff;
    background: #eef4ff;
    border-radius: var(--radius);
    padding: 12px;
    margin-bottom: 14px;
}

.auth-state p {
    font-size: 13px;
    margin-bottom: 10px;
    color: #20457f;
}

.image-upload-form fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.image-upload-form fieldset:disabled {
    opacity: 0.6;
}

.field-hint {
    color: var(--gray-500);
    font-size: 12px;
}

.auth-hint {
    font-size: 13px;
    color: var(--gray-600);
}

.upload-progress-wrap {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.upload-progress-wrap progress {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
}

.upload-progress-wrap progress::-webkit-progress-bar {
    background: var(--gray-200);
}

.upload-progress-wrap progress::-webkit-progress-value {
    background: linear-gradient(90deg, #0ea5e9 0%, #1d4ed8 100%);
}

.upload-progress-wrap progress::-moz-progress-bar {
    background: linear-gradient(90deg, #0ea5e9 0%, #1d4ed8 100%);
}

.upload-progress-wrap span {
    font-size: 12px;
    font-family: var(--font-main);
    font-weight: 700;
    color: #1d4ed8;
}

.upload-status {
    margin-top: 12px;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
}

.upload-status.is-info {
    background: #eaf0fe;
    color: #22437d;
    border-color: #cadbff;
}

.upload-status.is-success {
    background: #eaf9f2;
    color: #0f6b45;
    border-color: #bde8d5;
}

.upload-status.is-error {
    background: #ffeef0;
    color: #a02538;
    border-color: #ffc9d2;
}

.cloud-gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.cloud-gallery-toolbar .btn {
    padding: 9px 16px;
    min-height: 40px;
}

.cloud-gallery-loading,
.cloud-gallery-error,
.cloud-gallery-empty {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 14px;
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 14px;
}

.cloud-gallery-error {
    color: #a02538;
    border-color: #ffc9d2;
    background: #ffeef0;
}

.cloud-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.cloud-gallery-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cloud-gallery-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.cloud-gallery-meta {
    padding: 10px 12px;
    border-top: 1px solid var(--gray-100);
}

.cloud-gallery-meta time {
    font-size: 12px;
    color: var(--gray-500);
}

/* ---- Testimonials Section ---- */
.testimonials-section { background: var(--gray-50); }

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.testimonial-card:active { transform: scale(0.98); }

.testimonial-stars { margin-bottom: 12px; }
.testimonial-stars i { color: var(--primary); font-size: 14px; }

.testimonial-text {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar { font-size: 36px; color: var(--primary); }

.testimonial-author strong {
    display: block;
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--secondary);
}

.testimonial-author span {
    font-size: 11px;
    color: var(--gray-400);
}

/* ---- Why Section ---- */
.why-section { background: var(--white); }

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

.why-item {
    text-align: center;
    padding: 24px 14px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    background: var(--gray-50);
}

.why-item:active {
    border-color: var(--primary-light);
    background: var(--primary-light);
}

.why-number {
    font-family: var(--font-main);
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 8px;
    line-height: 1;
}

.why-item h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.why-item p {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ---- Contact Section ---- */
.contact-section { background: var(--gray-50); }

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-info-panel {
    background: var(--secondary);
    border-radius: var(--radius-xl);
    padding: 28px;
    color: var(--white);
}

.contact-info-panel h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 6px;
}

.contact-info-panel > p {
    color: var(--gray-400);
    font-size: 13px;
    margin-bottom: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

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

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-icon.whatsapp { background: rgba(37, 211, 102, 0.15); color: var(--whatsapp); }
.contact-icon.cell { background: rgba(245, 197, 24, 0.15); color: var(--primary); }
.contact-icon.landline { background: rgba(99, 179, 237, 0.15); color: #63B3ED; }
.contact-icon.email { background: rgba(237, 100, 166, 0.15); color: #ED64A6; }
.contact-icon.location { background: rgba(245, 197, 24, 0.15); color: var(--primary); }

.contact-detail-item strong {
    display: block;
    font-size: 11px;
    color: var(--gray-400);
    margin-bottom: 1px;
}

.contact-detail-item a,
.contact-detail-item span {
    color: var(--white);
    font-size: 14px;
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}

.contact-detail-item a:hover { color: var(--primary); }

/* ---- Business Hours ---- */
.business-hours {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px;
}

.business-hours h4 {
    color: var(--primary);
    font-size: 13px;
    margin-bottom: 10px;
}

.business-hours h4 i { margin-right: 6px; }

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-300);
    padding: 3px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hours-row:last-child { border-bottom: none; }

/* ---- Social Links ---- */
.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-link.whatsapp { background: rgba(37, 211, 102, 0.15); color: var(--whatsapp); }
.social-link.email { background: rgba(237, 100, 166, 0.15); color: #ED64A6; }
.social-link.phone { background: rgba(245, 197, 24, 0.15); color: var(--primary); }

.social-link:active { transform: scale(0.9); }

/* ---- Contact Form ---- */
.contact-form-panel {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.contact-form-panel h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group label i {
    color: var(--primary);
    margin-right: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 16px; /* 16px prevents iOS zoom */
    color: var(--gray-700);
    transition: var(--transition);
    background: var(--white);
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.15);
}

.form-group textarea { resize: vertical; }

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 14px;
}

.form-note a {
    color: var(--whatsapp);
    font-weight: 600;
}

.form-success {
    text-align: center;
    padding: 48px 16px;
}

.form-success i {
    font-size: 56px;
    color: var(--success);
    margin-bottom: 14px;
}

.form-success h4 {
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 6px;
}

.form-success p { color: var(--gray-500); }

/* ---- Map ---- */
.map-container { margin-top: 16px; }

.map-container h3 {
    font-size: 20px;
    margin-bottom: 16px;
    text-align: center;
}

.map-container h3 i { color: var(--primary); }

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-200);
}

.map-note {
    text-align: center;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 10px;
}

.map-note i { color: var(--primary); }

/* ---- Footer ---- */
.footer {
    background: var(--secondary-dark);
    padding: 40px 0 0;
    color: var(--gray-300);
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom) + 20px);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 6px;
}

.footer h4 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul li,
.footer-products ul li,
.footer-contact ul li {
    padding: 5px 0;
    font-size: 13px;
}

.footer-links ul li a,
.footer-products ul li a {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-products ul li a:hover {
    color: var(--primary);
}

.footer-links ul li i,
.footer-products ul li i {
    color: var(--primary);
    font-size: 10px;
    margin-right: 6px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact ul li i {
    color: var(--primary);
    width: 16px;
    text-align: center;
    margin-top: 4px;
}

.footer-contact ul li a {
    color: var(--gray-400);
}

.footer-contact ul li a:hover { color: var(--primary); }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--gray-500);
}

.footer-credit {
    margin-top: 4px;
    font-size: 11px !important;
    color: var(--gray-600) !important;
}

/* ============================================
   PAGE HERO - Sub-page banners
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 50%, #0D1526 100%);
    padding: 100px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.page-hero-bg .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    background: var(--primary);
}

.page-hero-bg .shape-1 { width: 300px; height: 300px; top: -100px; right: -50px; }
.page-hero-bg .shape-2 { width: 200px; height: 200px; bottom: -80px; left: -60px; }

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-hero p {
    color: var(--gray-400);
    font-size: 14px;
    max-width: 500px;
    margin: 0 auto;
}

.page-hero .section-tag {
    background: rgba(245, 197, 24, 0.15);
    color: var(--primary);
    margin-bottom: 12px;
}

/* Gallery page full-width grid */
.gallery-grid-full {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
}

/* Gallery page body style */
.gallery-page .gallery-section {
    padding-top: 48px;
}

/* ============================================
   TABLET BREAKPOINT (768px+)
   ============================================ */
@media (min-width: 768px) {
    .container { max-width: 720px; padding: 0 24px; }
    .section { padding: 64px 0; }

    .hero { padding: 100px 0 80px; }
    .hero-highlight { font-size: 40px; }
    .hero-line3 { font-size: 24px; }
    .hero-actions { flex-direction: row; justify-content: center; max-width: none; }

    .section-header { margin-bottom: 48px; }
    .section-header h2 { font-size: 30px; }

    .info-items { flex-direction: row; }

    .about-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

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

    .product-image {
        width: 100%;
        height: 160px;
        min-height: auto;
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

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

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .real-photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .real-photo-card {
        min-height: 260px;
    }

    .auth-actions {
        grid-template-columns: 1fr 1fr;
    }

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

/* ============================================
   DESKTOP BREAKPOINT (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    /* Remove mobile bottom nav */
    .bottom-nav { display: none; }

    body {
        padding-bottom: 0;
    }

    .container {
        max-width: 1200px;
        padding: 0 32px;
    }

    .section { padding: 100px 0; }

    /* Desktop WhatsApp float */
    .whatsapp-float {
        bottom: 28px;
        right: 28px;
        width: 60px;
        height: 60px;
        font-size: 28px;
        animation: whatsappBounce 2s ease infinite;
    }

    .whatsapp-float:hover {
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    }

    @keyframes whatsappBounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-6px); }
    }

    /* Page hero desktop */
    .page-hero { padding: 140px 0 60px; }
    .page-hero h1 { font-size: 40px; }
    .page-hero p { font-size: 16px; }

    /* Gallery full grid desktop */
    .gallery-grid-full {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 220px;
    }

    .real-photo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .real-photo-card {
        min-height: 280px;
    }

    .cloud-gallery-layout {
        grid-template-columns: 340px 1fr;
        align-items: start;
    }

    .upload-panel,
    .cloud-gallery-content {
        padding: 24px;
    }

    .cloud-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    /* Back to Top repositioned */
    #backToTop {
        bottom: 100px;
        right: 32px;
    }

    #backToTop:hover {
        background: var(--primary);
        color: var(--secondary);
        transform: translateY(-3px);
    }

    /* Full Desktop Navigation */
    .navbar { padding: 16px 0; }

    .navbar.scrolled { padding: 12px 0; }

    .nav-toggle { display: none; }

    .nav-menu {
        display: flex !important;
        align-items: center;
        gap: 4px;
        position: static;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        animation: none;
    }

    .nav-link {
        font-size: 13px;
        padding: 8px 14px;
        min-height: auto;
    }

    .nav-link.nav-cta {
        margin-top: 0;
        margin-left: 8px;
        padding: 8px 20px;
    }

    .logo-icon { width: 44px; height: 44px; }
    .logo-s, .logo-p { font-size: 16px; }
    .logo-amp { font-size: 10px; top: 4px; right: 6px; }
    .logo-main { font-size: 16px; }
    .logo-sub { font-size: 10px; letter-spacing: 1.5px; }

    /* Hero Desktop - Two Column */
    .hero {
        padding: 140px 0 100px;
    }

    .hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        text-align: left;
        align-items: center;
    }

    .hero-badge { font-size: 13px; padding: 8px 20px; }
    .hero-line1 { font-size: 20px; }
    .hero-highlight { font-size: 52px; }
    .hero-line3 { font-size: 28px; }
    .hero-subtitle { font-size: 18px; }

    .hero-desc {
        font-size: 16px;
        max-width: 500px;
        margin: 0 0 32px;
        line-height: 1.7;
    }

    .hero-actions {
        flex-direction: row;
        justify-content: flex-start;
        max-width: none;
        margin-bottom: 48px;
    }

    .hero-stats {
        justify-content: flex-start;
        gap: 40px;
    }

    .stat-item { text-align: left; }
    .stat-number { font-size: 36px; }

    /* Show hero visual */
    .hero-visual {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-image-wrapper {
        position: relative;
        width: 100%;
        max-width: 480px;
    }

    .hero-glow {
        position: absolute;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(245, 197, 24, 0.2), transparent 70%);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
    }

    .hero-card-display {
        position: relative;
        width: 360px;
        height: 360px;
        margin: 0 auto;
    }

    .main-icon-display {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 140px;
        height: 140px;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 60px rgba(245, 197, 24, 0.3);
        animation: heroGlow 3s ease-in-out infinite;
    }

    .main-icon-display i {
        font-size: 60px;
        color: var(--secondary);
    }

    @keyframes heroGlow {
        0%, 100% { box-shadow: 0 0 60px rgba(245, 197, 24, 0.3); }
        50% { box-shadow: 0 0 100px rgba(245, 197, 24, 0.5); }
    }

    .icon-float {
        position: absolute;
        width: 56px;
        height: 56px;
        background: rgba(245, 197, 24, 0.1);
        border: 1px solid rgba(245, 197, 24, 0.2);
        border-radius: var(--radius);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 22px;
        backdrop-filter: blur(10px);
        animation: float 4s ease-in-out infinite;
    }

    .i1 { top: 10px; left: 50%; transform: translateX(-50%); animation: float1 4s ease-in-out infinite; }
    .i2 { top: 30%; right: 10px; animation-delay: 0.5s; }
    .i3 { bottom: 30%; right: 20px; animation-delay: 1s; }
    .i4 { bottom: 10px; left: 50%; transform: translateX(-50%); animation: float4 4s ease-in-out infinite 1.5s; }
    .i5 { top: 30%; left: 10px; animation-delay: 2s; }

    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }

    @keyframes float1 {
        0%, 100% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-50%) translateY(-10px); }
    }

    @keyframes float4 {
        0%, 100% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-50%) translateY(-10px); }
    }

    .hero-wave svg { height: 80px; }
    .shape-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
    .shape-2 { width: 400px; height: 400px; bottom: -100px; left: -150px; }
    .shape-3 { width: 200px; height: 200px; }

    /* Info Bar Desktop */
    .info-bar { padding: 32px 0; }

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

    .info-item {
        padding: 16px;
    }

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

    .info-item i { font-size: 24px; width: 52px; height: 52px; }

    /* Section Header Desktop */
    .section-header { margin-bottom: 60px; }
    .section-header h2 { font-size: 36px; }
    .section-header p { font-size: 16px; max-width: 600px; }

    /* About Desktop */
    .about-grid {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 48px;
        align-items: start;
    }

    .about-content h3 { font-size: 28px; }
    .about-content p { font-size: 15px; line-height: 1.8; }

    .about-card { padding: 28px; }

    .feature-item {
        background: transparent;
    }

    .feature-item:hover {
        background: var(--gray-50);
    }

    /* Services Desktop */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .service-card { padding: 32px; }

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
    }

    .service-card:hover::before { transform: scaleX(1); }

    .service-card:hover .service-icon {
        background: var(--primary);
    }

    .service-card:hover .service-icon i {
        color: var(--secondary);
    }

    .service-icon { width: 72px; height: 72px; }
    .service-icon i { font-size: 30px; }
    .service-card h3 { font-size: 18px; }
    .service-card p { font-size: 14px; }

    /* Products Desktop */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .product-image {
        width: 100%;
        height: 180px;
        min-height: auto;
    }

    .product-image i { font-size: 52px; }
    .product-info { padding: 20px; }
    .product-info h4 { font-size: 16px; }
    .product-info p { font-size: 13px; }

    .product-filters {
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 40px;
    }

    .filter-btn {
        padding: 10px 22px;
        font-size: 13px;
    }

    .products-cta { padding: 40px; margin-top: 48px; }
    .products-cta p { font-size: 16px; }

    /* Gallery Desktop */
    .gallery-section { padding: 100px 0; }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 220px;
        gap: 16px;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item:hover {
        background: linear-gradient(135deg, rgba(245, 197, 24, 0.2), rgba(245, 197, 24, 0.1));
        transform: scale(1.02);
    }

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

    /* Testimonials Desktop */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .testimonial-card { padding: 32px; }

    .testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .testimonial-text { font-size: 15px; line-height: 1.8; }

    /* Why Desktop */
    .why-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .why-item {
        padding: 32px 20px;
        border: 1px solid transparent;
        background: transparent;
    }

    .why-item:hover {
        border-color: var(--primary-light);
        background: var(--primary-light);
    }

    .why-item:hover .why-number { opacity: 1; }

    .why-number { font-size: 48px; }
    .why-item h3 { font-size: 18px; }
    .why-item p { font-size: 14px; line-height: 1.7; }

    /* Contact Desktop */
    .contact-info-panel { padding: 40px; }
    .contact-info-panel h3 { font-size: 24px; }

    .contact-form-panel { padding: 40px; }
    .contact-form-panel h3 { font-size: 24px; }

    /* Footer Desktop */
    .footer {
        padding: 60px 0 0;
        padding-bottom: 0;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 40px;
        padding-bottom: 40px;
    }

    .footer h4 { font-size: 16px; }
    .footer-links ul li a:hover,
    .footer-products ul li a:hover {
        padding-left: 4px;
    }
}

/* ============================================
   MOBILE REFINEMENTS (768px and below)
   ============================================ */
@media (max-width: 768px) {
    .bottom-nav { display: flex; }

    body {
        padding-bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom));
    }

    .footer {
        padding-bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom) + 20px);
    }

    .section { padding: 44px 0; }
    .section-header { margin-bottom: 28px; }

    .info-items,
    .about-grid,
    .about-features,
    .services-grid,
    .products-grid,
    .testimonials-grid,
    .contact-grid,
    .footer-grid {
        display: flex;
        flex-direction: column;
    }

    .form-row {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .product-card { flex-direction: row; }

    .product-image {
        width: 110px;
        min-height: 110px;
        height: auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 140px;
    }

    .gallery-item.large {
        grid-column: auto;
        grid-row: auto;
    }

    .why-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; max-width: 100%; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }

    .about-card,
    .service-card,
    .testimonial-card,
    .contact-info-panel,
    .contact-form-panel {
        padding: 20px;
    }

    .products-cta { padding: 24px 16px; }

    .cloud-gallery-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-tag { font-size: 12px; }
    .info-item strong { font-size: 14px; }
    .info-item span { font-size: 13px; }
    .feature-item strong { font-size: 14px; }
    .feature-item span { font-size: 13px; }
    .badge { font-size: 11px; }
    .service-card p { font-size: 14px; }
    .service-features li { font-size: 13px; }
    .product-badge { font-size: 10px; }
    .product-info p { font-size: 13px; }
    .product-category { font-size: 11px; }
    .gallery-content p { font-size: 12px; }
    .testimonial-author span { font-size: 12px; }
    .why-item p { font-size: 13px; }
    .contact-detail-item strong { font-size: 12px; }
    .business-hours h4 { font-size: 14px; }
    .hours-row { font-size: 13px; }
    .form-group label { font-size: 13px; }
    .form-note { font-size: 13px; }
    .map-note { font-size: 13px; }
    .footer-links ul li,
    .footer-products ul li,
    .footer-contact ul li { font-size: 14px; }
    .footer-bottom p { font-size: 13px; }
    .footer-credit { font-size: 12px !important; }

    .btn,
    .filter-btn,
    .install-banner-btn,
    .install-banner-close,
    .nav-link,
    .bottom-nav-item { min-height: 44px; }

    .install-banner-close { min-width: 44px; }

    #backToTop {
        bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom) + 12px);
    }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .hero { padding: 78px 0 56px; }
    .hero-line1 { font-size: 14px; }
    .hero-highlight { font-size: 30px; }
    .hero-line3 { font-size: 18px; }
    .hero-subtitle,
    .hero-desc { font-size: 14px; }
    .section-header h2 { font-size: 22px; }

    .product-card { flex-direction: column; }
    .product-image {
        width: 100%;
        height: 150px;
        min-height: 150px;
    }

    .contact-info-panel,
    .contact-form-panel { padding: 18px; }

    .hours-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

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

    .btn-sm {
        padding: 8px 14px;
        font-size: 11px;
    }

    .install-banner-content {
        gap: 8px;
    }
    .install-banner-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
    .install-banner-btn {
        padding: 6px 14px;
        font-size: 11px;
    }

    .cloud-gallery-grid {
        gap: 12px;
    }
}

@media (max-width: 359px) {
    .container { padding: 0 12px; }
    .hero-highlight { font-size: 26px; }
    .hero-line3 { font-size: 16px; }
    .hero-badge { font-size: 10px; padding: 6px 12px; }
    .stat-number { font-size: 24px; }
    .stat-label { font-size: 10px; }
    .hero-stats { gap: 12px; }
    .section-header h2 { font-size: 20px; }

    .contact-info-panel,
    .contact-form-panel { padding: 14px; }

    .about-card { padding: 16px; }
    .service-card { padding: 16px; }
    .testimonial-card { padding: 16px; }

    .contact-detail-item { gap: 10px; }
    .contact-icon { width: 38px; height: 38px; font-size: 16px; }
    .contact-detail-item a,
    .contact-detail-item span { font-size: 13px; }
}

/* ============================================
   TABLET-ONLY ADJUSTMENTS (769px - 1023px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1023px) {
    .bottom-nav { display: none; }

    body { padding-bottom: 0; }

    .footer { padding-bottom: 0; }

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

    #backToTop { bottom: 24px; }
}

/* ============================================
   LARGE DESKTOP (1400px+)
   ============================================ */
@media (min-width: 1400px) {
    .container { max-width: 1400px; }
    .hero-highlight { font-size: 58px; }
    .hero-line3 { font-size: 32px; }
    .section-header h2 { font-size: 40px; }
}

/* ---- Fade In Animation ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Print Styles ---- */
@media print {
    .navbar, .whatsapp-float, #backToTop, .hero-wave, .hero-bg-shapes, .bottom-nav, .install-banner {
        display: none !important;
    }
    .hero { min-height: auto; padding: 40px 0; }
    .section { padding: 30px 0; }
    body { color: #000; background: #fff; padding-bottom: 0; }
}
