/* ============================================
   TRANS LIMAG – Style Principal
   Couleurs : Rouge #E30613, Noir #1a1a2e, Blanc #fff, Gris #6c757d
   Fonts : Montserrat (titres), Open Sans (texte)
   ============================================ */

/* ============================================
   1. VARIABLES CSS & RESET
   ============================================ */
:root {
    /* Couleurs principales */
    --red: #E30613;
    --red-dark: #b8050f;
    --red-light: #ff2d3a;
    --black: #1a1a2e;
    --black-pure: #000000;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Gradient */
    --gradient-red: linear-gradient(135deg, #E30613 0%, #ff4d5a 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26,26,46,0.95) 0%, rgba(227,6,19,0.85) 100%);

    /* Typographie */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Espacements */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Ombres */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --shadow-red: 0 8px 30px rgba(227,6,19,0.3);

    /* 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);

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Header height */
    --header-height: 110px;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
    list-style: none;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   2. UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-red {
    color: var(--red);
}

.text-gradient {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(227,6,19,0.08);
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-badge.light {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--black);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header.light .section-title {
    color: var(--white);
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-red);
    margin: 0 auto 20px;
    border-radius: 2px;
}

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

.section-description {
    max-width: 650px;
    margin: 0 auto;
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-md {
    padding: 12px 28px;
    font-size: 0.95rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--white);
    border-color: var(--red);
}

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

.btn-white {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    box-shadow: 0 8px 30px rgba(37,211,102,0.3);
    transform: translateY(-2px);
}

.btn-whatsapp-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid #25D366;
}

.btn-whatsapp-outline:hover {
    background: #25D366;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

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

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

.loader {
    text-align: center;
}

.loader-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1.5s ease infinite;
}

.loader-icon i {
    font-size: 2rem;
    color: var(--white);
}

.loader-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 6px;
}

.loader p {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(227,6,19,0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(227,6,19,0); }
}

/* ============================================
   4. HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-slow);
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.header.scrolled {
    background: var(--white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.12);
    height: 70px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    transition: var(--transition);
}

.header.scrolled .navbar {
    height: 70px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-img {
    height: 110px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 80px;
}

.logo-icon {
    position: relative;
    width: 48px;
    height: 40px;
}

.logo-svg {
    width: 48px;
    height: 40px;
}

.logo-icon .fa-forklift {
    display: none;
}

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

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--gray-800);
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-name strong {
    color: var(--red);
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--gray-400);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--red);
    transition: var(--transition);
    border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--red);
}

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

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-800);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
}

.header-phone i {
    color: var(--red);
    font-size: 0.9rem;
}

.header-phone:hover {
    color: var(--red);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 5px;
}

.menu-toggle .bar {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   5. HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: center/cover no-repeat;
    background-color: var(--black);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(26,26,46,0.97) 0%, rgba(26,26,46,0.85) 40%, rgba(227,6,19,0.6) 100%),
        radial-gradient(ellipse at 80% 50%, rgba(227,6,19,0.15) 0%, transparent 60%);
    z-index: 1;
}

/* Hero particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(227,6,19,0.3);
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

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

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 0 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(227,6,19,0.15);
    border: 1px solid rgba(227,6,19,0.3);
    color: var(--white);
    padding: 8px 24px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.hero-badge i {
    color: var(--red-light);
    font-size: 0.9rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    display: inline;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--red);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
    font-weight: 500;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.scroll-down:hover {
    color: var(--white);
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--red);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

/* Real about image */
.about-img-real {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-img-placeholder {
    width: 100%;
    height: 450px;
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.about-img-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(227,6,19,0.1) 60deg, transparent 120deg);
    animation: rotateGlow 8s linear infinite;
}

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

.about-img-placeholder i {
    font-size: 4rem;
    color: var(--red);
    position: relative;
    z-index: 1;
}

.about-img-placeholder span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.about-img-placeholder small {
    font-size: 0.85rem;
    color: var(--gray-500);
    position: relative;
    z-index: 1;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-red);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-red);
    z-index: 2;
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
}

