/* ============================================
   ASR ROLLER SHUTTER - Main Stylesheet
   ============================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary: #1a3a5c;
    --primary-light: #2d5f8a;
    --primary-dark: #0f2640;
    --accent: #ff6b35;
    --accent-hover: #e85a25;
    --accent-glow: rgba(255, 107, 53, 0.4);
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --dark-card: #162032;
    --light: #f8fafc;
    --light-gray: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient-primary: linear-gradient(135deg, #1a3a5c 0%, #2d5f8a 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   GLOBAL RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1005;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar .logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.navbar .logo span {
    color: var(--accent);
}

/* ============================================
   NAVIGATION & MENUS (Desktop & Mobile Drawer)
   ============================================ */
.nav-links {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: inline-flex;
}

.nav-menu a {
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-cta {
    background: var(--gradient-accent) !important;
    color: white !important;
    padding: 10px 22px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4) !important;
    background: var(--accent-hover) !important;
}

/* Hide mobile-specific drawer elements on desktop */
.mobile-toggle,
.mobile-close,
.mobile-nav-header,
.mobile-nav-footer,
.nav-overlay,
.nav-icon,
.nav-arrow {
    display: none;
}

/* ============================================
   MOBILE NAVIGATION DRAWER (Screens <= 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 8px;
        width: 44px;
        height: 44px;
        color: white;
        font-size: 1.6rem;
        cursor: pointer;
        transition: var(--transition);
    }
    
    .mobile-toggle:hover {
        background: rgba(255, 255, 255, 0.15);
        color: var(--accent);
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(5, 10, 20, 0.7);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 86vw);
        height: 100vh;
        height: 100dvh;
        background: #0f172a !important;
        background-color: #0f172a !important;
        border-left: 1px solid rgba(255, 255, 255, 0.15);
        z-index: 1010;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 0;
        transform: translateX(105%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    /* Drawer Header */
    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.03);
        flex-shrink: 0;
    }

    .mobile-nav-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: 'Outfit', sans-serif;
        font-size: 1.15rem;
        font-weight: 800;
        color: #ffffff !important;
    }

    .mobile-nav-logo .logo-icon {
        width: 36px;
        height: 36px;
        background: var(--gradient-accent);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.15rem;
        color: white;
        box-shadow: 0 3px 10px rgba(255, 107, 53, 0.35);
    }

    .mobile-brand-name {
        color: #ffffff !important;
    }

    .mobile-brand-name span {
        color: var(--accent) !important;
    }

    .mobile-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #ffffff !important;
        font-size: 1.4rem;
        cursor: pointer;
        transition: var(--transition);
    }

    .mobile-close:hover {
        background: rgba(239, 68, 68, 0.25);
        color: #ef4444 !important;
        border-color: rgba(239, 68, 68, 0.5);
    }

    /* Drawer Menu List */
    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        list-style: none;
        margin: 0;
        padding: 16px 14px;
        gap: 6px;
        flex-grow: 1;
    }

    .nav-menu li {
        width: 100%;
        display: block;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 13px 16px;
        border-radius: 10px;
        color: #ffffff !important;
        font-weight: 500;
        font-size: 1rem;
        text-decoration: none;
        transition: all 0.2s ease;
        background: transparent;
        border: 1px solid transparent;
    }

    .nav-menu a span {
        color: #ffffff !important;
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.1);
        transform: translateX(4px);
    }

    .nav-menu a.active {
        background: rgba(255, 107, 53, 0.18) !important;
        color: #ff6b35 !important;
        font-weight: 700;
        border-color: rgba(255, 107, 53, 0.35) !important;
    }

    .nav-menu a.active span {
        color: #ff6b35 !important;
        font-weight: 700;
    }

    .nav-menu a.active::after {
        display: none !important;
    }

    .nav-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        font-size: 1.3rem;
        color: var(--accent) !important;
        margin-right: 12px;
        flex-shrink: 0;
    }

    .nav-arrow {
        display: inline-flex;
        margin-left: auto;
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.35);
        transition: transform 0.2s ease, color 0.2s ease;
        flex-shrink: 0;
    }

    .nav-menu a:hover .nav-arrow {
        transform: translateX(3px);
        color: #ffffff;
    }

    .nav-cta-item {
        margin-top: 10px;
        padding-top: 6px;
        width: 100%;
    }

    .nav-menu .nav-cta {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 20px !important;
        font-size: 1rem !important;
        border-radius: 10px !important;
        text-align: center;
        background: linear-gradient(135deg, #ff6b35, #ff8c42) !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4) !important;
    }

    /* Drawer Footer */
    .mobile-nav-footer {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 16px 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.35);
        flex-shrink: 0;
        margin-top: auto;
    }

    .mobile-emergency-tag {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.8rem;
        font-weight: 600;
        color: #ff8c42 !important;
        background: rgba(255, 107, 53, 0.15);
        padding: 7px 12px;
        border-radius: 6px;
        border: 1px solid rgba(255, 107, 53, 0.25);
    }

    .mobile-footer-contacts {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-footer-link {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.88rem;
        color: #cbd5e1 !important;
        text-decoration: none;
        transition: color 0.2s;
    }

    .mobile-footer-link i {
        color: var(--accent) !important;
        font-size: 1.15rem;
    }

    .mobile-footer-link:hover {
        color: #ffffff !important;
    }
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(26, 58, 92, 0.7) 50%,
        rgba(15, 23, 42, 0.6) 100%
    );
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: white;
    margin-bottom: 16px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 550px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.slider-dots .dot.active {
    background: var(--accent);
    border-color: white;
    transform: scale(1.2);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-dark {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--gradient-dark);
    color: white;
}

