/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Critical CSS - Above the fold */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background-color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: #2D3748;
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 0;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #D90429;
    color: #FFFFFF;
}

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

.btn-secondary {
    background-color: transparent;
    color: #D90429;
    border: 2px solid #D90429;
}

.btn-secondary:hover {
    background-color: #D90429;
    color: #FFFFFF;
}

.btn-contact {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #D90429;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-contact:hover {
    background-color: #D90429;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Indicador de progreso de scroll */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #D90429, #B40321);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Botón de scroll hacia arriba */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D90429, #B40321);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.3);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(217, 4, 41, 0.4);
}

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

/* Efecto de glassmorphism en header al hacer scroll */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(217, 4, 41, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #D90429;
    text-decoration: none;
}

/* Logo de la empresa */
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.logo-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.logo-link:hover .logo-image {
    transform: rotate(5deg);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #D90429;
    transition: color 0.3s ease;
}

.logo-link:hover .logo-text {
    color: #B40321;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #2D3748;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #D90429;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #D90429;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2D3748;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Partículas flotantes */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(217, 4, 41, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(198, 169, 105, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(45, 55, 72, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

/* Efecto de partículas animadas */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 4s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    animation-delay: 1s;
    animation-duration: 5s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    top: 80%;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 3s;
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    top: 30%;
    left: 70%;
    animation-delay: 0.5s;
    animation-duration: 4.5s;
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    top: 70%;
    left: 50%;
    animation-delay: 1.5s;
    animation-duration: 3.5s;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2D3748 0%, #718096 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: #FFFFFF;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    color: #FFFFFF;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-buttons .btn {
    min-width: 200px;
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2D3748 0%, #718096 100%);
    padding: 120px 0 80px;
    text-align: center;
}

/* About Preview Section */
.about-preview {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #718096;
}

/* Processes Section */
.processes {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.processes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.process-card {
    background-color: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(217, 4, 41, 0.15);
}

.process-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.process-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.process-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(217, 4, 41, 0.8), rgba(179, 3, 33, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.process-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.process-content {
    padding: 2rem;
}

.process-title {
    font-size: 1.5rem;
    color: #2D3748;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.process-description {
    color: #718096;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.process-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.process-feature {
    background: linear-gradient(135deg, #D90429, #B40321);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.process-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.3);
}

/* Values Section */
.values {
    padding: 80px 0;
    background-color: #F7FAFC;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(217, 4, 41, 0.1), transparent);
    transition: left 0.6s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(217, 4, 41, 0.15);
    border: 2px solid rgba(217, 4, 41, 0.2);
}

.value-card:hover .value-icon {
    animation: pulse 1s ease-in-out infinite;
    transform: scale(1.1);
}

.value-card:hover .value-title {
    color: #D90429;
    transform: translateY(-2px);
}

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

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

.value-icon {
    margin-bottom: 1.5rem;
}

.value-title {
    font-size: 1.5rem;
    color: #2D3748;
    margin-bottom: 1rem;
}

.value-description {
    color: #718096;
    line-height: 1.6;
}

/* Mission Section */
.mission {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text {
    padding-right: 2rem;
}

.mission-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #718096;
}

.mission-image,
.vision-image,
.solutions-image,
.customization-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    background-color: #F7FAFC;
    border-radius: 8px;
    padding: 2rem;
    border: 2px dashed #C6A969;
}

/* Vision Section */
.vision {
    padding: 80px 0;
    background-color: #F7FAFC;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-text {
    padding-left: 2rem;
}

.vision-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #718096;
}

/* Values Detailed Section */
.values-detailed {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #F7FAFC;
    border-radius: 8px;
}

.value-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #D90429;
    min-width: 80px;
}

.value-content {
    flex: 1;
}

.value-title {
    font-size: 1.5rem;
    color: #2D3748;
    margin-bottom: 1rem;
}

.value-description {
    color: #718096;
    line-height: 1.6;
}

/* Solutions Section */
.solutions-main {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.solutions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solutions-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #718096;
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #2D3748;
}

/* Customization Section */
.customization {
    padding: 80px 0;
    background-color: #F7FAFC;
}

.customization-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.customization-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #718096;
    margin-bottom: 2rem;
}

.customization-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.customization-feature h4 {
    color: #2D3748;
    margin-bottom: 0.5rem;
}

