/* ===================================
   AUTOPARTES REYES - MODERN REDESIGN
   Mobile-First Responsive Design
   =================================== */

/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    /* Brand Colors */
    --primary-color: #0D47A1;
    --primary-dark: #002171;
    --primary-light: #5472D3;
    --secondary-color: #FF6B35;
    --accent-color: #FFC107;
    
    /* Neutral Colors */
    --dark-color: #1A1A2E;
    --text-dark: #2C2C2C;
    --text-light: #6C757D;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --border-color: #E0E0E0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6B35 0%, #FF8A65 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(13, 71, 161, 0.9) 0%, rgba(25, 118, 210, 0.8) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);
    
    /* Spacing */
    --section-padding: 80px 0;
    --section-padding-mobile: 60px 0;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   GLOBAL STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

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

/* ===================================
   TOP HEADER
   =================================== */
.top-header {
    background: var(--gradient-primary);
    padding: 12px 0;
    color: var(--white);
    font-size: 14px;
}

.header-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item i {
    font-size: 16px;
}

.info-item a {
    color: var(--white);
    font-weight: 500;
}

.info-item a:hover {
    color: var(--accent-color);
}

.social-header {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.social-header a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.social-header a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ===================================
   MAIN NAVIGATION
   =================================== */
.navbar {
    background: var(--white) !important;
    padding: 16px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand img {
    height: 55px;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
    height: 45px;
}

.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav {
    gap: 8px;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px !important;
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 60%;
}

.nav-link.btn-client {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-md);
}

.nav-link.btn-client::before {
    display: none;
}

.nav-link.btn-client:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    position: relative;
    min-height: 700px;
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 50%, #1976D2 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
}

/* Floating Auto Parts Background */
.hero-parts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.4;
}

.part-floating {
    position: absolute;
    animation: floatParts 20s ease-in-out infinite;
}

.part-floating svg {
    width: 150px;
    height: 150px;
}

.part-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.part-2 {
    top: 60%;
    left: 10%;
    animation-delay: 3s;
}

.part-3 {
    top: 30%;
    right: 8%;
    animation-delay: 6s;
}

@keyframes floatParts {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease;
}

.hero-badge i {
    color: var(--accent-color);
    font-size: 18px;
}

.hero-badge span {
    font-weight: 600;
    font-size: 14px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.btn-hero.primary {
    background: var(--white);
    color: var(--primary-color);
}

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

.btn-hero.secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    animation: fadeInUp 1s ease 0.5s backwards;
}