.section-gray {
    background: #f1f5f9;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    color: var(--dark);
}

.section-dark .section-header h2 {
    color: white;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   SERVICE REQUEST BAR
   ============================================ */
.service-request-bar {
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-top: -60px;
    position: relative;
    z-index: 20;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

.service-request-bar h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-request-bar h3 i {
    color: var(--accent);
    font-size: 1.5rem;
}

.service-request-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.8fr auto;
    gap: 16px;
    align-items: flex-end;
}

.service-request-grid .form-group {
    display: flex;
    flex-direction: column;
}

.service-request-grid .form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 500;
    line-height: 1.2;
}

.service-request-grid select,
.service-request-grid input,
.service-request-grid textarea {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.service-request-grid select option {
    background: var(--dark);
    color: white;
}

.service-request-grid select:focus,
.service-request-grid input:focus,
.service-request-grid textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.service-request-grid .form-group-btn {
    justify-content: flex-end;
}

.service-request-grid .form-group-btn .btn-whatsapp {
    height: 48px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-sizing: border-box;
    font-size: 0.95rem;
    font-weight: 600;
    gap: 8px;
}

@media (max-width: 768px) {
    .service-request-grid {
        grid-template-columns: 1fr;
    }
    .service-request-bar {
        margin-top: -40px;
        padding: 24px 20px;
    }
    .service-request-grid .btn-label-spacer {
        display: none;
    }
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .icon-box {
    width: 64px;
    height: 64px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 20px;
    transition: var(--transition);
    flex-shrink: 0;
}

.service-card:hover .icon-box {
    background: var(--gradient-accent);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1 1 auto; /* Critical: pushes bottom button so all buttons line up */
}

.service-card .btn,
.service-card .btn-whatsapp {
    margin-top: auto;
    align-self: flex-start;
}

.section-dark .service-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .service-card h3 {
    color: white;
}

.section-dark .service-card p {
    color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-card .image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-card .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .image-wrapper img {
    transform: scale(1.08);
}

.product-card .image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.product-card:hover .image-overlay {
    opacity: 1;
}

.product-card .card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.product-card .card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.product-card .card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1 1 auto;
}

.product-card .card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

/* ============================================
   STATS COUNTER
   ============================================ */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.why-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.why-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.why-card .icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 20px;
    transition: var(--transition);
    flex-shrink: 0;
}

.why-card:hover .icon-circle {
    background: var(--gradient-accent);
    color: white;
    transform: scale(1.08);
}

.why-card h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.why-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
    flex: 1 1 auto;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    border: 1px solid var(--light-gray);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.section-dark .testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.25;
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card .stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-card .stars i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.testimonial-card .text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
    flex: 1 1 auto; /* Critical: pushes author to the bottom so all cards align */
}

.section-dark .testimonial-card .text {
    color: rgba(255, 255, 255, 0.75);
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto; /* Locked to the bottom */
}

.testimonial-card .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-card .author-info h4 {
    font-size: 1rem;
    color: var(--dark);
}

.section-dark .testimonial-card .author-info h4 {
    color: white;
}

.testimonial-card .author-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.section-dark .testimonial-card .author-info span {
    color: rgba(255, 255, 255, 0.5);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    padding: 80px 0;
    background: var(--gradient-accent);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.cta-banner h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: white;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta-banner p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item .gallery-overlay span {
    color: white;
    font-weight: 600;
}

.gallery-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.gallery-filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h3 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
}