.customization-feature p {
    color: #718096;
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    text-align: center;
    padding: 1.5rem;
    background-color: #F7FAFC;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    margin-bottom: 1.5rem;
}

.gallery-title {
    font-size: 1.25rem;
    color: #2D3748;
    margin-bottom: 1rem;
}

.gallery-description {
    color: #718096;
    font-size: 0.95rem;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #D90429 0%, #B40321 100%);
    color: #FFFFFF;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn-primary {
    background-color: #FFFFFF;
    color: #D90429;
}

.cta .btn-primary:hover {
    background-color: #F7FAFC;
    transform: translateY(-2px);
}

/* Contact Info Section */
.contact-info {
    padding: 80px 0;
    background-color: #F7FAFC;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-section {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-person {
    margin-bottom: 2rem;
}

.person-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #F7FAFC;
    border-radius: 8px;
    border-left: 4px solid #D90429;
}

.person-icon {
    flex-shrink: 0;
}

.person-name {
    font-size: 1.25rem;
    color: #2D3748;
    margin-bottom: 0.5rem;
}

.person-position {
    color: #D90429;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2D3748;
    font-size: 0.95rem;
}

.location-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #F7FAFC;
    border-radius: 8px;
    border-left: 4px solid #D90429;
    margin-bottom: 2rem;
}

.location-icon {
    flex-shrink: 0;
}

.location-title {
    font-size: 1.25rem;
    color: #2D3748;
    margin-bottom: 0.5rem;
}

.location-address {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: #2D3748;
    color: #FFFFFF;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    color: #D90429;
    margin-bottom: 1rem;
}

.footer-text {
    color: #A0AEC0;
    margin-bottom: 1rem;
}