/* About Content */
.about-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content p {
    color: var(--gray-700);
    margin-bottom: 16px;
    font-size: 0.98rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px 0 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    color: var(--red);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
}

/* ============================================
   7. SERVICES SECTION
   ============================================ */
.services-section {
    background: var(--gray-50);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-red);
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(227,6,19,0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--red);
    transition: var(--transition);
}

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

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

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 14px;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    gap: 12px;
}

/* ============================================
   8. EQUIPEMENTS SECTION
   ============================================ */
.equipements-section {
    background: var(--white);
}

.equipements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

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

.equip-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

/* Real equipment images */
.equip-img-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.equip-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--equip-color, var(--red)) 0%, #1a1a2e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.equip-placeholder i {
    font-size: 3.5rem;
    color: rgba(255,255,255,0.9);
}

.equip-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26,26,46,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.equip-card:hover .equip-overlay {
    opacity: 1;
}

.equip-card:hover .equip-placeholder {
    transform: scale(1.1);
}

.equip-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--red);
    color: var(--white);
    padding: 4px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.equip-badge.eco {
    background: #25D366;
}

.equip-info {
    padding: 24px;
}

.equip-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.equip-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.equip-tags {
    display: flex;
    gap: 8px;
}

.equip-tags span {
    padding: 4px 12px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    font-family: var(--font-heading);
}

/* ============================================
   9. ADVANTAGES SECTION
   ============================================ */
.advantages-section {
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.advantages-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(227,6,19,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(227,6,19,0.05) 0%, transparent 50%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.advantage-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
}

.advantage-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(227,6,19,0.3);
    transform: translateY(-5px);
}

.advantage-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(227,6,19,0.15);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.advantage-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.advantage-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.advantage-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   10. GALLERY SECTION
   ============================================ */
.gallery-section {
    background: var(--gray-50);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    cursor: pointer;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    height: 250px;
    transition: var(--transition);
}

.gallery-item.hidden {
    display: none;
}

/* Real gallery images */
.gallery-img-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-img-real {
    transform: scale(1.1);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        hsl(var(--gallery-hue, 0), 70%, 40%) 0%, 
        hsl(var(--gallery-hue, 0), 50%, 20%) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.gallery-placeholder i {
    font-size: 2.5rem;
    color: rgba(255,255,255,0.8);
}

.gallery-placeholder span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(227,6,19,0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    font-size: 1.8rem;
    color: var(--white);
}

.gallery-overlay p {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    padding: 0 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.1);
}

/* ============================================
   11. BRANDS SECTION
   ============================================ */
.brands-section {
    background: var(--white);
    padding: 80px 0;
}

.brands-slider {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands-track {
    display: flex;
    animation: scrollBrands 30s linear infinite;
    width: fit-content;
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-item {
    flex-shrink: 0;
    width: 200px;
    padding: 0 20px;
}

.brand-logo-placeholder {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: var(--transition);
}

.brand-logo-placeholder:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-sm);
}

.brand-name-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gray-700);
    letter-spacing: 1px;
}

.brand-logo-placeholder small {
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ============================================
   12. CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-red);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, rgba(227,6,19,0.92), rgba(180,0,10,0.95)), url('images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(0,0,0,0.08);
}

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

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   13. CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 28px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(227,6,19,0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon i {
    color: var(--red);
    font-size: 1.1rem;
}

.contact-item-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
}

.contact-item-text p {
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.5;
}

.contact-item-text a {
    color: var(--gray-600);
}

.contact-item-text a:hover {
    color: var(--red);
}

.contact-map {
    margin-top: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

/* Contact Form */
.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.contact-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-card h3 i {
    color: var(--red);
}

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

.form-group {
    margin-bottom: 0;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
    pointer-events: none;
}

.textarea-wrapper i {
    top: 18px;
    transform: none;
}

.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
    width: 100%;
    padding: 14px 14px 14px 44px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: var(--transition);
    outline: none;
}

.input-wrapper select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus,
.input-wrapper select:focus {
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(227,6,19,0.08);
}

.input-wrapper input:focus + i,
.input-wrapper textarea:focus ~ i,
.input-wrapper input:focus ~ i,
.input-wrapper select:focus ~ i {
    color: var(--red);
}

