/*
==========================================================================
0. Google Fonts Import
==========================================================================
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500;600;700;800;900&display=swap');

/*
==========================================================================
1. Variables
==========================================================================
*/
:root {
	--white: #ffffff;
	--black: #000000;
	--gray: #cccccc;
    
    /* Paleta de colores principal */
	--primary-color: #72b530;
	--secondary-color: #1c3107;
    --accent-color: #1c3107;

    /* Colores de fondo */
    --background-light: #ffffff;
    --background-medium: f5f5f5;
    --background-dark: #1f2937;

    /* Colores de texto */
    --text-color: #444444;
    --text-muted: #444444;
    --heading-color: #444444;
    
    /* Varios */
    --border-color: #ededed;

    /* Tipografía */
    --font-primary: "Roboto Slab", "Inter", serif;
	--font-secondary: "Inter", "Roboto", sans-serif;

    /* Variables adicionales para las nuevas secciones */
    --color-primary: #72b530;
    --color-text-base: #444444;
    --color-text-muted: #6b7280;
    --color-background-dark: #1f2937;
    --color-accent: #ea2832;
    
    /* Paleta extendida corporativa */
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
}

/*
==========================================================================
2. Global Styles
==========================================================================
*/
body {
	background-color: var(--background-light);
	font-family: var(--font-secondary);
	color: var(--text-color);
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
}

a {
	color: var(--text-color);
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

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

/*
==========================================================================
3. Typography
==========================================================================
*/
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem;
    letter-spacing: -0.025em;
}

h1 { 
    font-size: 3rem; 
    font-weight: 700;
    line-height: 1.1;
}
h2 { 
    font-size: 2.25rem; 
    font-weight: 600;
}
h3 { 
    font-size: 1.875rem; 
    font-weight: 600;
}
h4 { 
    font-size: 1.5rem; 
    font-weight: 500;
}
h5 { 
    font-size: 1.25rem; 
    font-weight: 500;
}
h6 { 
    font-size: 1.125rem; 
    font-weight: 500;
}

/* Responsive typography */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    h3 { font-size: 1.5rem; }
}

/* Body text improvements */
body {
    font-weight: 400;
    letter-spacing: 0.01em;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Strong text with Inter weight */
strong, b {
    font-weight: 600;
}

/*
==========================================================================
4. Accessibility
==========================================================================
*/
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/*
==========================================================================
5. Site Structure & Container Fixes
==========================================================================
*/
.site {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
}

.site-header,
.site-footer {
    padding: 1em 0;
}

.site-main {
    padding: 2em 0;
}

/* Fix Bootstrap container width issue */
.container {
    width: auto !important;
    max-width: 100% !important;
}

/*
==========================================================================
6. Header & Navigation
==========================================================================
*/

.subheader {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.7rem;
}
.subheader a { color: inherit; text-decoration: none; }
.subheader a:hover { text-decoration: underline; }

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}
.site-branding .site-logo { height: 2.5rem; width: auto; }
.site-branding .site-title { font-size: 1.25rem; font-weight: 700; }

.header-main-nav { display: none; } /* Mobile first: hidden */
.main-menu {list-style: none;margin: 0;padding: 0;display: flex;gap: 0.4rem;align-items: center;}
.main-menu a {text-decoration: none;color: var(--text-color);font-weight: 500;padding: 0.5rem 1rem;position: relative;border-radius: 4px;transition: all 0.3s ease;font-size: 1rem;text-transform: uppercase;}
.main-menu a:after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--primary-color); transition: all 0.3s ease; transform: translateX(-50%); }
.main-menu a:hover, .main-menu .current-menu-item a { color: var(--primary-color); }
.main-menu a:hover:after, .main-menu .current-menu-item a:after { width: 80%; }
.main-menu .current-menu-item a { 
    background-color: rgba(114, 181, 48, 0.1); 
    font-weight: 500; 
    color: var(--primary-color) !important;
}
.main-menu .current-menu-item a:after { width: 80%; }

.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
.cta-button:hover {background-color: var(--secondary-color);transform: translateY(-1px);text-decoration: none !important;}

/* Mobile Menu */
.mobile-menu-toggle button { background: none; border: none; cursor: pointer; }
.mobile-menu-panel { position: fixed; top: 0; right: 0; height: 100%; width: 280px; background: var(--background-dark); z-index: 100; transform: translateX(100%); transition: transform 0.3s ease-in-out; }
.mobile-menu-panel.is-open { transform: translateX(0); }
.mobile-menu-panel__inner { padding: 1.5rem; }
.mobile-menu-panel__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-menu-panel__title { color: var(--white); font-weight: 700; font-size: 1.25rem; }
.mobile-menu-panel__header button { color: var(--white); background: none; border: none; cursor: pointer; }

