/* ============================================
   JLG GROUP - DISEÑO PREMIUM v3.0
   Elegante • Empresarial • Sofisticado
   ============================================ */

/* Fuentes Elegantes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    /* Colores Sofisticados */
    --black: #0a0a0a;
    --dark: #141414;
    --charcoal: #1f1f1f;
    --gray-900: #2a2a2a;
    --gray-700: #4a4a4a;
    --gray-500: #6b6b6b;
    --gray-300: #a3a3a3;
    --gray-100: #f5f5f5;
    --white: #ffffff;
    
    /* Naranja Ultra Sutil */
    --accent: #d95918;
    --accent-light: rgba(212, 118, 58, 0.08);
    --accent-glow: rgba(212, 118, 58, 0.15);
    
    /* Transparencias */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-light: rgba(255, 255, 255, 0.95);
    
    /* Tipografía */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Espaciado */
    --section-padding: 140px;
    --container-padding: 5%;
    
    /* Bordes */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Sombras Sutiles */
    --shadow-sm: 0 2px 20px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 60px rgba(212, 118, 58, 0.1);
    
    /* Transiciones */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============================================
   RESET Y BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

::selection {
    background-color: var(--accent-light);
    color: var(--black);
}

/* ============================================
   TIPOGRAFÍA ELEGANTE
   ============================================ */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--black);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--black);
}
h5{
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--accent);
}

p {
    font-weight: 400;
    color: var(--gray-500);
}

a {
    text-decoration: none;
    transition: all 0.4s var(--ease-out);
}

/* ============================================
   NAVBAR - Glassmorphism Elegante
   ============================================ */
.navbar-premium {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.5s var(--ease-out);
}

.navbar-premium.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.03em;
}

.navbar-brand span {
    font-weight: 300;
    opacity: 0.5;
}

.navbar-menu {
    display: flex;
    gap: 8px;
    list-style: none;
}

.navbar-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.navbar-menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar-menu a.active {
    color: var(--white);
    background: var(--accent);
}

/* Mobile Menu */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: all 0.3s;
}
/* Dropdown Menu Styles */
.navbar-menu li {
    position: relative;
}

.dropdown-toggle {
    position: relative;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.dropdown-toggle.active::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--ease-out);
    z-index: 1000;
    margin-top: 8px;
}

.dropdown-toggle:hover + .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.938rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: var(--gray-100);
    color: var(--accent);
    border-left-color: var(--accent);
}

.dropdown-menu a i {
    margin-right: 10px;
    width: 18px;
    color: var(--accent);
}

/* Mobile Dropdown */
@media (max-width: 968px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--gray-100);
        margin: 8px 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .dropdown-toggle.active + .dropdown-menu {
        max-height: 400px;
    }
    
    .dropdown-menu a {
        padding: 12px 20px 12px 40px;
        font-size: 0.875rem;
    }
}

/* ============================================
   HERO SLIDER - Cinematográfico
   ============================================ */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: var(--black);
}

.slider-wrapper {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s var(--ease-in-out);
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s var(--ease-out);
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.4) 100%
    );
}

.slide-content {
    position: absolute;
    top: 50%;
    left: var(--container-padding);
    transform: translateY(-50%);
    max-width: 700px;
    z-index: 10;
}

.slide-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.slide-title {
    font-size: clamp(3rem, 7vw, 5rem);
    color: var(--white);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--ease-out) 0.3s;
}

.slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

.slide-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 500px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--ease-out) 0.5s;
}

.slide.active .slide-description {
    opacity: 1;
    transform: translateY(0);
}

.slide-cta {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s var(--ease-out) 0.7s;
}

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

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 60px;
    left: var(--container-padding);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.slider-dot.active {
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.slider-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all 0.4s var(--ease-out);
}

.slider-dot.active::after {
    border-color: var(--accent);
}

/* Slider Progress */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    width: 0;
    transition: width 6s linear;
}

.slide.active ~ .slider-progress {
    width: 100%;
}

