/* ========================================
   EMPPAR EMBALAGENS PERSONALIZADAS
   Website Stylesheet - 2026
   ======================================== */

/* CSS Variables - EMPPAR Brand Colors */
:root {
    /* Primary Colors */
    --emppar-blue: #1F5DAA;
    --emppar-blue-dark: #163D73;
    --emppar-blue-light: #4A90E2;
    --emppar-yellow: #F2C94C;
    --emppar-red: #E53935;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #E8E8E8;
    --gray-300: #D1D1D1;
    --gray-400: #9E9E9E;
    --gray-500: #757575;
    --gray-600: #616161;
    --gray-700: #424242;
    --gray-800: #333333;
    --gray-900: #212121;
    
    /* Semantic Colors */
    --primary: var(--emppar-blue);
    --primary-dark: var(--emppar-blue-dark);
    --primary-light: var(--emppar-blue-light);
    --accent: var(--emppar-yellow);
    --accent-hover: #E5B93D;
    --danger: var(--emppar-red);
    
    /* Backgrounds */
    --bg-primary: var(--white);
    --bg-secondary: var(--gray-100);
    --bg-dark: var(--gray-800);
    --bg-darker: var(--gray-900);
    
    /* Text */
    --text-primary: var(--gray-800);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --text-light: var(--white);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-colored: 0 10px 30px rgba(31, 93, 170, 0.2);
    
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions - Premium Easing Curves */
    --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
    --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Transition Durations */
    --transition-instant: 0.15s;
    --transition-fast: 0.25s;
    --transition-base: 0.4s;
    --transition-slow: 0.6s;
    --transition-slower: 0.8s;
    
    /* Complete Transitions */
    --transition-fast-smooth: 0.25s var(--ease-out-quad);
    --transition-base-smooth: 0.4s var(--ease-out-cubic);
    --transition-slow-smooth: 0.6s var(--ease-out-quart);
    --transition-premium: 0.5s var(--ease-out-expo);
    --transition-elastic: 0.4s var(--ease-elastic);
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1280px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Anek Latin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    animation: fadeIn 0.3s ease-in-out;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast-smooth), transform var(--transition-fast-smooth);
}