.mobile-main-menu { list-style: none; margin: 0; padding: 0; }
.mobile-main-menu a { color: var(--white); text-decoration: none; display: block; padding: 0.75rem 1rem; font-size: 1.1rem; border-radius: 4px; transition: all 0.3s ease; }
.mobile-main-menu .current-menu-item a { 
    color: var(--primary-color); 
    background-color: rgba(114, 181, 48, 0.2);
    font-weight: 500;
}
.mobile-main-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

body.mobile-menu-open::before { content:''; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99; }

@media (min-width: 768px) {
    .header-main-nav { display: flex; align-items: center; gap: 1.5rem; }
    .mobile-menu-toggle { display: none; }
}

/*
==========================================================================
7. Components & Sections
==========================================================================
*/

/* Modificador para secciones con fondos oscuros */
.section--dark-bg h1,
.section--dark-bg h2,
.section--dark-bg h3,
.section--dark-bg h4,
.section--dark-bg h5,
.section--dark-bg h6,
.section--dark-bg p,
.section--dark-bg a,
.section--dark-bg {
    color: var(--white);
}

.section--dark-bg a:hover {
    color: var(--gray);
}

/* Custom styles for basenew theme */

@keyframes fade-in-up {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .animate-fade-in-up {
    opacity: 0;
    animation: fade-in-up 0.8s ease-out forwards;
  }
  
  .animation-delay-200 { animation-delay: 200ms; }
  .animation-delay-400 { animation-delay: 400ms; }
  .animation-delay-600 { animation-delay: 600ms; }
  .animation-delay-800 { animation-delay: 800ms; }

/*
==========================================================================
8. Home Page Sections
==========================================================================
*/

/* Propuestas de Valor */
.value-proposition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-proposition-item {
    transition: all 0.3s ease;
}

.value-proposition-item:hover {
    transform: translateY(-8px);
}

.value-proposition-icon {
    transition: all 0.3s ease;
    transform-origin: center;
}

.value-proposition-item:hover .value-proposition-icon {
    transform: scale(1.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Masonry Layout para Sectores - Sin superposiciones */
.masonry-grid {
    display: grid;
    gap: 1.5rem;
    grid-auto-rows: minmax(240px, auto);
}

/* Mobile: 1 columna */
@media (max-width: 767px) {
    .masonry-grid {
        grid-template-columns: 1fr;
    }
    
    .masonry-item {
        min-height: 240px;
    }
}

/* Tablet: 2 columnas con distribucion especiÂ­fica */
@media (min-width: 768px) and (max-width: 1023px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(240px, auto);
    }
    
    .masonry-item:nth-child(1) {
        grid-row: span 2;
        min-height: 320px;
    }
    
    .masonry-item:nth-child(2) {
        min-height: 240px;
    }
    
    .masonry-item:nth-child(3) {
        grid-row: span 2;
        min-height: 320px;
    }
    
    .masonry-item:nth-child(4) {
        min-height: 240px;
    }
    
    .masonry-item:nth-child(5) {
        grid-column: 1 / -1;
        min-height: 200px;
        max-width: 60%;
        margin: 0 auto;
    }
}

/* Desktop: Layout sin superposiciones */
@media (min-width: 1024px) {
    .masonry-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: minmax(280px, auto);
        gap: 2rem;
    }
    
    .masonry-item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1;
        min-height: 280px;
    }
    
    .masonry-item:nth-child(2) {
        grid-column: 3;
        grid-row: 1;
        min-height: 280px;
    }
    
    .masonry-item:nth-child(3) {
        grid-column: 4;
        grid-row: 1 / 3;
        min-height: 400px;
    }
    
    .masonry-item:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
        min-height: 280px;
    }
    
    .masonry-item:nth-child(5) {
        grid-column: 2 / 4;
        grid-row: 2;
        min-height: 280px;
    }
    
    /* Para elementos adicionales más allá del 5to */
    .masonry-item:nth-child(n+6) {
        grid-column: auto;
        grid-row: auto;
        min-height: 280px;
    }
}

.masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    will-change: transform;
    min-height: 240px;
}

.masonry-item-tall {
    min-height: 300px;
}