/* ============================================
   BOTONES PREMIUM
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(212, 118, 58, 0.3);
}

.btn-primary:hover {
    background: #c06a32;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 118, 58, 0.4);
}

.btn-dark {
    background: var(--black);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

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

.btn-sm {
    padding: 12px 24px;
    font-size: 0.8125rem;
}

/* ============================================
   SECCIONES
   ============================================ */
.section {
    padding: var(--section-padding) 0;
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.section-light {
    background: var(--gray-100);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-narrow {
    max-width: 800px;
}

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

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent-light);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-dark .section-tag {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   VALUE PROPOSITION
   ============================================ */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

/* ============================================
   PROJECTS GRID
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(10, 10, 10, 0.3) 50%,
        rgba(10, 10, 10, 0.1) 100%
    );
    transition: all 0.4s var(--ease-out);
}

.project-card:hover .project-overlay {
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.2) 100%
    );
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out);
}

.project-card:hover .project-content {
    transform: translateY(0);
}

.project-category {
    display: inline-block;
    padding: 6px 12px;
    background: var(--accent);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.project-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 8px;
}

.project-location {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.project-location i {
    margin-right: 6px;
    color: var(--accent);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s var(--ease-out);
}

.project-card:hover .project-link {
    opacity: 1;
    transform: translateY(0);
}

.project-link:hover {
    color: var(--accent);
}

.project-link i {
    transition: transform 0.3s var(--ease-out);
}

.project-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   STATS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 500;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gray-100);
}

.timeline-item {
    position: relative;
    padding: 0 60px 60px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 60px;
    padding-left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 60px;
    padding-right: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--accent-light);
}

.timeline-item:nth-child(odd)::before {
    right: -8px;
}

.timeline-item:nth-child(even)::before {
    left: -8px;
}

.timeline-year {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.timeline-text {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

/* ============================================
   EQUIPMENT CATEGORIES
   ============================================ */
.equipment-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.equipment-category {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
}

.equipment-category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.equipment-category:hover .equipment-category-image {
    transform: scale(1.1);
}

.equipment-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(10, 10, 10, 0.2) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}

.equipment-category-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.equipment-category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 8px;
}

.equipment-category-count {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.equipment-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-out);
}

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

.equipment-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.equipment-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.equipment-card-body {
    padding: 24px;
}

.equipment-card-category {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.equipment-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.equipment-card-specs {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.equipment-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.equipment-card-btn:hover {
    gap: 12px;
}

/* ============================================
   CARD PREMIUM
   ============================================ */
.card-premium {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-out);
}

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

.card-premium-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.card-premium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.card-premium-body {
    padding: 32px;
}

.card-premium-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-premium-text {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 20px;
}

/* ============================================
   CONTACTO
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h3 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.contact-info p {
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out);
}

.contact-method:hover {
    background: var(--accent-light);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-sm);
    color: var(--accent);
    font-size: 1.25rem;
}

.contact-method-text {
    flex: 1;
}

.contact-method-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.contact-method-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
}

/* Form Premium */
.form-premium {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

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

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

.form-control {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--black);
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out);
}

.form-control:focus {
    outline: none;
    background: var(--white);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-light);
}

.form-control::placeholder {
    color: var(--gray-300);
}

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

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b6b6b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* ============================================
   MAP
   ============================================ */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

/* ============================================
   FOOTER PREMIUM
   ============================================ */
.footer-premium {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 40px;
}

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

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-brand span {
    font-weight: 300;
    opacity: 0.5;
}

.footer-description {
    font-size: 0.9375rem;
    color: var(--gray-300);
    margin-bottom: 24px;
    max-width: 300px;
}

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

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 1.125rem;
    transition: all 0.3s var(--ease-out);
}

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

.footer-title {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: var(--gray-300);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 40px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============================================
   ANIMACIONES
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
}

/* Stagger Animation */
.stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-out);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }

.stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Fix para value-items dentro de stagger - asegurar visibilidad */
.value-grid.stagger > .value-item {
    opacity: 0;
    transform: translateY(30px);
}

