:root {
    --primary-color: #02cbc4;
    --primary-dark: #019b94;
    --primary-light: #e0f7f6;
    --text-color: #2d3e50;
    --white: #ffffff;
    --gray-light: #f8fafc;
    --gray-medium: #e9ecef;
    --shadow-sm: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-md: 0 20px 40px rgba(2, 203, 196, 0.1);
    --shadow-lg: 0 30px 60px rgba(2, 203, 196, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #00b8a9 100%);
    --gradient-dark: linear-gradient(135deg, #1a2a3a 0%, #2d3e50 100%);
}

/* =========================================== */
/* SECCIÓN DE BIENVENIDA MEJORADA              */
/* =========================================== */

.hero-welcome {
    position: relative;
    padding: 110px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f6 100%);
    overflow: hidden;
}

.hero-welcome::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(2, 203, 196, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.hero-welcome::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(2, 203, 196, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatReverse 25s infinite ease-in-out;
}

.welcome-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: center;
}

.welcome-content {
    text-align: left;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-5%, 5%) rotate(120deg); }
    66% { transform: translate(5%, -5%) rotate(240deg); }
}

@keyframes floatReverse {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(5%, -5%) rotate(-120deg); }
    66% { transform: translate(-5%, 5%) rotate(-240deg); }
}

.welcome-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.welcome-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
    max-width: 640px;
}

.welcome-title .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.welcome-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(2, 203, 196, 0.2);
    z-index: -1;
    animation: widthPulse 3s infinite;
}

@keyframes widthPulse {
    0%, 100% { width: 100%; opacity: 0.2; }
    50% { width: 110%; opacity: 0.4; }
}

.welcome-text {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 26px;
    max-width: 680px;
}

.welcome-stats {
    display: flex;
    justify-content: flex-start;
    gap: 36px;
    margin-top: 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
    animation: statAppear 1s ease-out;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.welcome-gallery {
    display: grid;
    gap: 18px;
}

.welcome-gallery-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 310px;
}

.welcome-gallery-main img {
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.welcome-gallery-main:hover img {
    transform: scale(1.05);
}

.welcome-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.welcome-gallery-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 165px;
}

.welcome-gallery-card img {
    width: 100%;
    height: 100%;
    min-height: 165px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.welcome-gallery-card:hover img {
    transform: scale(1.08);
}

/* =========================================== */
/* SECCION INGENIERIA HOME                     */
/* =========================================== */

.engineering-home-section {
    padding: 115px 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(2, 203, 196, 0.12) 0%, transparent 34%),
        linear-gradient(135deg, #f7fbfc 0%, #edf6f7 100%);
    position: relative;
    overflow: hidden;
}

.engineering-home-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 34px;
}

.engineering-home-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(2, 203, 196, 0.12);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.engineering-home-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 20px;
    max-width: 700px;
}

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

.engineering-home-text {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #4a5568;
    max-width: 700px;
    margin-bottom: 28px;
}

.engineering-home-capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.engineering-home-capability {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.06);
}

.engineering-home-capability i {
    font-size: 1.35rem;
    color: var(--primary-color);
}

.engineering-home-capability span {
    color: var(--text-color);
    font-weight: 600;
}

.engineering-home-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.engineering-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.engineering-home-btn:hover {
    transform: translateY(-3px);
}

.engineering-home-btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.engineering-home-btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid rgba(45, 62, 80, 0.16);
}

.engineering-home-media {
    position: relative;
}

.engineering-home-image-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 520px;
}

