/* ========================================
   TAJY MOTOSIERRAS - MODERN DESIGN 2026
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF6600;
    --dark-orange: #CC5200;
    --light-orange: #FF8833;
    --accent-orange: #FFE4CC;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #757575;
    --border-color: #E8E8E8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-orange: 0 4px 20px rgba(255, 102, 0, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--off-white);
    overflow-x: hidden;
}

/* Headings use Montserrat for a strong, industrial feel */
h1, h2, h3, h4, h5, h6,
.brand-text h1,
.section-title,
.hero h2,
.cta-section h3 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   HEADER - Glassmorphism Style
   ======================================== */
header {
    background: rgba(255, 102, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--white);
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(204, 82, 0, 0.3);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 55px;
    width: auto;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    border-color: var(--white);
}

.brand-text h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

.brand-text p {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-xl);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    transform: scale(0);
    transition: var(--transition);
}

nav a:hover::before {
    transform: scale(1);
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

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

/* ========================================
   HERO SECTION - Modern Split Design
   ======================================== */
.hero {
    background: linear-gradient(160deg, var(--dark-orange) 0%, var(--primary-orange) 50%, var(--light-orange) 100%);
    color: var(--white);
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animated Background Pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

/* Decorative Elements */
.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge::before {
    content: '⭐';
    font-size: 1rem;
}

.hero h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    text-transform: none;
}

.hero h2 span {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 2rem;
    margin-top: 0.5rem;
    letter-spacing: 0;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.hero-img-wrapper {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.hero-img-main {
    grid-column: 1 / -1;
    height: 250px;
}

.hero-img-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.hero-img-grid .hero-img {
    height: 150px;
}

.hero-img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Stats in Hero */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--primary-orange);
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-reset {
    padding: 0.9rem 1.8rem;
    background: var(--text-medium);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-reset:hover {
    background: var(--text-dark);
    transform: translateY(-2px);
}

/* ========================================
   FEATURES STRIP
   ======================================== */
.features-strip {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-orange), var(--white));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========================================
   BRANDS SECTION
   ======================================== */
.brands-section {
    background: var(--white);
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-orange);
    color: var(--dark-orange);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: none;
}

.section-title span {
    color: var(--primary-orange);
}

.section-description {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.brand-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-orange) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.brand-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-8px);
    box-shadow: var(--shadow-orange);
}

.brand-card:hover::before {
    opacity: 1;
}

.brand-card.active {
    border-color: var(--primary-orange);
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--white) 100%);
    box-shadow: var(--shadow-orange);
}

.brand-card img {
    max-width: 100%;
    height: auto;
    max-height: 50px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.brand-card:hover img {
    transform: scale(1.1);
}

.brand-card-name {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--light-gray) 100%);
}

/* Modern Filter Bar */
.filter-bar {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 180px;
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select,
.search-input {
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-dark);
    width: 100%;
}

.filter-select:focus,
.search-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.1);
}

.search-input {
    min-width: 250px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23757575' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.price-filter {
    flex: 1;
    min-width: 200px;
}

.price-filter label {
    font-size: 0.8rem;
    color: var(--text-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

#priceValue {
    color: var(--primary-orange);
    font-weight: 700;
}

.price-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    background: linear-gradient(90deg, var(--primary-orange) 0%, var(--light-orange) 100%);
    cursor: pointer;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    border: 3px solid var(--primary-orange);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-orange);
}

.price-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    border: 3px solid var(--primary-orange);
    box-shadow: var(--shadow-md);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.loading-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
}

.spinner {
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-orange);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Product Card - Modern Design */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card.placeholder {
    opacity: 0.7;
    cursor: default;
}