.value-grid.stagger.visible > .value-item {
    opacity: 1 !important;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 100px;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .equipment-categories {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 40px !important;
        padding-right: 0 !important;
    }
    
    .timeline-item::before {
        left: -8px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
        --container-padding: 6%;
    }
    
    .hero-slider {
        min-height: 600px;
    }
    
    .slide-content {
        left: var(--container-padding);
        right: var(--container-padding);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .form-premium {
        padding: 32px;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 14px 24px;
        font-size: 0.8125rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
}

/* ============================================
   UTILIDADES
   ============================================ */
.text-accent {
    color: var(--accent);
}

.text-center {
    text-align: center;
}

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-auto { margin-top: auto; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

/* ============================================
   ESTILOS ADICIONALES PARA NUEVAS PÁGINAS
   ============================================ */

/* ============================================
   PÁGINA DE INSUMOS
   ============================================ */

/* Cabecera de Categoría */
.category-header {
    text-align: center;
    margin-bottom: 60px;
}

.category-tag {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.category-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--black);
    margin-bottom: 16px;
}

.category-description {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid de Productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Cards de Producto Premium */
.product-card-premium {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-out);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.product-card-premium:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: rgba(212, 118, 58, 0.2);
}

.product-image-link {
    display: block;
    position: relative;
    /*overflow: hidden;*/
    aspect-ratio: 4/3;
}

.product-image-premium {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.product-card-premium:hover .product-image-premium {
    transform: scale(1.08);
}

.product-content-premium {
    padding: 24px;
    flex: 1;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-desc {
    font-size: 0.938rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-specs-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-specs-mini span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.813rem;
    color: var(--gray-700);
    padding: 6px 12px;
    background-color: var(--gray-100);
    border-radius: var(--radius-sm);
}

.product-specs-mini i {
    color: var(--accent);
    font-size: 0.875rem;
}

.product-footer-premium {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.938rem;
}

/* ============================================
   MODAL
   ============================================ */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
}

.modal-backdrop.active {
    display: block;
    opacity: 1;
}

.modal-premium {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: all 0.3s var(--ease-out);
    overflow: hidden;
}

.modal-premium.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header-premium {
    padding: 40px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-premium h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--black);
    margin: 0;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-100);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
    font-size: 1.25rem;
    color: var(--gray-700);
}

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

.modal-body-premium {
    padding: 40px;
    overflow-y: auto;
    max-height: calc(90vh - 160px);
}

.modal-product-image-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
}

.modal-product-specs {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.modal-product-specs li {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 1rem;
    color: var(--gray-700);
}

.modal-product-specs li:last-child {
    border-bottom: none;
}

.modal-product-specs i {
    color: var(--accent);
    margin-right: 16px;
    width: 24px;
    font-size: 1.125rem;
}

.modal-footer-premium {
    padding: 32px 40px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    gap: 16px;
}

/* ============================================
   FORMULARIO DE CONTACTO MEJORADO
   ============================================ */

.form-intro {
    margin-bottom: 40px;
    text-align: center;
}

.form-intro h3 {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 12px;
}

.form-intro p {
    font-size: 1.063rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-form-premium {
    background-color: var(--white);
    padding: 0;
}

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

.form-group label {
    display: block;
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--black);
    background-color: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-light);
}

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

.form-group select {
    cursor: pointer;
    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='%236b6b6b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Ajustes Vision/Mission Grid */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.vm-card {
    background-color: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-out);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

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

.vm-icon {
    width: 80px;
    height: 80px;
    background-color: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

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

.vm-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 16px;
}