.engineering-home-image-card img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.engineering-home-kpi {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: grid;
    gap: 6px;
    max-width: 220px;
    padding: 22px 20px;
    border-radius: 24px;
    background: rgba(26, 42, 58, 0.9);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.engineering-home-kpi strong {
    font-size: 2rem;
    line-height: 1;
    color: var(--primary-color);
}

.engineering-home-kpi span {
    font-size: 0.94rem;
    line-height: 1.5;
}

.engineering-home-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.engineering-home-card {
    padding: 24px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(2, 203, 196, 0.08);
}

.engineering-home-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.engineering-home-card p {
    margin: 0;
    color: #5b6777;
    line-height: 1.7;
}

/* =========================================== */
/* SECCIÓN SOLUCIONES EN CLASIFICACIÓN         */
/* =========================================== */

.clasificacion-soluciones-section {
    padding: 110px 0;
    background: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.clasificacion-soluciones-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -8%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 203, 196, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.clasificacion-soluciones-header {
    max-width: 920px;
    margin: 0 auto 45px;
    position: relative;
    z-index: 2;
}

.clasificacion-soluciones-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.clasificacion-soluciones-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (max-width: 991px) {
    .engineering-home-shell {
        grid-template-columns: 1fr;
    }

    .engineering-home-image-card,
    .engineering-home-image-card img {
        min-height: 420px;
    }

    .engineering-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .engineering-home-section {
        padding: 90px 0;
    }

    .engineering-home-capabilities,
    .engineering-home-grid {
        grid-template-columns: 1fr;
    }

    .engineering-home-title {
        font-size: 2rem;
    }

    .engineering-home-image-card,
    .engineering-home-image-card img {
        min-height: 320px;
    }

    .engineering-home-kpi {
        position: static;
        margin: 18px;
        max-width: none;
    }
}

.clasificacion-soluciones-title .text-primary {
    color: var(--primary-color) !important;
}

.clasificacion-soluciones-text {
    font-size: 1.2rem;
    line-height: 1.85;
    color: var(--text-color);
    margin: 0 auto;
    max-width: 780px;
}

.clasificacion-categorias-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
    position: relative;
    z-index: 2;
}

.clasificacion-categoria-card {
    background: var(--white);
    border: 1px solid rgba(2, 203, 196, 0.2);
    border-radius: 22px;
    padding: 20px 12px 18px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    min-height: 190px;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.clasificacion-categoria-card:hover,
.clasificacion-categoria-card:focus,
.clasificacion-categoria-card:active {
    text-decoration: none;
}

.clasificacion-categoria-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.clasificacion-categoria-card:active {
    transform: translateY(-3px) scale(0.99);
}

.clasificacion-categoria-media {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.clasificacion-categoria-media img {
    max-width: 95px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease;
}

.clasificacion-categoria-card:hover .clasificacion-categoria-media img {
    transform: scale(1.08);
}

.clasificacion-categoria-card h3 {
    margin: 0;
    display: inline-block;
    padding: 8px 12px;
    border: 2px solid #7fdde0;
    border-radius: 10px;
    background: rgba(127, 221, 224, 0.22);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #126e73;
    line-height: 1.2;
    text-decoration: none;
}

.clasificacion-categoria-card h3::before,
.clasificacion-categoria-card h3::after {
    content: none !important;
}

/* =========================================== */
/* SECCIÓN QUIÉNES SOMOS MEJORADA              */
/* =========================================== */

.about-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.about-section .section-header {
    margin-bottom: 60px;
}

.about-section .section-subtitle {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.about-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.about-card:hover::before {
    opacity: 0.05;
}

.about-card h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--gray-light);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
    opacity: 0.1;
}

.feature-item:hover::before {
    width: 300px;
    height: 300px;
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.feature-item:hover i {
    transform: scale(1.2) rotate(360deg);
}

.feature-item span {
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.about-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.8s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.1);
}

.experience-badge-modern {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: badgePulse 3s infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.05) rotate(2deg); }
    75% { transform: scale(1.05) rotate(-2deg); }
}

/* =========================================== */
/* SECCIÓN SERVICIOS MEJORADA                   */
/* =========================================== */