.product-image {
    height: 200px;
    background: linear-gradient(145deg, var(--light-gray) 0%, var(--accent-orange) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.05) 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.placeholder-icon {
    font-size: 4rem;
    opacity: 0.4;
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-orange);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.product-info .category {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    color: var(--white);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info .brand {
    display: inline-flex;
    align-items: center;
    background: var(--light-gray);
    color: var(--text-medium);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.product-info .model {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.product-info .description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.product-info .price {
    font-size: 1.4rem;
    color: var(--primary-orange);
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.product-info .stock {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.product-info .stock::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.product-info .stock.in-stock {
    color: #22C55E;
}

.product-info .stock.in-stock::before {
    background: #22C55E;
}

.product-info .stock.low-stock {
    color: #F59E0B;
}

.product-info .stock.low-stock::before {
    background: #F59E0B;
}

.product-info .stock.out-of-stock {
    color: #EF4444;
}

.product-info .stock.out-of-stock::before {
    background: #EF4444;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-orange) 0%, transparent 100%);
    opacity: 0.5;
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-orange);
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: var(--white);
}

.contact-logo {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    font-size: 1rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Contact Map Placeholder */
.contact-map {
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-lg);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--dark-orange) 0%, var(--primary-orange) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #25D366;
    color: var(--white);
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    height: 50px;
    margin-bottom: 1rem;
    border: none;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Admin Panel */
.admin-panel {
    background-color: var(--white);
    padding: 3rem 0;
    border-bottom: 3px solid var(--primary-orange);
}

.upload-section {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--white) 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--light-orange);
}

.upload-section h3 {
    color: var(--dark-orange);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.upload-section > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.upload-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.file-input {
    display: none;
}

.btn-upload {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--text-dark);
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    font-weight: 500;
}

.btn-upload:hover {
    border-color: var(--primary-orange);
    background: var(--accent-orange);
}

.upload-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    display: none;
}

.upload-status.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    display: block;
}

.upload-status.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

/* ========================================
   RESPONSIVE DESIGN - Enhanced Mobile
   ======================================== */

/* WhatsApp contact logo special styling */
.whatsapp-icon {
    background: #25D366 !important;
}

.whatsapp-svg-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

.whatsapp-contact-logo {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-images {
        margin-top: 2rem;
    }

    .hero-img-main {
        height: 200px;
    }

    .hero-img-grid .hero-img {
        height: 120px;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Header improvements */
    header {
        padding: 0.6rem 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .logo-container {
        gap: 0.75rem;
    }

    nav {
        order: 3;
        width: 100%;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    nav a {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }

    /* Hero section mobile */
    .hero {
        padding: 8rem 0 3rem;
        min-height: auto;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero h2 span {
        font-size: 1.2rem;
        margin-top: 0.3rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .stat-item {
        text-align: center;
        flex: 1;
        min-width: 80px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Section titles */
    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    /* Brands grid */
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .brand-card {
        padding: 1.25rem 0.75rem;
        min-height: 110px;
    }

    .brand-card img {
        max-height: 40px;
    }

    .brand-card-name {
        font-size: 0.7rem;
        margin-top: 0.5rem;
    }

    /* Features grid */
    .features-strip {
        padding: 1.5rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-item {
        padding: 0.75rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .feature-text h4 {
        font-size: 0.9rem;
    }

    .feature-text p {
        font-size: 0.8rem;
    }

    /* Products section */
    .products-section {
        padding: 3rem 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-bar {
        flex-direction: column;
        padding: 1rem;
        gap: 0.75rem;
        margin: 1.5rem 0;
    }

    .filter-group {
        width: 100%;
        min-width: unset;
    }

    .filter-label {
        font-size: 0.75rem;
    }

    .filter-select,
    .search-input {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .search-input {
        min-width: 100%;
    }

    .btn-reset {
        width: 100%;
        padding: 0.8rem;
    }

    /* Product cards */
    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 1.25rem;
    }

    .product-info h3 {
        font-size: 1rem;
    }

    .product-info .price {
        font-size: 1.2rem;
    }

    /* Contact section */
    .contact-section {
        padding: 3rem 0;
    }

    .contact-content {
        gap: 2rem;
    }

    .contact-info {
        gap: 1rem;
    }

    .contact-item {
        padding: 1.25rem;
        gap: 1rem;
    }

    .contact-item .icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .contact-item h4 {
        font-size: 0.9rem;
    }

    .contact-item p {
        font-size: 0.85rem;
    }

    .contact-map {
        height: 300px;
        border-radius: var(--radius-md);
    }

    /* CTA Section */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-section h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    /* Footer */
    footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-brand .logo {
        height: 45px;
    }

    .footer-links h4 {
        margin-bottom: 1rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo {
        height: 45px;
    }

    .brand-text h1 {
        font-size: 1.3rem;
    }

    .brand-text p {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
    }

    nav a {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 7.5rem 0 2.5rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero h2 span {
        font-size: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero-img-main {
        height: 160px;
    }

    .hero-img-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .hero-img-grid .hero-img {
        height: 90px;
    }

    .hero-img-grid .hero-img:last-child {
        grid-column: 1 / -1;
        height: 100px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-stats {
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    /* Brands */
    .brands-section {
        padding: 3rem 0;
    }

    .brand-card {
        padding: 1rem 0.5rem;
        min-height: 100px;
    }

    .brand-card img {
        max-height: 35px;
    }

    /* Products */
    .product-card {
        border-radius: var(--radius-md);
    }

    .product-image {
        height: 160px;
    }

    .product-info {
        padding: 1rem;
    }

    .product-info h3 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .product-meta {
        gap: 0.4rem;
        margin-bottom: 0.75rem;
    }

    .product-info .category,
    .product-info .brand {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    .product-footer {
        padding-top: 0.75rem;
    }

    .product-info .price {
        font-size: 1.1rem;
    }

    .product-info .stock {
        font-size: 0.75rem;
    }

    /* CTA */
    .cta-section h3 {
        font-size: 1.3rem;
    }

    .cta-section p {
        font-size: 0.9rem;
    }

    .whatsapp-btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .whatsapp-btn svg {
        width: 20px;
        height: 20px;
    }

    /* Contact */
    .contact-item {
        padding: 1rem;
    }

    .contact-item .icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .whatsapp-contact-logo {
        width: 22px;
        height: 22px;
    }

    .contact-map {
        height: 250px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .brand-text h1 {
        font-size: 1.1rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