.footer-col .footer-logo span {
    color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-bottom {
    padding: 24px 0;
    padding-right: 90px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .developer-credit a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-bottom .developer-credit a:hover {
    color: white;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-bottom {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 8px;
        padding-right: 0;
        padding-bottom: 90px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================
   FLOATING ACTION BUTTONS (WHATSAPP & SCROLL TOP)
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-float a {
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float .tooltip {
    background: var(--dark);
    color: white;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll To Top Button - Placed neatly above WhatsApp */
.scroll-top-btn,
#scrollTop {
    position: fixed;
    bottom: 95px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    font-size: 1.25rem;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.scroll-top-btn:hover,
#scrollTop:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.scroll-top-btn:active,
#scrollTop:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float a {
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
    .scroll-top-btn,
    #scrollTop {
        bottom: 82px;
        right: 25px;
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: white;
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748b' d='m7 10l5 5l5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* ============================================
   PAGE HEADER / BREADCRUMB
   ============================================ */
.page-header {
    padding: 160px 0 80px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 107, 53, 0.08);
    border-radius: 50%;
    filter: blur(80px);
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    position: relative;
    z-index: 2;
}

.breadcrumb li {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.breadcrumb li a {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb li a:hover {
    color: var(--accent);
}

.breadcrumb li.active {
    color: var(--accent);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   QUOTE FORM MULTI-STEP
   ============================================ */
.quote-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.quote-step {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.4;
    transition: var(--transition);
}

.quote-step.active {
    opacity: 1;
}

.quote-step .step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.quote-step.active .step-num {
    background: var(--accent);
    color: white;
}

.quote-step.completed .step-num {
    background: var(--success);
    color: white;
}

.quote-step-content {
    display: none;
}

.quote-step-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 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; }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .hero-slider { min-height: 500px; }
    .hero-content { padding: 0 6%; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .services-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .quote-steps { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .container { padding: 0 16px; }
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-gallery .main-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    aspect-ratio: 4/3;
}

.product-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery .thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.product-gallery .thumb {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    aspect-ratio: 1;
}

.product-gallery .thumb.active,
.product-gallery .thumb:hover {
    border-color: var(--accent);
}

.product-gallery .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.product-info .category-tag {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-info .description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.specs-table tr {
    border-bottom: 1px solid var(--light-gray);
}

.specs-table td {
    padding: 14px 16px;
    font-size: 0.95rem;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--dark);
    width: 40%;
    background: #f8fafc;
}

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.contact-info-item .icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.contact-form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-lg);
}

.map-container {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 350px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image .experience-box {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--gradient-accent);
    color: white;
    padding: 20px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.about-image .experience-box h3 {
    font-size: 2rem;
    color: white;
    line-height: 1;
}

.about-image .experience-box span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.about-content .highlight {
    color: var(--accent);
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 500;
}

.about-feature-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LEGAL / POLICY PAGES (Privacy & Terms)
   ============================================ */
.legal-wrapper {
    padding: 60px 0 90px;
    background: #f8fafc;
}

.legal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--light-gray);
    padding: 48px 56px;
    max-width: 960px;
    margin: 0 auto;
}

.legal-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 24px;
    margin-bottom: 36px;
}

.legal-header h1 {
    font-size: 2.2rem;
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 10px;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.legal-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legal-meta span i {
    color: var(--accent);
}

.legal-toc {
    background: #f8fafc;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin-bottom: 40px;
}

.legal-toc h4 {
    color: var(--dark);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.legal-toc ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 8px 20px;
    margin: 0;
    padding: 0;
}

.legal-toc a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-toc a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.4rem;
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
}

.legal-section h2 i {
    color: var(--accent);
    font-size: 1.3rem;
}

.legal-section p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal-section ul, .legal-section ol {
    margin: 14px 0 18px 24px;
    color: #475569;
    line-height: 1.8;
}

.legal-section li {
    margin-bottom: 8px;
}

.legal-box {
    background: #f1f5f9;
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 20px 0;
    border: 1px solid #e2e8f0;
}

.legal-box.highlight-box {
    background: rgba(255, 107, 53, 0.06);
    border: 1px solid rgba(255, 107, 53, 0.25);
}

.legal-box p {
    margin-bottom: 0;
}

.legal-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.legal-contact-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.legal-contact-item i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 2px;
}

.legal-contact-item div h5 {
    margin: 0 0 4px;
    font-size: 0.9rem;
    color: var(--dark);
}

.legal-contact-item div p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-legal-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.footer-legal-links .sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 28px 20px;
    }
    .legal-header h1 {
        font-size: 1.7rem;
    }
    .footer-legal-links {
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }
}