.services-section {
    padding: 120px 0;
    background: radial-gradient(circle at 82% -10%, rgba(2, 203, 196, 0.24) 0%, transparent 42%),
                linear-gradient(140deg, #102534 0%, #17384b 52%, #102534 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.22;
    pointer-events: none;
}

.services-section .section-header {
    max-width: 860px;
    margin: 0 auto 46px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.services-section .section-subtitle {
    display: inline-block;
    background: rgba(2, 203, 196, 0.16);
    border: 1px solid rgba(2, 203, 196, 0.46);
    color: #9ef9f4;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.services-section .section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.15;
}

.services-section .section-title .text-primary {
    color: var(--primary-color) !important;
}

.services-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.services-section .section-divider {
    width: 92px;
    height: 4px;
    border-radius: 999px;
    margin: 0 auto;
    background: var(--primary-color);
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

.service-card-modern {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    padding: 26px 20px 22px;
    text-align: center;
    color: var(--white);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    backdrop-filter: blur(10px);
}

.service-card-modern:hover {
    transform: translateY(-10px);
    border-color: rgba(2, 203, 196, 0.72);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28);
    background: rgba(255, 255, 255, 0.12);
}

.service-icon-modern {
    width: 74px;
    height: 74px;
    background: rgba(2, 203, 196, 0.2);
    border: 1px solid rgba(2, 203, 196, 0.55);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-icon-modern {
    transform: scale(1.08);
    background: rgba(2, 203, 196, 0.28);
}

.service-icon-modern i {
    font-size: 1.9rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-icon-modern i {
    color: #bafffb;
}

.service-card-modern h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 700;
}

.service-card-modern p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    margin-bottom: 16px;
    flex-grow: 1;
}

.service-link-modern {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.service-link-modern:hover {
    gap: 10px;
    color: #86fff8;
}
.products-section {
    padding: 120px 0;
    background: var(--white);
}

.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card-modern {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.product-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 30px;
    transition: all 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.product-card-modern:hover::before {
    border-color: var(--primary-color);
    transform: scale(0.98);
}

.product-image-modern {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    mix-blend-mode: overlay;
}

.product-card-modern:hover .product-image-modern::after {
    opacity: 0.3;
}

.product-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card-modern:hover .product-image-modern img {
    transform: scale(1.2);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
    transform: translateX(100px);
    opacity: 0;
    transition: all 0.4s ease;
}

.product-card-modern:hover .product-badge {
    transform: translateX(0);
    opacity: 1;
}

.product-info-modern {
    padding: 25px;
    text-align: center;
    position: relative;
    z-index: 2;
    background: white;
    transition: all 0.4s ease;
}

.product-card-modern:hover .product-info-modern {
    transform: translateY(-10px);
}

.product-info-modern h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.product-info-modern p {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-price-modern {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.product-card-modern:hover .product-price-modern {
    transform: scale(1.1);
}

.btn-modern {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(2, 203, 196, 0.4);
}

/* =========================================== */
/* SECCIÓN BENEFICIOS MEJORADA                  */
/* =========================================== */

.benefits-section-modern {
    padding: 120px 0;
    background: radial-gradient(circle at 20% 10%, rgba(2, 203, 196, 0.2) 0%, transparent 40%),
                linear-gradient(135deg, #0f2735 0%, #163849 45%, #0f2735 100%);
    position: relative;
    overflow: hidden;
}

.benefits-section-modern::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.benefits-section-modern::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -90px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 203, 196, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.benefits-headline {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto 48px;
}

.benefits-eyebrow {
    display: inline-block;
    background: rgba(2, 203, 196, 0.18);
    border: 1px solid rgba(2, 203, 196, 0.4);
    color: #9ef9f4;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.benefits-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.15;
}

.benefits-title span {
    color: var(--primary-color);
}

.benefits-intro {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.8;
    margin: 0;
}

.benefits-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    position: relative;
    z-index: 2;
}

.benefit-card-modern {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    padding: 24px 22px;
    color: var(--white);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-height: 260px;
}

.benefit-card-modern:hover {
    transform: translateY(-10px);
    border-color: rgba(2, 203, 196, 0.7);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.13);
}

.benefit-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.benefit-index {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.65);
}

.benefit-icon-modern {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: rgba(2, 203, 196, 0.2);
    border: 1px solid rgba(2, 203, 196, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon-modern i {
    font-size: 1.7rem;
    color: var(--primary-color);
}

.benefit-card-modern h4 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.benefit-card-modern p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    font-size: 0.98rem;
}

.benefits-trust-strip {
    margin-top: 28px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.benefits-trust-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
}

.benefits-trust-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.benefits-trust-item span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 500;
}

/* =========================================== */
/* SECCIÓN NAVES INDUSTRIALES                  */
/* =========================================== */

.naves-industriales-section {
    padding: 110px 0;
    background: var(--white);
}

.naves-industriales-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 38px;
    align-items: center;
    background: linear-gradient(135deg, #f4fbfb 0%, #eef6f8 100%);
    border: 1px solid rgba(2, 203, 196, 0.2);
    border-radius: 28px;
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.naves-industriales-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    margin-bottom: 16px;
}

.naves-industriales-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 16px;
}

.naves-industriales-content h2 .text-primary {
    color: var(--primary-color) !important;
}

.naves-industriales-content p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 26px;
}

.naves-industriales-list {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.naves-industriales-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(2, 203, 196, 0.15);
    border-radius: 14px;
    padding: 12px 14px;
    transition: all 0.3s ease;
}

.naves-industriales-item:hover {
    border-color: var(--primary-color);
    transform: translateX(6px);
}

.naves-industriales-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.naves-industriales-item span {
    color: var(--text-color);
    font-weight: 500;
}

.naves-industriales-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.naves-industriales-cta:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(2, 203, 196, 0.35);
}

.naves-industriales-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 360px;
}