.vm-text {
    font-size: 1.063rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Values Grid Modern */
.values-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.value-card-modern {
    background-color: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.4s var(--ease-out);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.value-card-modern:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.value-icon-modern {
    width: 64px;
    height: 64px;
    background-color: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon-modern i {
    font-size: 1.75rem;
    color: var(--accent);
}

.value-title-modern {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

.value-text-modern {
    font-size: 0.938rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Content Split */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 968px) {
    .content-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .modal-premium {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header-premium,
    .modal-body-premium,
    .modal-footer-premium {
        padding: 24px;
    }
    
    .modal-product-image-main {
        height: 250px;
    }
    
    .modal-footer-premium {
        flex-direction: column;
    }
}

/* Contact Note */
.contact-note {
    margin-top: 32px;
    padding: 20px;
    background-color: var(--gray-100);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
}

.contact-note p {
    margin: 0;
    font-size: 0.938rem;
    color: var(--gray-700);
}

.contact-note i {
    color: var(--accent);
    margin-right: 8px;
}

/* ============================================
   ESTILOS ESPECÍFICOS PARA MODAL CON ESTRUCTURA ACTUAL
   ============================================ */

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 1;
}

.modal-container {
    position: relative;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    margin: 20px;
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.modal-gallery {
    padding: 40px;
    background-color: var(--gray-50);
}

.modal-gallery .gallery-main img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

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

.modal-gallery .gallery-thumbs img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s var(--ease-out);
}

.modal-gallery .gallery-thumbs img:hover,
.modal-gallery .gallery-thumbs img.thumb-active {
    border-color: var(--accent);
}

.modal-info {
    padding: 40px;
}

.modal-header-info {
    margin-bottom: 32px;
}

.product-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
}

.modal-description {
    margin-bottom: 32px;
}

.modal-description h4,
.modal-specs h4,
.modal-features h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
}

.modal-description p {
    font-size: 0.938rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.spec-item i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 4px;
}

.spec-item div {
    flex: 1;
}

.spec-label {
    display: block;
    font-size: 0.813rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.spec-value {
    display: block;
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--black);
}

.modal-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.modal-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.938rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.modal-features li:last-child {
    border-bottom: none;
}

.modal-features li i {
    color: #10b981;
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    gap: 12px;
}

@media (max-width: 968px) {
    .modal-content-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-gallery,
    .modal-info {
        padding: 24px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
}

/* ============================================
   FIX RESPONSIVE PARA PÁGINA DE PRODUCTO
   ============================================ */

/* Asegurar que las imágenes no rompan el layout */
.main-image,
.thumb,
.modal-product-image-main,
.product-image-premium,
.modal-gallery .gallery-main img,
.modal-gallery .gallery-thumbs img {
    max-width: 100%;
    height: auto;
}

/* Media queries específicas para página de producto */
@media (max-width: 1200px) {
    .product-grid {
        gap: 60px;
    }
}

@media (max-width: 968px) {
    .product-hero {
        padding: 120px 0 60px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-main {
        position: relative;
        top: 0;
    }
    
    .product-info h1 {
        font-size: 2.25rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .specs-table {
        font-size: 0.875rem;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 16px 12px;
    }
}

@media (max-width: 640px) {
    .product-info h1 {
        font-size: 1.875rem;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .breadcrumb {
        font-size: 0.813rem;
        flex-wrap: wrap;
    }
    
    .main-image {
        aspect-ratio: 1/1;
    }
    
    .key-features {
        padding: 24px;
    }
    
    .info-box {
        padding: 20px;
    }
}

/* Prevenir overflow horizontal */
body {
    overflow-x: hidden;
}

.container,
.container-narrow {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 640px) {
    .container,
    .container-narrow {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* Asegurar que todos los contenedores respeten el ancho */
* {
    box-sizing: border-box;
}

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

/* Fix para galería en modal en móviles */
@media (max-width: 768px) {
    .modal-gallery .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-container {
        margin: 10px;
        max-height: 95vh;
    }
}

/* Prevenir que las imágenes salgan del contenedor */
.product-card-premium,
.modal-premium,
.gallery-main,
.product-image-link {
   /* overflow: hidden;*/
}

/* ============================================
   MEJORAS VISUALES - HOME, NOSOTROS, CONTACTO
   ============================================ */

/* ============================================
   1. HOME - MENSAJE DESTACADO (Reemplazo de Stats)
   ============================================ */

.highlight-message {
    text-align: center;
    padding: 80px 40px;
    position: relative;
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, #e8915f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
    box-shadow: 0 10px 40px rgba(212, 118, 58, 0.3);
}

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

.highlight-text {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--white);
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto 40px;
}

.highlight-line {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0 auto;
    border-radius: 2px;
}

/* ============================================
   2. HOME - FIX OPACIDAD EN VALUE ITEMS
   ============================================ */

.value-item {
    background-color: var(--white);
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s var(--ease-out);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 1 !important; /* Fix opacidad */
    visibility: visible !important; /* Fix visibilidad */
}

.value-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    border-color: rgba(212, 118, 58, 0.3);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(212, 118, 58, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.4s var(--ease-out);
}

.value-item:hover .value-icon {
    background: linear-gradient(135deg, var(--accent) 0%, #e8915f 100%);
    transform: scale(1.1);
}

.value-icon i {
    font-size: 2rem;
    color: var(--accent);
    transition: all 0.4s var(--ease-out);
}

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

.value-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 16px;
}

.value-text {
    font-size: 1.063rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   3. NOSOTROS - SECCIÓN MEJORADA
   ============================================ */

.section-about-enhanced {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.about-wrapper {
    position: relative;
}

.about-decoration {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    pointer-events: none;
    opacity: 0.05;
}

.decoration-circle {
    width: 400px;
    height: 400px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: absolute;
}

.decoration-line {
    width: 2px;
    height: 300px;
    background: linear-gradient(180deg, var(--accent), transparent);
    position: absolute;
    top: 50px;
    left: 200px;
    transform: rotate(45deg);
}

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

.about-left {
    position: sticky;
    top: 120px;
}

.about-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.3;
    margin-bottom: 48px;
}

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

.about-feature-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.feature-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, #e8915f 100%);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-display);
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(212, 118, 58, 0.3);
}

.feature-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 0.938rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.about-right {
    background-color: var(--white);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-text-block {
    margin-bottom: 48px;
}

.about-text-main {
    font-size: 1.188rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-text-main strong {
    color: var(--black);
    font-weight: 600;
}

.about-text-secondary {
    font-size: 1.063rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.about-stats-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 2px solid var(--gray-100);
}

.stat-mini-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-mini-icon {
    width: 56px;
    height: 56px;
    background-color: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-mini-icon i {
    font-size: 1.5rem;
    color: var(--accent);
}

.stat-mini-info {
    display: flex;
    flex-direction: column;
}

.stat-mini-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-mini-label {
    font-size: 0.813rem;
    color: var(--gray-500);
    line-height: 1.2;
}

/* ============================================
   4. CONTACTO - MÁS FONDOS Y VISIBILIDAD
   ============================================ */

/* Hero más impactante */
.contact-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(212, 118, 58, 0.1) 100%);
    pointer-events: none;
}

/* Grid de contacto mejorado */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 120px;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 1.063rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-method:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(212, 118, 58, 0.2);
    transform: translateX(8px);
}

.contact-method-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(212, 118, 58, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s var(--ease-out);
}

.contact-method:hover .contact-method-icon {
    background: linear-gradient(135deg, var(--accent) 0%, #e8915f 100%);
    transform: scale(1.1);
}

.contact-method-icon i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: all 0.3s var(--ease-out);
}

.contact-method:hover .contact-method-icon i {
    color: var(--white);
}

.contact-method-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-method-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

.contact-method-value {
    font-size: 1.063rem;
    color: var(--black);
    font-weight: 600;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-note {
    margin-top: 32px;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(212, 118, 58, 0.05) 100%);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
}

.contact-note p {
    margin: 0;
    font-size: 0.938rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-note i {
    color: var(--accent);
    font-size: 1.125rem;
}

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

@media (max-width: 968px) {
    .highlight-message {
        padding: 60px 24px;
    }
    
    .highlight-text {
        font-size: 1.75rem;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-left {
        position: relative;
        top: 0;
    }
    
    .about-right {
        padding: 32px;
    }
    
    .about-stats-mini {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        position: relative;
        top: 0;
    }
}

@media (max-width: 640px) {
    .highlight-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 32px;
    }
    
    .highlight-icon i {
        font-size: 1.5rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-feature-item {
        gap: 16px;
    }
    
    .feature-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .contact-method {
        padding: 20px;
    }
    
    .contact-method-icon {
        width: 48px;
        height: 48px;
    }
    
    .contact-method-icon i {
        font-size: 1.25rem;
    }
}

/* ============================================
   AUTOELEVADORES - ESTILOS PREMIUM
   ============================================ */

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

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(212, 118, 58, 0.1) 100%);
    color: var(--accent);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.category-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
}

.category-description {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

/* Product Card Premium */
.product-card-premium {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.product-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(212, 118, 58, 0.2);
}

.product-image-link {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}

.product-image-premium {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s var(--ease-out);
}

.product-card-premium:hover .product-image-premium {
    transform: scale(1.08);
}

.product-content-premium {
    padding: 32px 28px;
    flex: 1;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

.product-desc {
    font-size: 0.938rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-specs-mini {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.product-specs-mini span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.product-specs-mini span i {
    color: var(--accent);
    font-size: 1rem;
}

.product-footer-premium {
    padding: 0 28px 28px;
    display: flex;
    gap: 12px;
}

.btn-sm {
    padding: 12px 20px;
    font-size: 0.875rem;
    flex: 1;
}

/* Modal Premium */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-premium {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-premium.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    position: relative;
    padding: 40px;
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
    color: var(--white);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.modal-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 1rem;
    color: var(--gray-300);
}

.modal-body {
    padding: 40px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table thead {
    background: linear-gradient(135deg, var(--accent) 0%, #e8915f 100%);
    color: var(--white);
}

.specs-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specs-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.938rem;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table tr:nth-child(even) {
    background: var(--gray-50);
}

.spec-label {
    color: var(--gray-600);
    font-weight: 500;
}

.spec-value {
    color: var(--black);
    font-weight: 600;
}

.modal-footer {
    padding: 0 40px 40px;
    display: flex;
    gap: 12px;
}

/* Responsive */
@media (max-width: 968px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .modal-premium {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 30px 24px;
    }
    
    .category-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-footer-premium {
        flex-direction: column;
    }
    
    .btn-sm {
        width: 100%;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .specs-table {
        font-size: 0.875rem;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 12px;
    }
}

/* ============================================
   PÁGINAS DE DETALLE DE PRODUCTO
   ============================================ */

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumb span:last-child {
    color: var(--black);
    font-weight: 500;
}

/* Product Detail Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Product Images */
.product-detail-images {
    position: sticky;
    top: 120px;
}

.product-main-image {
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--gray-50);
    margin-bottom: 20px;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbs {
    display: flex;
    gap: 12px;
}

.thumb {
    width: calc(33.333% - 8px);
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumb:hover {
    border-color: var(--accent);
}

.thumb.active {
    border-color: var(--accent);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-detail-info {
    padding: 20px 0;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent) 0%, #e8915f 100%);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.product-detail-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
    line-height: 1.1;
}

.product-detail-subtitle {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-bottom: 40px;
}

/* Product Highlights */
.product-highlights {
    display: flex;
    gap: 24px;
    padding: 32px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.highlight-item i {
    font-size: 2rem;
    color: var(--accent);
}

.highlight-item > div {
    display: flex;
    flex-direction: column;
}

.highlight-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
}

.highlight-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Product Description */
.product-description {
    margin-bottom: 40px;
}

.product-description h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
}

.feature-list li i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 2px;
}

.feature-list li strong {
    color: var(--black);
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 12px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

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

/* Specs Container */
.specs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.spec-category {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.spec-category-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
    padding: 20px 24px;
    margin: 0;
}

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

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 118, 58, 0.2);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(212, 118, 58, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.4s var(--ease-out);
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--accent);
    transition: all 0.4s var(--ease-out);
}

.benefit-card:hover .benefit-icon {
    background: linear-gradient(135deg, var(--accent) 0%, #e8915f 100%);
    transform: scale(1.1);
}

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

.benefit-card h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.938rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-detail-images {
        position: static;
    }
    
    .product-highlights {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .specs-container {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .product-detail-title {
        font-size: 2rem;
    }
    
    .highlight-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-thumbs {
        flex-wrap: wrap;
    }
    
    .thumb {
        width: calc(50% - 6px);
    }
}
.navbar-menu a.active {
    color: var(--white);
    background: var(--accent);
}

/* Dropdown Menu Styles */
.navbar-menu li {
    position: relative;
}

.dropdown-toggle {
    position: relative;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.dropdown-toggle.active::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--ease-out);
    z-index: 1000;
    margin-top: 8px;
}

.dropdown-toggle:hover + .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.938rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: var(--gray-100);
    color: var(--accent);
    border-left-color: var(--accent);
}

.dropdown-menu a i {
    margin-right: 10px;
    width: 18px;
    color: var(--accent);
}

/* Mobile Dropdown */
@media (max-width: 968px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--gray-100);
        margin: 8px 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .dropdown-toggle.active + .dropdown-menu {
        max-height: 400px;
    }
    
    .dropdown-menu a {
        padding: 12px 20px 12px 40px;
        font-size: 0.875rem;
    }
}

/* ============================================
   MEJORAS AGREGADAS - JLG THEME
   Agregar al final de main.css
   ============================================ */

/* ============================================
   MENÚ MÓVIL - Mejoras
   ============================================ */

/* Prevenir scroll del body cuando menu abierto */
body.menu-open {
    overflow: hidden;
}

/* Animación suave del hamburger */
.navbar-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.navbar-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   FORMULARIO - Validaciones Elegantes
   ============================================ */

/* Form Groups */
.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-label .required {
    color: var(--accent);
    font-weight: 700;
}

.form-label .optional {
    color: var(--gray-400);
    font-size: 0.813rem;
    font-weight: 400;
}

/* Inputs base */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 0.938rem;
    font-family: var(--font-primary);
    transition: all 0.2s var(--ease-out);
    background-color: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 118, 58, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-300);
}

/* Estados de validación - VÁLIDO */
.form-input.valid,
.form-select.valid,
.form-textarea.valid {
    border-color: #22c55e;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2322c55e' viewBox='0 0 16 16'%3E%3Cpath d='M12.736 3.97a.733.733 0 0 1 1.047 0c.286.289.29.756.01 1.05L7.88 12.01a.733.733 0 0 1-1.065.02L3.217 8.384a.757.757 0 0 1 0-1.06.733.733 0 0 1 1.047 0l3.052 3.093 5.4-6.425a.247.247 0 0 1 .02-.022Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-select.valid {
    background-position: right 36px center, right 12px center;
}

/* Estados de validación - ERROR */
.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #ef4444;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ef4444' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-select.error {
    background-position: right 36px center, right 12px center;
}

.form-textarea.valid,
.form-textarea.error {
    background-position: right 12px top 12px;
    background-size: 16px;
}

/* Mensajes de error */
.form-error {
    display: block;
    font-size: 0.813rem;
    color: #ef4444;
    margin-top: 6px;
    min-height: 20px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.2s var(--ease-out);
}

.form-error.active {
    opacity: 1;
    transform: translateY(0);
}

/* Textarea específico */
.form-textarea {
    resize: vertical;
    min-height: 120px;
    max-height: 300px;
}

.textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.char-counter {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-left: auto;
}

#char-count {
    font-weight: 600;
    color: var(--gray-500);
}

.char-counter.warning #char-count {
    color: #f59e0b;
}

.char-counter.danger #char-count {
    color: #ef4444;
}

/* Select custom */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Respuesta del servidor */
.form-response {
    display: none;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 0.938rem;
    animation: slideDown 0.3s var(--ease-out);
    margin-top: 20px;
}

.form-response.success {
    background-color: #dcfce7;
    border: 1px solid #22c55e;
    color: #166534;
}

.form-response.error {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.form-response i {
    margin-right: 8px;
}

/* Animaciones */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.shake {
    animation: shake 0.5s;
}

/* Loading state en botón */
.btn-loading {
    display: none;
}

.btn-text,
.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Focus visible para accesibilidad */
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ============================================
   RESPONSIVE - Formulario
   ============================================ */
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* Previene zoom en iOS */
    }
}

/* ============================================
   MEJORAS ADICIONALES
   ============================================ */

/* Smooth scroll para todo el sitio */
html {
    scroll-behavior: smooth;
}

/* Mejora del focus visible */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* Loading spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* ============================================
   FIN DE MEJORAS AGREGADAS
   ============================================ */