:root {
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: rgba(220, 38, 38, 0.08);
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --bg-card-border: #e5e7eb;
    --bg-surface: #f9fafb;
    --text-white: #111827;
    --text-muted: #6b7280;
    --text-dim: #9ca3af;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-red: 0 10px 30px rgba(220, 38, 38, 0.15);
    --radius: 16px;
    --radius-sm: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Top Bar */
.top-bar {
    background: #1e40af;
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.top-bar__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 500;
}

/* Header */
.header {
    position: fixed;
    top: 32px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav__logo-img {
    height: 110px;
    width: auto;
    object-fit: contain;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav__link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: var(--text-white);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #111827;
    transition: var(--transition);
}

/* Hero Slider */
.hero {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    margin-top: 112px;
}

.hero__slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__slides {
    position: absolute;
    inset: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide.active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero__slide-overlay {
    display: none;
}

.hero__content {
    position: absolute;
    z-index: 10;
    bottom: 4rem;
    left: 4rem;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.hero__description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 440px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.hero__dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero__dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn--primary {
    background: #111827;
    color: #ffffff;
}

.btn--primary:hover {
    background: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn--outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn--red {
    background: var(--primary);
    color: #ffffff;
}

.btn--red:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

.btn--large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn--full {
    width: 100%;
}

/* Sections */
.section__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.section__description {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Brands */
.brands {
    padding: 4rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.brands__title {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

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

.brand-item {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.brand-item:hover {
    border-color: var(--primary);
}

.brand-item span {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Products */
.products {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.products__header {
    text-align: center;
    margin-bottom: 2rem;
}

.products__categories {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.category-btn:hover {
    border-color: var(--primary);
    color: var(--text-white);
}

.category-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--bg-card-border);
    transition: var(--transition);
}

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

.product-card__image {
    background: var(--bg-surface);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}

.product-card__image svg {
    width: 48px;
    height: 48px;
    color: var(--text-dim);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.products__loading,
.products__error,
.products__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.product-card__content {
    padding: 1.25rem;
}

.product-card__category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card__content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.25rem 0;
    color: var(--text-white);
}

.product-card__content p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.products__cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Services */
.services {
    padding: 5rem 0;
    background: var(--bg-surface);
}

.services__title {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.service-card {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid var(--bg-card-border);
    text-align: center;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.service-card__icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
}

.service-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.service-card__text {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* CTA */
.cta {
    padding: 5rem 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.cta__content {
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.cta__text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.cta .btn--primary {
    background: #ffffff;
    color: var(--primary);
}

.cta .btn--primary:hover {
    background: #f3f4f6;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Contact */
.contact {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.contact__title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact__card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-surface);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--bg-card-border);
}

.contact__card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__card-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.contact__card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-white);
}

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

.contact__form {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--bg-card-border);
}

.contact__form-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-white);
}

.form__group {
    margin-bottom: 0.875rem;
}

.form__group input,
.form__group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--bg-card);
    color: var(--text-white);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
    color: var(--text-dim);
}

.form__group input:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form__group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Footer */
.footer {
    background: #111827;
    padding: 3rem 0 0;
    border-top: none;
}

.footer .nav__logo-img {
    filter: brightness(10);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #1f2937;
}

.footer__brand p {
    color: #9ca3af;
    margin-top: 1rem;
    font-size: 0.85rem;
    max-width: 280px;
}

.footer__logo {
    height: 60px !important;
}

.footer__links h4 {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.4rem;
}

.footer__links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer__links a:hover {
    color: #ffffff;
}

.footer__bottom {
    padding: 1.25rem 0;
    text-align: center;
    border-top: 1px solid #1f2937;
}

.footer__bottom p {
    color: #6b7280;
    font-size: 0.8rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero__content {
        left: 2.5rem;
        bottom: 4rem;
    }

    .nav__logo-img {
        height: 70px;
    }

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

    .brands__grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 1001;
        border-left: 1px solid var(--border);
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__toggle {
        display: flex;
        z-index: 1002;
    }

    .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);
    }

    .hero {
        height: auto;
        aspect-ratio: 16/9;
    }

    .hero__slide img {
        object-fit: contain;
        object-position: center center;
        background: var(--bg-surface);
    }

    .hero__content {
        display: none;
    }

    .hero__title {
        font-size: 2.25rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .nav__logo-img {
        height: 56px;
    }

    .brands__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

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

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

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

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

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.85rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .product-card__image {
        aspect-ratio: 1;
        padding: 1rem;
    }

    .product-card__content {
        padding: 0.75rem;
    }

    .product-card__content h3 {
        font-size: 0.85rem;
    }

    .product-card__content p {
        font-size: 0.75rem;
    }

    .product-card__category {
        font-size: 0.65rem;
    }

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

    .products__categories {
        gap: 0.35rem;
    }

    .category-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}

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

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}