/* Animaciones para los sectores */
.masonry-item .sector-content {
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.masonry-item:hover .sector-content {
    transform: translateY(0);
}

.masonry-item .sector-description {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.masonry-item:hover .sector-description {
    opacity: 1;
    transform: translateY(0);
}

.masonry-item .sector-cta {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.2s;
}

.masonry-item:hover .sector-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Banners de Tipos de Maquinaria */
.machinery-banners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

@media (min-width: 1024px) {
    .machinery-banners {
        grid-template-columns: repeat(3, 1fr);
    }
}

.machinery-banner {
    height: 320px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    will-change: transform;
}

.machinery-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 15;
}

.machinery-banner-content {
    position: relative;
    z-index: 20;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    color: white;
}

.machinery-banner-icon {
    transition: all 0.3s ease;
}

.machinery-banner:hover .machinery-banner-icon {
    transform: scale(1.1);
    opacity: 0.6;
}

.machinery-banner-title {
    transition: all 0.3s ease;
}

.machinery-banner:hover .machinery-banner-title {
    transform: translateY(-2px);
}

.machinery-banner-description {
    transition: all 0.3s ease;
}

.machinery-banner:hover .machinery-banner-description {
    transform: translateY(-1px);
}

.machinery-banner-cta {
    transition: all 0.3s ease;
    transform: translateY(2px);
}

.machinery-banner:hover .machinery-banner-cta {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Animaciones adicionales */
@keyframes ken-burns {
    0% {
        transform: scale(1) translateZ(0);
    }
    100% {
        transform: scale(1.1) translateZ(0);
    }
}

.animate-ken-burns {
    animation: ken-burns 20s ease-in-out infinite alternate;
}

@keyframes slide-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-in-up {
    opacity: 0;
    animation: slide-in-up 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}



/* Mejoras para la accesibilidad y UX */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-ken-burns {
        animation: none;
    }
}

/* Focus states para accesibilidad */
.masonry-item:focus,
.machinery-banner:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.masonry-item:focus-visible,
.machinery-banner:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Custom styles for basenew theme */



/* Gradientes corporativos personalizados */
.bg-gradient-corporate-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--secondary-color) 100%);
}