/* Fix: icon color on focus */
.input-wrapper:has(input:focus) i,
.input-wrapper:has(textarea:focus) i,
.input-wrapper:has(select:focus) i {
    color: var(--red);
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

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

.form-note i {
    margin-right: 4px;
    color: var(--gray-400);
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: var(--gray-400);
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 3.5rem;
    color: #25D366;
    margin-bottom: 16px;
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

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

/* ============================================
   14. FOOTER
   ============================================ */
.footer {
    background: var(--white);
    color: var(--gray-800);
    border-top: 3px solid var(--red);
}

.footer-top {
    padding: 80px 0 40px;
}

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

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

.footer-logo-svg {
    width: 44px;
    height: 36px;
    flex-shrink: 0;
}

.footer-logo-img {
    width: 110px;
    height: 90px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gray-800);
    letter-spacing: 1px;
    line-height: 1.2;
    display: block;
}

.footer-brand strong {
    color: var(--red);
}

.footer-tagline {
    font-size: 0.65rem;
    color: var(--gray-500);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
}

.footer-about-text {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-600);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a i {
    font-size: 0.6rem;
    color: var(--red);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--red);
    padding-left: 4px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray-600);
    font-size: 0.88rem;
}

.footer-contact-item i {
    color: var(--red);
    margin-top: 3px;
    font-size: 0.85rem;
    min-width: 16px;
}

.footer-contact-item a {
    color: var(--gray-600);
}

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

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--gray-200);
    padding: 20px 0;
    text-align: center;
}

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

.footer-bottom strong {
    color: var(--red);
}

/* ============================================
   15. WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
    z-index: 998;
    transition: var(--transition);
    animation: whatsappPulse 2s ease infinite;
}

.whatsapp-float i {
    font-size: 1.8rem;
    color: var(--white);
}

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

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--white);
    color: var(--gray-800);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--white);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 6px 24px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.15); }
}

/* ============================================
   16. BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-3px);
}

/* ============================================
   17. RESPONSIVE DESIGN
   ============================================ */

/* Tablet Landscape */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

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

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

    .about-grid {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .header-phone span {
        display: none;
    }

    .header-phone {
        width: 40px;
        height: 40px;
        background: rgba(227,6,19,0.1);
        border-radius: 50%;
        justify-content: center;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --header-height: 70px;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 40px;
        gap: 0;
        transition: var(--transition-slow);
        box-shadow: -5px 0 30px rgba(0,0,0,0.15);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1rem;
        padding: 14px 0;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .nav-link::after {
        display: none;
    }

    .header-cta {
        display: none;
    }

    /* Mobile overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-placeholder {
        height: 300px;
    }

    .about-img-real {
        height: 300px;
    }

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

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Equipment */
    .equipements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Advantages */
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Hero Stats */
    .hero-stats {
        gap: 24px;
    }

    /* Section spacing */
    .section-header {
        margin-bottom: 40px;
    }

    /* CTA */
    .cta-section {
        padding: 60px 0;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    :root {
        --section-padding: 50px 0;
    }

    .hero-content {
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

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

    .stat-item {
        padding: 12px 0;
    }

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

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

    .gallery-item {
        height: 180px;
    }

    .gallery-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .about-experience-badge {
        bottom: -10px;
        right: -10px;
        padding: 16px 20px;
    }

    .exp-number {
        font-size: 2rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 24px;
    }

    .scroll-down {
        display: none;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float i {
        font-size: 1.5rem;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 20px;
        left: 20px;
    }

    .brands-section {
        padding: 50px 0;
    }

    .brand-item {
        width: 160px;
    }

    .brand-logo-placeholder {
        height: 80px;
        padding: 16px 12px;
    }

    .brand-name-text {
        font-size: 0.9rem;
    }
}

/* ============================================
   18. ANIMATIONS & EXTRAS
   ============================================ */

/* Smooth reveal for AOS replacement on reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Selection color */
::selection {
    background: var(--red);
    color: var(--white);
}

::-moz-selection {
    background: var(--red);
    color: var(--white);
}

/* Scrollbar custom */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}