ul, ol {
    list-style: none;
}

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

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

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 48px; }
h2 { font-size: 40px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-label.accent {
    color: var(--accent);
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
}

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

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

.section-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.section-description.light {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: transform var(--transition-base-smooth), box-shadow var(--transition-base-smooth), background-color var(--transition-fast-smooth), color var(--transition-fast-smooth), border-color var(--transition-fast-smooth);
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    box-shadow: none;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.btn-accent {
    background-color: #25D366;
    color: #1a1a1a;
    font-weight: 600;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.btn-accent svg {
    color: white;
}

.btn-accent:hover {
    background-color: #25539F;
    color: white;
    transform: translateY(-3px);
    box-shadow: none;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-outline-light {
    background-color: transparent;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background-color: var(--accent);
    color: var(--primary);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    font-weight: 700;
}

.btn-white:hover {
    background-color: var(--accent);
    color: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: background-color var(--transition-fast-smooth), box-shadow var(--transition-base-smooth), border-color var(--transition-fast-smooth);
    will-change: box-shadow;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.99);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
}

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

.logo-brand {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.logo-tagline {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.nav-link {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    transition: color var(--transition-fast-smooth), background-color var(--transition-fast-smooth), transform var(--transition-fast-smooth);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background-color: rgba(31, 93, 170, 0.08);
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: #25D366;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: transform var(--transition-base-smooth), background-color var(--transition-fast-smooth), box-shadow var(--transition-base-smooth);
    will-change: transform;
}

.btn-whatsapp svg {
    color: white;
}

.btn-whatsapp:hover {
    background-color: #25539F;
    color: white;
    transform: translateY(-3px);
    box-shadow: none;
}

.btn-whatsapp:hover svg {
    color: white;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: transform var(--transition-base-smooth), opacity var(--transition-base-smooth), width var(--transition-base-smooth);
    will-change: transform, opacity;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 50%, var(--primary-dark) 100%);
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(31, 93, 170, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(242, 201, 76, 0.15) 0%, transparent 35%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: rgba(242, 201, 76, 0.15);
    border: 1px solid rgba(242, 201, 76, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeInUp 0.8s var(--ease-out-cubic) 0.2s forwards;
}

.hero-badge span {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-light);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 1s var(--ease-out-cubic) 0.4s forwards;
}

.hero-title span {
    color: var(--accent);
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 540px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 1s var(--ease-out-cubic) 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 0.8s var(--ease-out-cubic) 0.8s forwards;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeInUp 0.8s var(--ease-out-cubic) 1s forwards;
}

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

@media (max-width: 768px) {
    .hero-stat {
        text-align: center;
    }
}

.hero-stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.hero-stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.hero-image {
    position: relative;
    opacity: 0;
    transform: translateX(40px);
    animation: heroFadeInRight 1.2s var(--ease-out-expo) 0.3s forwards;
    margin-bottom: -200px;
}

.hero-image-main {
    width: 100%;
    border-radius: var(--radius-xl);
}

.hero-floating-card {
    position: absolute;
    bottom: 80px;
    left: -30px;
    background-color: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    transform: translateY(20px) scale(0.9);
    animation: heroFloatIn 0.8s var(--ease-elastic) 1.2s forwards;
}

.floating-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-text h4 {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
}

.floating-text p {
    font-size: 15px;
    color: var(--text-muted);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

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

.about-image {
    position: relative;
    padding-top: 10px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity var(--transition-slow-smooth), transform var(--transition-slow-smooth);
    will-change: transform, opacity;
}

.about-image.reveal.active {
    opacity: 1;
    transform: translateX(0);
}

.about-content {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity var(--transition-slow-smooth), transform var(--transition-slow-smooth);
    transition-delay: 0.2s;
    will-change: transform, opacity;
}

.about-content.reveal.active {
    opacity: 1;
    transform: translateX(0);
}

.about-image-main {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-experience {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.about-experience-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.about-experience-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
}

.about-content {
    max-width: 540px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-base-smooth), transform var(--transition-base-smooth);
    will-change: transform, opacity;
}

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

.about-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature-text h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.about-feature-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

.products {
    padding: var(--section-padding) 0;
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow-smooth), transform var(--transition-slow-smooth);
    will-change: transform, opacity;
}

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

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

.product-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity var(--transition-slow-smooth);
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(30px);
}

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

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 83, 159, 0.2);
}

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background-color: var(--accent);
    color: var(--gray-900);
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.product-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: color var(--transition-fast-smooth), gap var(--transition-fast-smooth), transform var(--transition-fast-smooth);
}

.product-link:hover {
    gap: 12px;
    color: var(--primary-dark);
    transform: translateX(3px);
}

/* ========================================
   DIFFERENTIALS SECTION
   ======================================== */

.differentials {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.differentials-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.differential-card {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: transform var(--transition-base-smooth), background-color var(--transition-fast-smooth), border-color var(--transition-fast-smooth), opacity var(--transition-slow-smooth);
    will-change: transform;
    opacity: 0;
    transform: translateY(30px);
}

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

.differential-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.25);
}

.differential-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.differential-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
}

.differential-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* ========================================
   CUSTOMIZATION SECTION
   ======================================== */

.customization {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

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

.customization-content {
    max-width: 540px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity var(--transition-slow-smooth), transform var(--transition-slow-smooth);
    will-change: transform, opacity;
}

.customization-content.reveal.active {
    opacity: 1;
    transform: translateX(0);
}

.customization-image {
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity var(--transition-slow-smooth), transform var(--transition-slow-smooth);
    transition-delay: 0.2s;
    will-change: transform, opacity;
}

.customization-image.reveal.active {
    opacity: 1;
    transform: translateX(0);
}

.customization-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.customization-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-base-smooth), transform var(--transition-base-smooth);
    will-change: transform, opacity;
}

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

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.customization-image {
    position: relative;
}

.customization-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   SUSTAINABILITY SECTION
   ======================================== */

.sustainability {
    padding: var(--section-padding) 0;
    background-color: var(--bg-secondary);
}

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

.sustainability-image {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity var(--transition-slow-smooth), transform var(--transition-slow-smooth);
    will-change: transform, opacity;
}

.sustainability-image.reveal.active {
    opacity: 1;
    transform: translateX(0);
}

.sustainability-content {
    max-width: 540px;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity var(--transition-slow-smooth), transform var(--transition-slow-smooth);
    transition-delay: 0.2s;
    will-change: transform, opacity;
}

.sustainability-content.reveal.active {
    opacity: 1;
    transform: translateX(0);
}

.sustainability-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.sustainability-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.sustainability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta {
    padding: 100px 0;
    background-color: #072D7E;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(31, 93, 170, 0.2) 0%, transparent 40%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow-smooth), transform var(--transition-slow-smooth);
    will-change: transform, opacity;
}

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

.cta h2 {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta h2 span {
    color: var(--accent);
}

.cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: #25539F;
    padding: 0;
    margin-top: -1px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 24px;
}