.footer-contact-item {
    color: #A0AEC0;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #4A5568;
    padding-top: 1rem;
    text-align: center;
    color: #A0AEC0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 999;
    }

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

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background-color: rgba(217, 4, 41, 0.1);
        color: #D90429;
    }

    .nav-toggle {
        display: flex;
        z-index: 1000;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

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

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

    /* Ocultar logo en móvil, mostrar solo texto */
    .logo-image {
        display: none;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 25px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .page-title {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .mission-content,
    .vision-content,
    .solutions-content,
    .customization-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .mission-text,
    .vision-text {
        padding: 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .value-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .value-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
        margin: 0 0.5rem 2rem;
    }

    .value-number {
        min-width: auto;
        font-size: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-section {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 1rem;
    }

    .person-card,
    .location-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        margin: 0 0.5rem 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .gallery-item {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    /* Mejoras específicas para móvil */
    .container {
        padding: 0 15px;
    }

    .page-header {
        padding: 100px 0 60px;
    }

    .about-preview,
    .processes,
    .values,
    .mission,
    .vision,
    .values-detailed,
    .solutions-main,
    .customization,
    .gallery,
    .cta,
    .contact-info {
        padding: 60px 0;
    }

    /* Procesos responsivos */
    .processes-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        padding: 0 1rem;
    }

    .process-card {
        margin: 0 0.5rem;
    }

    .process-image {
        height: 200px;
    }

    .process-content {
        padding: 1.5rem;
    }

    .process-title {
        font-size: 1.3rem;
    }

    .process-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .process-features {
        gap: 0.4rem;
    }

    .process-feature {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    /* Botón scroll-to-top en móvil */
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    /* Mejorar legibilidad en móvil */
    .hero-content {
        padding: 0 20px;
    }

    .about-text,
    .mission-description,
    .vision-description,
    .solutions-description,
    .customization-description {
        font-size: 1rem;
        line-height: 1.7;
        text-align: center;
    }

    /* Optimizar tarjetas de contacto */
    .contact-details {
        gap: 0.75rem;
    }

    .contact-item {
        font-size: 0.9rem;
        justify-content: center;
    }

    /* Mejorar espaciado en móvil */
    .features-list {
        gap: 0.75rem;
    }

    .feature-item {
        font-size: 0.95rem;
    }

    .customization-features {
        gap: 1rem;
    }

    .customization-feature h4 {
        font-size: 1.1rem;
    }

    .customization-feature p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        max-width: 250px;
    }

    .section-title {
        font-size: 1.75rem;
        padding: 0 0.5rem;
    }

    .page-title {
        font-size: 2rem;
        padding: 0 0.5rem;
    }

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

    .value-card {
        padding: 1.25rem;
        margin: 0 0.25rem;
    }

    .person-card,
    .location-card {
        padding: 1.25rem;
        margin: 0 0.25rem 1.25rem;
    }

    .contact-section {
        padding: 1.25rem;
        margin: 0 0.25rem;
    }

    .gallery-item {
        padding: 1.25rem;
        margin: 0 0.25rem;
    }

    .value-item {
        padding: 1.25rem;
        margin: 0 0.25rem 1.5rem;
    }

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

    .nav-link {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .hero-content {
        padding: 0 15px;
    }

    .about-text,
    .mission-description,
    .vision-description,
    .solutions-description,
    .customization-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .contact-item {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .contact-item svg {
        margin-bottom: 0.25rem;
    }

    .person-name,
    .location-title {
        font-size: 1.1rem;
    }

    .person-position {
        font-size: 0.9rem;
    }

    .location-address {
        font-size: 0.9rem;
    }

    .footer-contact-item {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .footer-title {
        font-size: 1.25rem;
    }

    .footer-text {
        font-size: 0.9rem;
    }

    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }





    /* Procesos en pantallas muy pequeñas - MEJORADO */
    .processes-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0 0.75rem;
        margin-top: 2rem;
    }

    .process-card {
        margin: 0;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }

    .process-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(217, 4, 41, 0.12);
    }

    .process-image {
        height: 200px;
        border-radius: 12px 12px 0 0;
    }

    .process-img {
        border-radius: 12px 12px 0 0;
    }

    .process-content {
        padding: 1.5rem 1.25rem;
    }

    .process-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
        color: #2D3748;
    }

    .process-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
        color: #4A5568;
    }

    .process-features {
        gap: 0.4rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .process-feature {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        border-radius: 15px;
        font-weight: 600;
        letter-spacing: 0.3px;
    }

    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
        line-height: 1.5;
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .process-number {
        font-size: 3.5rem;
        font-weight: 800;
    }

    .process-overlay {
        border-radius: 12px 12px 0 0;
    }

    /* Mejoras adicionales para móvil */
    .processes {
        padding: 60px 0;
    }

    .process-card:active {
        transform: scale(0.98);
    }

    /* Mejor espaciado entre características */
    .process-features {
        margin-top: 0.5rem;
    }

    /* Mejorar legibilidad del texto */
    .process-description {
        text-align: left;
        hyphens: auto;
        word-break: break-word;
    }

    /* Mejoras táctiles para móvil */
    .process-card {
        -webkit-tap-highlight-color: rgba(217, 4, 41, 0.1);
        cursor: pointer;
    }

    .process-feature {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }

    /* Mejorar contraste en móvil */
    .process-title {
        color: #1A202C;
        font-weight: 700;
    }

    .process-description {
        color: #2D3748;
    }

    /* Espaciado optimizado para dedos */
    .process-features {
        margin-top: 0.8rem;
        padding-top: 0.5rem;
    }

    /* Mejorar el overlay en móvil */
    .process-overlay {
        background: linear-gradient(135deg, rgba(217, 4, 41, 0.85), rgba(179, 3, 33, 0.75));
    }

    /* Animación suave para móvil */
    .process-card:hover .process-img {
        transform: scale(1.02);
    }

    /* Mejorar el número de proceso en móvil */
    .process-number {
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    }
}

/* Estilos para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .processes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .process-card {
        margin: 0;
    }
    
    .process-image {
        height: 220px;
    }
    
    .process-content {
        padding: 1.5rem;
    }
    
    .process-title {
        font-size: 1.3rem;
    }
    
    .process-description {
        font-size: 0.95rem;
    }
}

/* Estilos para tablets pequeñas - MEJORADO */
@media (max-width: 768px) and (min-width: 481px) {
    .processes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
        padding: 0 1rem;
        margin-top: 2.5rem;
    }
    
    .process-card {
        margin: 0;
        border-radius: 14px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .process-image {
        height: 220px;
        border-radius: 14px 14px 0 0;
    }
    
    .process-img {
        border-radius: 14px 14px 0 0;
    }
    
    .process-content {
        padding: 1.5rem 1.25rem;
    }
    
    .process-title {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .process-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    .process-feature {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        border-radius: 16px;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
        padding: 0 1rem;
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .process-number {
        font-size: 4rem;
    }
    
    .process-overlay {
        border-radius: 14px 14px 0 0;
    }
}

/* Animaciones Avanzadas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

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

/* Efectos de entrada escalonados */
.value-card:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.1s both; }
.value-card:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.2s both; }
.value-card:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.3s both; }

.gallery-item:nth-child(1) { animation: scaleIn 0.6s ease-out 0.1s both; }
.gallery-item:nth-child(2) { animation: scaleIn 0.6s ease-out 0.2s both; }
.gallery-item:nth-child(3) { animation: scaleIn 0.6s ease-out 0.3s both; }
.gallery-item:nth-child(4) { animation: scaleIn 0.6s ease-out 0.4s both; }

/* Animaciones de entrada para procesos */
.process-card:nth-child(1) { animation: slideInLeft 0.8s ease-out 0.1s both; }
.process-card:nth-child(2) { animation: fadeInUp 0.8s ease-out 0.2s both; }
.process-card:nth-child(3) { animation: slideInRight 0.8s ease-out 0.3s both; }
.process-card:nth-child(4) { animation: slideInLeft 0.8s ease-out 0.4s both; }
.process-card:nth-child(5) { animation: fadeInUp 0.8s ease-out 0.5s both; }
.process-card:nth-child(6) { animation: slideInRight 0.8s ease-out 0.6s both; }
.process-card:nth-child(7) { animation: slideInLeft 0.8s ease-out 0.7s both; }

/* Preloader personalizado */

/* Efectos de transición de página */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 9998;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    opacity: 0;
}