.bg-gradient-corporate-light {
    background: linear-gradient(135deg, #f0f9e8 0%, #e8f5d8 100%);
}

.from-corporate-primary {
    --tw-gradient-from: var(--color-primary);
    --tw-gradient-to: rgb(114 181 48 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-corporate-secondary {
    --tw-gradient-to: var(--secondary-color);
}

/* Clases de fondo verde corporativo */
.from-green-50 {
    --tw-gradient-from: #f0f9e8;
    --tw-gradient-to: rgb(240 249 232 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-green-100 {
    --tw-gradient-to: #e8f5d8;
}

/* Animaciones mejoradas para el hero */
.hero-section .animate-slide-in-up:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-section .animate-slide-in-up:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-section .animate-slide-in-up:nth-child(3) {
    animation-delay: 0.8s;
}

/*
==========================================================================
8. Gravity Forms Global Styles
==========================================================================
*/

/* Variables CSS para Gravity Forms */
.gform_wrapper {
    --gf-form-gap-y: 10px !important;
    margin: 0 !important;
    max-width: none !important;
}

/* Forzar separación mínima entre campos */
.gform_wrapper .gform_body {
    margin: 0 !important;
}

.gform_wrapper .gform_body .gfield {
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
}

.gform_wrapper .gfield .gfield_label {
    font-weight: 500 !important;
    color: var(--text-color) !important;
    margin-bottom: 2px !important;
    font-size: 0.875rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    display: block !important;
}

/* Campos de entrada con especificidad alta */
.gform_wrapper .gform_body .gfield input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
.gform_wrapper .gform_body .gfield textarea,
.gform_wrapper .gform_body .gfield select {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 2px !important;
    font-size: 1rem !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    font-family: var(--font-primary) !important;
    margin: 0 !important;
}

.gform_wrapper .gform_body .gfield textarea {
    min-height: 100px !important;
    resize: vertical !important;
}

/* Estados de focus con alta especificidad */
.gform_wrapper .gform_body .gfield input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus, 
.gform_wrapper .gform_body .gfield textarea:focus,
.gform_wrapper .gform_body .gfield select:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: none !important;
}

/* Hover states */
.gform_wrapper .gform_body .gfield input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover, 
.gform_wrapper .gform_body .gfield textarea:hover,
.gform_wrapper .gform_body .gfield select:hover {
    border-color: #d1d5db !important;
}

/* Placeholders */
.gform_wrapper .gform_body .gfield input::placeholder,
.gform_wrapper .gform_body .gfield textarea::placeholder {
    color: #9ca3af !important;
    font-style: italic !important;
}

/* Botón con especificidad máxima */
.gform_wrapper .gform_footer {
    margin: 24px 0 0 0 !important;
    padding: 0 !important;
}

.gform_wrapper .gform_footer .gform_button,
.gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_footer input.gform_button,
.gform_wrapper .gform_footer button {
    background: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
    color: white !important;
    padding: 16px 0 !important;
    border: none !important;
    border-radius: 2px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    width: 100% !important;
    min-height: 50px !important;
    display: block !important;
    margin: 0 !important;
}

.gform_wrapper .gform_footer .gform_button:hover,
.gform_wrapper .gform_footer input[type=submit]:hover,
.gform_wrapper .gform_footer input.gform_button:hover,
.gform_wrapper .gform_footer button:hover {
    background: var(--secondary-color) !important;
    background-color: var(--secondary-color) !important;
}

.gform_wrapper .gform_footer .gform_button:active,
.gform_wrapper .gform_footer input[type=submit]:active,
.gform_wrapper .gform_footer input.gform_button:active,
.gform_wrapper .gform_footer button:active {
    background: var(--secondary-color) !important;
    background-color: var(--secondary-color) !important;
}

/* Campos obligatorios */
.gform_wrapper .gfield_required .gfield_label:after {
    content: " *" !important;
    color: var(--accent-color) !important;
}

/* Mensajes de validación */
.gform_wrapper .gfield_error {
    background-color: #fef2f2 !important;
    border-radius: 2px !important;
    padding: 4px !important;
    margin-top: 4px !important;
}

.gform_wrapper .validation_error,
.gform_wrapper .gfield_error .gfield_description {
    color: #dc2626 !important;
    font-size: 0.875rem !important;
}

/* Checkbox y radio buttons */
.gform_wrapper .gform_body .gfield input[type=checkbox],
.gform_wrapper .gform_body .gfield input[type=radio] {
    width: 16px !important;
    height: 16px !important;
    accent-color: var(--primary-color) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Select dropdown */
.gform_wrapper .gform_body .gfield select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 12px center !important;
    background-repeat: no-repeat !important;
    background-size: 16px 16px !important;
    padding-right: 40px !important;
    appearance: none !important;
}

/* Estilos específicos para formularios en contenedores con fondo */
.bg-white .gform_wrapper .gform_body .gfield input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.bg-white .gform_wrapper .gform_body .gfield textarea,
.bg-white .gform_wrapper .gform_body .gfield select {
    background-color: #ffffff !important;
    border-color: #e5e7eb !important;
}

/* Formularios en secciones con shadow */
.shadow-lg .gform_wrapper,
.rounded-lg .gform_wrapper {
    background: transparent !important;
}

/*
==========================================================================
9. Footer Styles
==========================================================================
*/

/* Enlaces del footer en blanco */
.site-footer a {
    color: white !important;
    text-decoration: none !important;
}

.site-footer a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: underline !important;
}

/*
==========================================================================
10. Button Styles
==========================================================================
*/

/* Eliminar underline de todos los botones y enlaces */
button, 
.btn, 
.button, 
.cta-button,
input[type="submit"],
input[type="button"],
.gform_button,
[class*="button"],
a.inline-flex,
a[class*="bg-gradient"],
a[class*="bg-white"],
a[class*="bg-"],
.banner-item,
.masonry-item {
    text-decoration: none !important;
}

button:hover, 
.btn:hover, 
.button:hover, 
.cta-button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.gform_button:hover,
[class*="button"]:hover,
a.inline-flex:hover,
a[class*="bg-gradient"]:hover,
a[class*="bg-white"]:hover,
a[class*="bg-"]:hover,
.banner-item:hover,
.masonry-item:hover {
    text-decoration: none !important;
}



/*
==========================================================================
12. Line Clamp Utilities
==========================================================================
*/

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-underline {
    text-decoration: none !important;
}

.no-underline:hover {
    text-decoration: none !important;
}

/*
==========================================================================
Empresa Template Animations & Effects
==========================================================================
*/

/* Parallax Background Effect */
.parallax-bg {
    background-repeat: no-repeat;
    will-change: transform;
}

@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll !important;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline Animations */
.timeline-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item.timeline-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Banner Animations */
.banner-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.banner-item.banner-visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Shine Effect Animation */
@keyframes shine {
    0% {
        transform: translateX(-100%) skewX(-12deg);
    }
    100% {
        transform: translateX(200%) skewX(-12deg);
    }
}

/* Pulse Animation for Symbols */
@keyframes pulse-symbol {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

.animate-pulse-symbol {
    animation: pulse-symbol 4s ease-in-out infinite;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Morphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover Glow Effect */
.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(114, 181, 48, 0.3);
}

/* Stagger Animation Delays */
.stagger-1 { animation-delay: 100ms; }
.stagger-2 { animation-delay: 200ms; }
.stagger-3 { animation-delay: 300ms; }
.stagger-4 { animation-delay: 400ms; }
.stagger-5 { animation-delay: 500ms; }
.stagger-6 { animation-delay: 600ms; }

/* Responsive Animations */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .timeline-item,
    .banner-item,
    .animate-pulse-symbol,
    .animate-float {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
    
    .parallax-bg {
        background-attachment: scroll;
    }
}

/*
==========================================================================
14. Brands Carousel
==========================================================================
*/
.brands-carousel-section {
    position: relative;
    background: var(--background-light);
}

.brands-carousel-container {
    position: relative;
    padding: 2rem 0;
}

.brands-carousel {
    position: relative;
}

.brands-carousel .owl-stage-outer {
    overflow: visible;
}

.brands-carousel .owl-item {
    transition: all 0.3s ease;
}

.brands-carousel .owl-item.active {
    opacity: 1;
    transform: scale(1);
}

.brand-item {
    padding: 0.5rem;
}

.brand-link {
    display: block;
    min-height: 7rem;
    border: 1px solid var(--color-gray-200);
    border-radius: 0.75rem;
    background: var(--background-light);
    transition: all 0.3s ease;
}

.brand-link:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transform: translateY(-0.125rem);
    text-decoration: none;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.brand-logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.brand-link:hover .brand-logo {
    transform: scale(1.05);
}

/* Navegación del carrusel */
.brands-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.brands-carousel .owl-nav button {
    background: var(--background-light);
    border: 2px solid var(--color-gray-200);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.brands-carousel .owl-nav button:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--white);
    transform: scale(1.1);
}

.brands-carousel .owl-nav button.owl-prev {
    left: -1.5rem;
}

.brands-carousel .owl-nav button.owl-next {
    right: -1.5rem;
}

.brands-carousel .owl-nav button span {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
}

/* Puntos de navegación */
.brands-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.brands-carousel .owl-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--color-gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.brands-carousel .owl-dot.active {
    background: var(--color-primary);
    transform: scale(1.25);
}

.brands-carousel .owl-dot:hover {
    background: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .brands-carousel .owl-nav button {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .brands-carousel .owl-nav button.owl-prev {
        left: -1rem;
    }

    .brands-carousel .owl-nav button.owl-next {
        right: -1rem;
    }

    .brand-logo-container {
        min-height: 4rem;
    }
}

@media (max-width: 480px) {
    .brands-carousel .owl-nav {
        display: none;
    }
    
    .brands-carousel-container {
        padding: 1rem 0;
    }
}

/*
==========================================================================
15. Maquinaria Carousel
==========================================================================
*/
.maquina-carousel-section {
    position: relative;
}

.maquinaria-carousel {
    position: relative;
}

.maquinaria-carousel .owl-stage-outer {
    overflow: visible;
}

.maquinaria-carousel .owl-item {
    transition: all 0.3s ease;
}

.maquina-item {
    width: 320px;
    max-width: 100%;
}

/* Navegación del carrusel de maquinaria */
.maquinaria-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.maquinaria-carousel .owl-nav button {
    background: var(--background-light);
    border: 2px solid var(--color-gray-200);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

.maquinaria-carousel .owl-nav button:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--white);
    transform: scale(1.1);
}

.maquinaria-carousel .owl-nav button.owl-prev {
    left: -1.5rem;
}

.maquinaria-carousel .owl-nav button.owl-next {
    right: -1.5rem;
}

.maquinaria-carousel .owl-nav button span {
    display: block;
    line-height: 1;
}

/* Puntos de navegación del carrusel de maquinaria */

/*
.maquinaria-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.maquinaria-carousel .owl-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--color-gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.maquinaria-carousel .owl-dot.active {
    background: var(--color-primary);
    transform: scale(1.25);
}

.maquinaria-carousel .owl-dot:hover {
    background: var(--color-primary);
}
*/

/* Responsive para carrusel de maquinaria */
@media (max-width: 768px) {
    .maquinaria-carousel .owl-nav button {
        width: 2.5rem;
        height: 2.5rem;
    }

    .maquinaria-carousel .owl-nav button.owl-prev {
        left: -1rem;
    }

    .maquinaria-carousel .owl-nav button.owl-next {
        right: -1rem;
    }
}

@media (max-width: 480px) {
    .maquinaria-carousel .owl-nav {
        display: none;
    }
    
    .maquina-item {
        width: 100%;
    }
}