.footer-brand .logo-brand {
    color: var(--white);
}

.footer-brand p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 24px;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: transform var(--transition-base-smooth), background-color var(--transition-fast-smooth), color var(--transition-fast-smooth), box-shadow var(--transition-base-smooth);
    will-change: transform;
}

.footer-social a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(31, 93, 170, 0.4);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast-smooth), transform var(--transition-fast-smooth), padding-left var(--transition-fast-smooth);
    position: relative;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 8px;
    transform: translateX(3px);
}

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

@media (max-width: 768px) {
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
}

.footer-contact-item svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 3px;
}

.footer-contact-item span,
.footer-contact-item a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.6;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast-smooth), transform var(--transition-fast-smooth);
}

.footer-bottom-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* ========================================
   FLOATING WHATSAPP BUTTON
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform var(--transition-base-smooth), box-shadow var(--transition-base-smooth);
    animation: pulseSmooth 3s var(--ease-out-cubic) infinite;
    will-change: transform, box-shadow;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
    animation-play-state: paused;
}

@keyframes pulseSmooth {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
        transform: scale(1.05);
    }
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, rgba(22, 61, 115, 0.85) 0%, rgba(31, 93, 170, 0.75) 100%), var(--header-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.breadcrumb a {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--accent);
    transform: translateY(-2px);
    display: inline-block;
    transition: color var(--transition-fast-smooth), transform var(--transition-fast-smooth);
}

.breadcrumb span {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-info-card > p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.contact-info-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a,
.contact-info-text span {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-info-text a:hover {
    color: var(--primary);
    transform: translateX(3px);
    display: inline-block;
    transition: color var(--transition-fast-smooth), transform var(--transition-fast-smooth);
}

.contact-form-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-map {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    height: 100%;
    min-height: 500px;
}

.contact-map iframe {
    width: 110%;
    height: 110%;
    border: none;
    border-radius: var(--radius-md);
    margin: -5%;
}

.contact-form-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-form-card > p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color var(--transition-fast-smooth);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    background-color: var(--bg-primary);
    transition: border-color var(--transition-fast-smooth), box-shadow var(--transition-base-smooth), transform var(--transition-fast-smooth);
    outline: none;
    will-change: border-color, box-shadow;
}

.form-group:focus-within label {
    color: var(--primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(31, 93, 170, 0.12);
    transform: translateY(-1px);
}

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

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

.form-submit {
    width: 100%;
}

/* ========================================
   MAP SECTION
   ======================================== */

.map-section {
    height: 400px;
    background-color: var(--gray-300);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   TIMELINE (ABOUT PAGE)
   ======================================== */

.timeline {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

.timeline-list {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-200);
}

.timeline-item:first-child {
    padding-top: 0;
}

.timeline-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.timeline-year {
    flex-shrink: 0;
    width: 100px;
}

.timeline-year span {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    border-radius: var(--radius-md);
}

.timeline-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   VALUES SECTION
   ======================================== */

.values {
    padding: var(--section-padding) 0;
    background-color: var(--bg-secondary);
}

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

.value-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base-smooth), box-shadow var(--transition-base-smooth), opacity var(--transition-slow-smooth);
    will-change: transform, box-shadow;
    opacity: 0;
    transform: translateY(30px);
}

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

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }
    
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    .section-title { font-size: 32px; }
    
    .nav-menu,
    .nav-actions .btn-primary,
    .nav-actions .btn-whatsapp {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-floating-card {
        display: none;
    }
    
    .about-grid,
    .customization-grid,
    .sustainability-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image,
    .customization-image,
    .sustainability-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-content,
    .customization-content,
    .sustainability-content {
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-stats {
        display: flex;
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .products-grid,
    .differentials-grid,
    .values-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta h2 {
        font-size: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 16px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 14px 28px;
    }
}

/* ========================================
   ANIMATIONS & FLUIDITY
   ======================================== */

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

@keyframes heroFadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroFloatIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* General Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow-smooth), transform var(--transition-slow-smooth);
    will-change: transform, opacity;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Staggered Animation Classes */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* ========================================
   ACCESSIBILITY
   ======================================== */

@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;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary: #0047AB;
        --text-secondary: #000000;
    }
}

/* ========================================
   PRODUCT GALLERY STYLES - PREMIUM
   ======================================== */