.page-transition.active {
    transform: translateX(0);
    opacity: 1;
}

/* Efectos de hover mejorados para botones */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(217, 4, 41, 0.3);
}

/* Efectos de texto animado */
.animated-text {
    display: inline-block;
    animation: fadeInUp 0.8s ease-out;
}

.animated-text:nth-child(1) { animation-delay: 0.1s; }
.animated-text:nth-child(2) { animation-delay: 0.2s; }
.animated-text:nth-child(3) { animation-delay: 0.3s; }

/* Efectos de parallax mejorados */
.parallax-element {
    will-change: transform;
}

/* Efectos de glassmorphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* Efectos de sombra dinámica */
.dynamic-shadow {
    transition: box-shadow 0.3s ease;
}

.dynamic-shadow:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Efectos de gradiente animado */
.animated-gradient {
    background: linear-gradient(-45deg, #D90429, #B40321, #2D3748, #718096);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Utilidades */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

/* Clases de utilidad para animaciones */
.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

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

/* Animaciones de entrada mejoradas */
.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-in.slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-in.slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-in.scale {
    animation: scaleIn 0.8s ease-out forwards;
}

/* Efecto ripple para botones */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Efectos de glassmorphism mejorados */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Efectos de neumorfismo */
.neomorphic {
    background: #F7FAFC;
    box-shadow: 
        20px 20px 60px #D1D5DB,
        -20px -20px 60px #FFFFFF;
    border-radius: 20px;
}

.neomorphic:hover {
    box-shadow: 
        inset 20px 20px 60px #D1D5DB,
        inset -20px -20px 60px #FFFFFF;
}

/* Efectos de gradiente de texto */
.gradient-text {
    background: linear-gradient(45deg, #D90429, #B40321, #2D3748);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* Efectos de hover para imágenes */
.image-hover-effect {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.image-hover-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(217, 4, 41, 0.8), rgba(198, 169, 105, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.image-hover-effect:hover::before {
    opacity: 1;
}

.image-hover-effect:hover img {
    transform: scale(1.1);
}

.image-hover-effect img {
    transition: transform 0.3s ease;
}

/* Efectos de loading skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Efectos de partículas mejoradas */
.particle-advanced {
    position: absolute;
    background: radial-gradient(circle, rgba(217, 4, 41, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 4s ease-in-out infinite;
}

/* Efectos de scroll reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Efectos de hover para enlaces */
.link-hover {
    position: relative;
    text-decoration: none;
    color: inherit;
}

.link-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #D90429, #B40321);
    transition: width 0.3s ease;
}

.link-hover:hover::after {
    width: 100%;
}

/* Efectos de focus mejorados */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.3);
    border-radius: 5px;
}


/* Efectos de cursor personalizado */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(217, 4, 41, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

/* Efectos de loading avanzado */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}