.hero-features .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.hero-features .feature-item i {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-features .feature-item span {
    font-weight: 600;
    font-size: 1rem;
}

/* Hero Visual Area */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.circle-1 {
    width: 400px;
    height: 400px;
    animation: rotateCircle 30s linear infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    animation: rotateCircle 20s linear infinite reverse;
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.visual-images {
    position: relative;
    width: 100%;
    height: 100%;
}
/* ===================================
   HERO SECTION - ICONOS PROFESIONALES
   =================================== */

.product-showcase {
    position: absolute;
    width: 180px;
    height: 180px;
    background: var(--white);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    animation: floatShowcase 6s ease-in-out infinite;
    z-index: 2;
    overflow: hidden;
}

.product-showcase.clutch {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.product-showcase.brake {
    bottom: 20%;
    left: 10%;
    animation-delay: 3s;
}

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

.product-showcase:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* Cabecera con gradiente */
.product-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    z-index: 1;
}

.product-showcase.clutch::before {
    background: linear-gradient(90deg, #0D47A1 0%, #1976D2 100%);
}

.product-showcase.brake::before {
    background: linear-gradient(90deg, #FF6B35 0%, #FF8A65 100%);
}

.showcase-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    transition: var(--transition);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.product-showcase.clutch .showcase-icon {
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%);
}

.product-showcase.brake .showcase-icon {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8A65 100%);
}

.product-showcase:hover .showcase-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Estilos para los SVG personalizados */
.icon-clutch,
.icon-brake {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.product-showcase:hover .icon-clutch,
.product-showcase:hover .icon-brake {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
    transform: scale(1.1);
}

/* Animaciones específicas para los iconos */
.icon-clutch {
    animation: rotateClutch 20s linear infinite;
}

.icon-brake {
    animation: pulseBrake 4s ease-in-out infinite;
}

@keyframes rotateClutch {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseBrake {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.showcase-label {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1;
}

.product-showcase.clutch .showcase-label {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.product-showcase.brake .showcase-label {
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.product-showcase:hover .showcase-label {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: var(--white);
}

/* Efecto de partículas flotantes para los showcase */
.product-showcase::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-slow);
}

.product-showcase:hover::after {
    opacity: 1;
}

/* Indicador de producto destacado */
.product-showcase::before {
    content: '★';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    animation: shine 2s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 193, 7, 0.6);
    }
}

/* Efecto de brillo al pasar el mouse */
.product-showcase:hover .showcase-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}
/* Responsive para iconos */
@media (max-width: 991px) {
    .product-showcase {
        width: 140px;
        height: 140px;
    }
    
    .showcase-icon {
        width: 70px;
        height: 70px;
    }
    
    .icon-clutch,
    .icon-brake {
        width: 50px;
        height: 50px;
    }
    
    .showcase-label {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

@media (max-width: 767px) {
    .product-showcase {
        animation: floatShowcaseMobile 4s ease-in-out infinite;
    }
    
    @keyframes floatShowcaseMobile {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-15px);
        }
    }
    
    .icon-clutch {
        animation: rotateClutch 40s linear infinite;
    }
    
    .icon-brake {
        animation: pulseBrake 6s ease-in-out infinite;
    }
}
/* ===================================
   SECTION STYLES
   =================================== */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   OFFERS SECTION
   =================================== */
.offers-section {
    background: var(--light-bg);
}

.offer-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: var(--white);
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.offer-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.offer-badge.nuevo {
    background: var(--gradient-primary);
}

.offer-badge.descuento {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
}

.offer-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.offer-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.offer-card:hover .offer-image img {
    transform: scale(1.05);
}

/* ===================================
   PRODUCTS SECTION
   =================================== */
.products-section {
    background: var(--white);
}

.product-card {
    background: var(--white);
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

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

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.product-card:hover .product-icon {
    transform: rotateY(360deg);
}

.product-icon i {
    font-size: 36px;
    color: var(--white);
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.product-line {
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ===================================
   SOCIAL MEDIA SECTIONS
   =================================== */
.social-section {
    background: var(--light-bg);
}

.tiktok-section {
    background: var(--white);
}

.video-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: var(--white);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.tiktok-embed {
    margin: 0 auto !important;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    background: var(--white);
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.badge-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 8px;
}

.about-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark-color);
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: justify;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.feature-item i {
    font-size: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-item:hover i {
    color: var(--white);
}

.feature-item span {
    font-weight: 600;
}

.highlight-box {
    background: var(--gradient-primary);
    padding: 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    box-shadow: var(--shadow-lg);
}

.highlight-box i {
    font-size: 32px;
    color: var(--accent-color);
}

.highlight-box p {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
    text-align: left;
}

/* ===================================
   CONTACT/QUOTE SECTION
   =================================== */
.contact-section {
    background: var(--light-bg);
}

.contact-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 100%;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 600px;
}

.quote-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.form-section {
    margin-bottom: 32px;
}

.form-section:last-of-type {
    margin-bottom: 40px;
}

.form-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

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

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1);
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   BRANDS SECTION
   =================================== */
.brands-section {
    background: var(--white);
}

.brand-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.brand-card img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.brand-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-menu i {
    font-size: 12px;
    color: var(--secondary-color);
}

.footer-schedule {
    list-style: none;
    padding: 0;
}

.footer-schedule li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-schedule i {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 4px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-address {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-newsletter {
    margin-top: 24px;
}

.newsletter-group {
    display: flex;
    gap: 8px;
}

.newsletter-group .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.newsletter-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-group .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.btn-newsletter {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.btn-newsletter:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 40px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

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

/* ===================================
   BUTTONS
   =================================== */
.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

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

.btn-primary i {
    margin-right: 8px;
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    color: var(--white);
}

/* ===================================
   MODAL STYLES
   =================================== */
.modal-content {
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
    padding: 20px 24px;
}

.modal-title {
    font-weight: 700;
    font-size: 1.3rem;
}

.btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 32px 24px;
}

.client-form .form-group {
    margin-bottom: 20px;
}

.client-form .form-control {
    padding: 14px 18px;
}

/* ===================================
   BRANDS POPUP
   =================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: popupSlideIn 0.5s ease;
}

@keyframes popupSlideIn {
    from {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    color: var(--dark-color);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.popup-close:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.popup-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    text-align: center;
}

.popup-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.popup-subtitle {
    font-size: 1rem;
    opacity: 0.95;
    margin: 0;
}

.popup-body {
    padding: 40px 30px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
}

.brand-item {
    text-align: center;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.brand-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.brand-item img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    margin-bottom: 12px;
}

.brand-item span {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.popup-footer {
    padding: 24px 30px 40px;
    text-align: center;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 991px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .navbar-nav {
        margin-top: 16px;
        gap: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 16px !important;
    }
    
    .hero-section {
        min-height: 600px;
        padding: 80px 0;
    }
    
    .hero-visual {
        height: 400px;
        margin-top: 40px;
    }
    
    .visual-circle.circle-1 {
        width: 320px;
        height: 320px;
    }
    
    .visual-circle.circle-2 {
        width: 240px;
        height: 240px;
    }
    
    .product-showcase {
        width: 140px;
        height: 140px;
    }
    
    .showcase-icon {
        width: 70px;
        height: 70px;
    }
    
    .showcase-icon i {
        font-size: 32px;
    }
    
    .showcase-label {
        font-size: 0.9rem;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .contact-image img {
        min-height: 400px;
    }
    
    .footer-social {
        justify-content: flex-start;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }
    
    .top-header {
        padding: 10px 0;
    }
    
    .header-info {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .social-header {
        justify-content: flex-start;
        margin-top: 12px;
    }
    
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    
    .hero-features {
        justify-content: space-between;
    }
    
    .hero-visual {
        display: none;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .offer-image img {
        height: 250px;
    }
    
    .about-image img {
        height: 300px;
    }
    
    .about-badge {
        bottom: 20px;
        right: 20px;
        padding: 16px;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    .quote-form {
        padding: 24px;
    }
    
    .contact-image img {
        min-height: 300px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .popup-content {
        width: 95%;
    }
    
    .popup-header {
        padding: 30px 20px;
    }
    
    .popup-title {
        font-size: 1.4rem;
    }
    
    .popup-body {
        padding: 30px 20px;
    }
}

@media (max-width: 575px) {
    .hero-badge {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .hero-features .feature-item i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .hero-features .feature-item span {
        font-size: 0.9rem;
    }
    
    .btn-hero {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .product-card {
        padding: 30px 20px;
    }
    
    .product-icon {
        width: 70px;
        height: 70px;
    }
    
    .product-icon i {
        font-size: 30px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
}
