/* ==================== ESTILOS MODERNOS METAL-CE ==================== */

/* Features Section Moderna */
.features-modern {
    margin: 60px 0;
    padding: 0;
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card-modern {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2E7D32, #43A047);
    transition: left 0.4s ease;
}

.feature-card-modern:hover::before {
    left: 0;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 125, 50, 0.15);
    border-color: rgba(46, 125, 50, 0.1);
}

.feature-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #2E7D32, #43A047);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon-modern {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
}

.feature-title-modern {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.feature-text-modern {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Section Header Moderna */
.section-header-modern {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge-modern {
    display: inline-block;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(169, 29, 71, 0.1));
    color: #2E7D32;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border: 2px solid rgba(46, 125, 50, 0.2);
}

.section-title-modern {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2E7D32, #43A047);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}

.section-subtitle-modern {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
    margin: 0;
}

/* Botón Moderno */
.btn-generico-modern {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #2E7D32, #43A047);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-generico-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-generico-modern:hover::before {
    width: 400px;
    height: 400px;
}

.btn-generico-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(46, 125, 50, 0.4);
    color: white;
    text-decoration: none;
}

.btn-generico-modern i {
    transition: transform 0.3s ease;
}

.btn-generico-modern:hover i {
    transform: translateX(5px);
}

/* ==================== SECCIÓN NOSOTROS ==================== */
.nosotros-section {
    margin: 80px 0;
    padding: 0;
}

.nosotros-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 15px 50px rgba(46, 125, 50, 0.08);
    position: relative;
    overflow: hidden;
}

.nosotros-container::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.nosotros-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2E7D32, #43A047);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nosotros-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.nosotros-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.nosotros-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #333;
}

.value-item i {
    color: #2E7D32;
    font-size: 1.2rem;
}

.nosotros-cta {
    margin-top: 30px;
}

.btn-nosotros {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.btn-nosotros:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

.nosotros-image-container {
    position: relative;
}

.nosotros-image {
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.nosotros-container:hover .nosotros-image {
    transform: scale(1.03);
}

.nosotros-badge-floating {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #2E7D32, #43A047);
    color: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.4);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

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

.badge-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.95;
}

/* Responsive Nosotros */
@media (max-width: 768px) {
    .nosotros-container {
        grid-template-columns: 1fr;
        padding: 40px 25px;
        gap: 40px;
    }
    
    .nosotros-title {
        font-size: 2rem;
    }
    
    .nosotros-values {
        grid-template-columns: 1fr;
    }
    
    .nosotros-badge-floating {
        bottom: 20px;
        right: 20px;
        padding: 20px;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    .section-title-modern {
        font-size: 2rem;
    }
    
    .features-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* Mejoras generales del index */
.container {
    position: relative;
}

.featured-products {
    background: white;
    border-radius: 30px;
    padding: 50px 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(46, 125, 50, 0.06);
}

.ver-mas {
    text-align: center;
    margin: 50px 0 0;
    padding: 0;
    background: none;
    border: none;
}

/* ==================== #SOMOSITACA HERO OVERLAY ==================== */
.hero-image-container {
    position: relative;
}

.hero-hashtag-overlay {
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
    pointer-events: none;
}

.hero-hashtag {
    display: inline-block;
    font-size: clamp(1.4rem, 3.5vw, 3rem);
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff 0%, #a5d6a7 20%, #43A047 50%, #a5d6a7 80%, #fff 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: itacaFadeIn 1.2s ease forwards, itacaShimmer 3s linear infinite;
    filter: drop-shadow(0 2px 12px rgba(46, 125, 50, 0.6));
}

@keyframes itacaShimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 300% center; }
}

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

/* ==================== BADGES ISO / CERTIFICACIONES ==================== */
.iso-badges-section {
    margin: 0 0 50px;
}

.iso-badges-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    background: white;
    border-radius: 20px;
    padding: 28px 40px;
    box-shadow: 0 6px 25px rgba(46, 125, 50, 0.08);
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.iso-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 18px;
}

.iso-badge-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.iso-badge-info {
    display: flex;
    flex-direction: column;
}

.iso-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: #2E7D32;
    letter-spacing: 1px;
}

.iso-desc {
    font-size: 0.78rem;
    color: #777;
    font-weight: 400;
    margin-top: 2px;
}

.iso-divider {
    width: 1px;
    height: 48px;
    background: rgba(46, 125, 50, 0.15);
    flex-shrink: 0;
}

/* ==================== CONTACT INFO GRID ==================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: white;
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.07);
    border-left: 4px solid #2E7D32;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(46, 125, 50, 0.13);
}

.contact-info-card i {
    font-size: 1.35rem;
    color: #2E7D32;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-info-card strong {
    display: block;
    color: #222;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    margin: 0;
    color: #666;
    font-size: 0.86rem;
    line-height: 1.55;
}

.contact-info-card p a {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 600;
}

.contact-info-card p a:hover {
    text-decoration: underline;
}

/* ==================== FAB COTIZACIÓN FLOTANTE ==================== */
.fab-cotizacion {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #2E7D32 0%, #43A047 100%);
    color: white !important;
    border-radius: 18px;
    padding: 14px 18px;
    text-decoration: none !important;
    box-shadow: 0 6px 25px rgba(46, 125, 50, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fabPulse 2.5s ease-in-out infinite;
}

.fab-cotizacion:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 35px rgba(46, 125, 50, 0.65);
    animation: none;
    color: white !important;
    text-decoration: none !important;
}

.fab-cotizacion i {
    font-size: 1.6rem;
}

.fab-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

@keyframes fabPulse {
    0%, 100% { box-shadow: 0 6px 25px rgba(46, 125, 50, 0.5); }
    50%       { box-shadow: 0 6px 35px rgba(46, 125, 50, 0.75), 0 0 0 10px rgba(46, 125, 50, 0.1); }
}

@media (max-width: 576px) {
    .iso-divider        { display: none; }
    .iso-badges-container { gap: 8px; padding: 20px 16px; }
    .hero-hashtag       { font-size: clamp(1rem, 5vw, 1.6rem); letter-spacing: 2px; }
    .contact-info-grid  { grid-template-columns: 1fr; }
    .fab-cotizacion     { bottom: 20px; right: 16px; padding: 12px 14px; }
}