.naves-industriales-media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.naves-industriales-media:hover img {
    transform: scale(1.05);
}

.naves-industriales-kpi {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(2, 203, 196, 0.25);
    border-radius: 14px;
    padding: 12px 14px;
    max-width: 240px;
    backdrop-filter: blur(8px);
}

.naves-industriales-kpi strong {
    display: block;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 4px;
}

.naves-industriales-kpi span {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}
.testimonials-section-modern {
    padding: 120px 0;
    background: var(--gray-light);
}

.testimonials-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card-modern {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.testimonial-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.testimonial-card-modern:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.testimonial-card-modern:hover::before {
    opacity: 0.02;
}

.testimonial-quote {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    transition: all 0.4s ease;
}

.testimonial-card-modern:hover .testimonial-quote {
    transform: scale(1.2);
    opacity: 0.4;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.client-info-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.4s ease;
}

.testimonial-card-modern:hover .client-avatar {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.client-details span {
    font-size: 0.85rem;
    color: #718096;
}

/* =========================================== */
/* SECCIÓN CONTACTO MEJORADA                    */
/* =========================================== */

.contact-section-modern {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.contact-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-modern {
    background: var(--gray-light);
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.contact-info-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-list-modern {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.contact-list-modern li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-list-modern li:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.contact-list-modern li i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-list-modern li:hover i {
    transform: scale(1.2) rotate(10deg);
}

.social-links-modern {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links-modern a {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.social-links-modern a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.social-links-modern a:hover::before {
    width: 100px;
    height: 100px;
}

.social-links-modern a:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 20px rgba(2, 203, 196, 0.4);
}

.contact-form-modern {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.contact-form-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.form-group-modern {
    margin-bottom: 20px;
}

.form-control-modern {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-medium);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--gray-light);
}

.form-control-modern:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(2, 203, 196, 0.1);
    outline: none;
    transform: scale(1.02);
}

/* =========================================== */
/* ANIMACIONES ADICIONALES                      */
/* =========================================== */

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.float-in {
    animation: floatIn 1s ease-out;
}

.hover-grow {
    transition: transform 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.05);
}

.hover-rotate {
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* =========================================== */
/* RESPONSIVE DESIGN                            */
/* =========================================== */

@media (max-width: 1200px) {
    .services-section .section-title {
        font-size: 2.6rem;
    }

    .benefits-title {
        font-size: 2.6rem;
    }

    .benefits-trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clasificacion-categorias-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .services-grid-modern,
    .products-grid-modern,
    .benefits-grid-modern,
    .testimonials-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .services-section .section-title {
        font-size: 2.2rem;
    }

    .service-card-modern {
        min-height: 260px;
    }

    .benefits-title {
        font-size: 2.25rem;
    }

    .benefits-intro {
        font-size: 1rem;
    }

    .benefit-card-modern {
        min-height: 230px;
    }

    .welcome-layout {
        grid-template-columns: 1fr;
    }

    .welcome-gallery {
        order: 2;
    }

    .welcome-content {
        order: 1;
    }

    .naves-industriales-wrapper {
        grid-template-columns: 1fr;
        padding: 34px;
    }

    .naves-industriales-content h2 {
        font-size: 2.1rem;
    }

    .clasificacion-soluciones-title {
        font-size: 2.4rem;
    }

    .clasificacion-soluciones-text {
        font-size: 1.05rem;
    }

    .clasificacion-categorias-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .services-grid-modern,
    .products-grid-modern,
    .benefits-grid-modern,
    .testimonials-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .welcome-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 90px 0;
    }

    .services-section .section-header {
        margin-bottom: 30px;
    }

    .services-section .section-title {
        font-size: 1.9rem;
    }

    .service-card-modern {
        min-height: auto;
    }

    .service-card-modern h3 {
        min-height: auto;
    }

    .benefits-section-modern {
        padding: 90px 0;
    }

    .benefits-headline {
        margin-bottom: 30px;
    }

    .benefits-title {
        font-size: 1.95rem;
    }

    .benefits-trust-strip {
        grid-template-columns: 1fr;
    }

    .benefits-trust-item {
        padding: 14px;
    }

    .hero-welcome {
        padding: 85px 0;
    }

    .welcome-content {
        text-align: center;
    }

    .welcome-layout {
        gap: 24px;
    }

    .welcome-gallery-main {
        min-height: 240px;
    }

    .welcome-gallery-main img {
        min-height: 240px;
    }

    .welcome-gallery-card {
        min-height: 130px;
    }

    .welcome-gallery-card img {
        min-height: 130px;
    }

    .naves-industriales-section {
        padding: 85px 0;
    }

    .naves-industriales-wrapper {
        padding: 24px;
        border-radius: 20px;
    }

    .naves-industriales-content h2 {
        font-size: 1.75rem;
    }

    .naves-industriales-content p {
        font-size: 1rem;
    }

    .naves-industriales-media,
    .naves-industriales-media img {
        min-height: 280px;
    }

    .clasificacion-soluciones-section {
        padding: 85px 0;
    }

    .clasificacion-soluciones-title {
        font-size: 2rem;
    }

    .clasificacion-categorias-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .clasificacion-categoria-card {
        min-height: 170px;
        border-radius: 16px;
        padding: 16px 10px 14px;
    }

    .clasificacion-categoria-media {
        height: 82px;
    }

    .clasificacion-categoria-media img {
        max-width: 76px;
        max-height: 74px;
    }

    .clasificacion-categoria-card h3 {
        font-size: 0.85rem;
    }

    .services-grid-modern,
    .products-grid-modern,
    .benefits-grid-modern,
    .testimonials-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .welcome-stats {
        justify-content: center;
        gap: 20px;
    }

    .stat-item {
        text-align: center;
        min-width: 120px;
    }
    
    .about-features-grid {
        grid-template-columns: 1fr;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .services-section .section-title {
        font-size: 1.72rem;
    }

    .benefits-title {
        font-size: 1.75rem;
    }

    .benefit-card-modern {
        min-height: auto;
    }

    .welcome-stats {
        flex-direction: column;
        align-items: center;
    }

    .welcome-title {
        font-size: 1.8rem;
    }

    .naves-industriales-wrapper {
        padding: 20px;
    }

    .naves-industriales-kpi {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    .clasificacion-categorias-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