.products-gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(31, 93, 170, 0.03) 0%, rgba(242, 201, 76, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.products-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(31, 93, 170, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(242, 201, 76, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Gallery Tabs - Modern Pill Style */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.gallery-tab {
    position: relative;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(31, 93, 170, 0.15);
    border-radius: var(--radius-full);
    font-family: 'Anek Latin', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-cubic);
    display: flex;
    align-items: center;
    gap: 10px;
    will-change: transform, background-color, border-color, color, box-shadow;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.gallery-tab:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(31, 93, 170, 0.3);
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(31, 93, 170, 0.15);
}

.gallery-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(31, 93, 170, 0.4);
    transform: translateY(-2px);
}

.tab-count {
    background: rgba(255, 255, 255, 0.25);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s var(--ease-out-cubic);
    min-width: 28px;
    text-align: center;
}

.gallery-tab.active .tab-count {
    background: rgba(255, 255, 255, 0.35);
}

/* Gallery Wrapper - Glassmorphism */
.gallery-wrapper {
    position: relative;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    position: relative;
    z-index: 1;
}

.gallery-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: var(--radius-xl);
    pointer-events: none;
}

/* Gallery Content */
.gallery-content {
    overflow: hidden;
    border-radius: var(--radius-lg);
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    will-change: scroll-position;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

/* Gallery Item */
.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-cubic);
    will-change: transform;
    background: var(--white);
    flex-shrink: 0;
    scroll-snap-align: start;
    
    /* Calculate width to show 4 items per view by default */
    width: calc((100% - 60px) / 4);
    aspect-ratio: 4/5;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out-cubic);
    display: block;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out-cubic);
    pointer-events: none;
}

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

.gallery-item-expand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s var(--ease-out-cubic);
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover .gallery-item-expand {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(31, 93, 170, 0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-cubic);
    will-change: transform, background-color, border-color;
    z-index: 10;
    color: var(--text-secondary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.gallery-nav:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(31, 93, 170, 0.3);
}

.gallery-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.gallery-nav-prev {
    left: -28px;
}

.gallery-nav-next {
    right: -28px;
}

/* Gallery Pagination */
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.gallery-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(31, 93, 170, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-cubic);
    will-change: transform, background-color;
}

.gallery-dot:hover {
    background: rgba(31, 93, 170, 0.4);
    transform: scale(1.3);
}

.gallery-dot.active {
    background: var(--primary);
    transform: scale(1.4);
    box-shadow: 0 4px 12px rgba(31, 93, 170, 0.3);
}

/* Lightbox - Premium */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-cubic);
    will-change: opacity, visibility;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-cubic);
    color: var(--white);
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-cubic);
    color: var(--white);
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxZoomIn 0.4s var(--ease-out-cubic);
}

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

@keyframes lightboxZoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-item {
        width: calc((100% - 40px) / 3);
    }
}

@media (max-width: 992px) {
    .gallery-item {
        width: calc((100% - 20px) / 2);
    }
    
    .gallery-nav-prev {
        left: 10px;
    }
    
    .gallery-nav-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .products-gallery {
        padding: 60px 0;
    }
    
    .gallery-tabs {
        gap: 8px;
        margin-bottom: 30px;
    }
    
    .gallery-tab {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .gallery-wrapper {
        padding: 20px;
    }
    
    .gallery-nav-prev,
    .gallery-nav-next {
        display: none;
    }
    
    .lightbox-nav {
        width: 48px;
        height: 48px;
    }
    
    .lightbox-prev {
        left: 12px;
    }
    
    .lightbox-next {
        right: 12px;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        top: 16px;
        right: 16px;
    }
}

/* Mobile - OBRIGATÓRIO: 1 imagem por vez */
@media (max-width: 640px) {
    .gallery-track {
        padding: 10px;
        gap: 15px;
    }
    
    .gallery-item {
        width: calc(100% - 20px) !important;
        scroll-snap-align: center;
        aspect-ratio: 4/5;
    }
    
    .gallery-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 20px;
        -webkit-overflow-scrolling: touch;
    }
    
    .gallery-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .gallery-tab {
        flex-shrink: 0;
    }
}

.form-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all var(--transition-base-smooth);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-top: 20px;
    animation: messageFadeIn 0.3s var(--ease-out-cubic);
}

.form-message-success {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.form-message-error {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #F44336;
}

@keyframes messageFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .gallery-item {
        flex: 0 0 calc(100% / 3);
    }
}

@media (max-width: 900px) {
    .gallery-item {
        flex: 0 0 calc(100% / 2);
    }
}

@media (max-width: 640px) {
    .gallery-tabs {
        gap: 8px;
        justify-content: center;
    }
    
    .gallery-tab {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .gallery-item {
        flex: 0 0 100%;
    }
    
    .gallery-nav {
        display: none;
    }
}
