/* Company Info Section */
/* usado en index */
.company-info {
    display: flex;
    padding-top: clamp(30px, 5vw, 70px);    /* antes fijo 70px */
    padding-bottom: clamp(30px, 5vw, 70px); /* antes fijo 70px */
}

/* usado en index */
.info-text {
    width: 60%;
    padding-right: clamp(12px, 2vw, 30px);
}

/* usado en index */
.info-text h2 {
    color: #333;
    margin-bottom: clamp(8px, 1vw, 20px);
    font-weight: bold;
    font-size: clamp(18px, 2vw, 28px);
}

/* usado en index */
.info-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: clamp(6px, 0.8vw, 15px);
    font-size: clamp(13px, 1.3vw, 16px);
    font-family: var(--font-letter);
}

/* usado en index */
.info-image {
    width: 40%;
    display: flex;          
    justify-content: center;
    align-items: center;    
    margin: 0 auto;         
}

/* usado en index */
.info-image img {
    max-width: 70%;
    border-radius: 5px;
}

/*---------------------------*/
/* usado en index.html pequeña parte para ver el contenido */
.company-cotiza {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding-top: clamp(15px, 2vw, 25px);
    padding-bottom: clamp(15px, 2vw, 25px);
}

.contact-nosotros-medio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 1rem;
}

.company-cotiza-text h4 {
    color: white;
    font-weight: bold;
    font-size: clamp(14px, 1.5vw, 18px);
    font-family: var(--font-letter);
}

.whatsapp-company-info {
    background-color: #0f1934;
    color: white;
    padding: clamp(6px, 1vw, 10px) clamp(10px, 1.5vw, 15px);
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: clamp(12px, 1.5vw, 18px);
}

.whatsapp-company-info i {
    margin-right: 5px;
}

.whatsapp-company-info:hover {
    background-color: white;
    color: #0f1934;
    transition: all 0.3s ease;
}

/*---------------------------*/
/* Product Line Section */
.product-line {
    padding: clamp(30px, 5vw, 60px) clamp(12px, 3vw, 20px);
    margin: 0 auto;
    text-align: center;
}

.product-line h2 {
    font-size: clamp(20px, 2.2vw, 32px);
    margin-bottom: clamp(8px, 1vw, 20px);
    color: #333;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: clamp(6px, 0.6vw, 10px);
}

.product-line h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, #2067af 20%, #e71919 20%, #e71919 80%, #2067af 80%);
}

.product-description {
    color: #666;
    margin-bottom: clamp(20px, 2vw, 40px);
    max-width: clamp(260px, 55vw, 800px);
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(14px, 1.3vw, 16px);
}

/*---------------------------*/
/* Tabs */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: clamp(6px, 1vw, 8px);
    margin-bottom: clamp(12px, 2vw, 20px);
    flex-wrap: wrap;
}

.tab {
    padding: clamp(6px, 0.8vw, 8px) clamp(10px, 1vw, 16px);
    background-color: white;
    color: #2067af;
    border: 2px solid #2067af;
    border-radius: clamp(10px, 1.2vw, 20px);
    font-weight: 600;
    font-size: clamp(12px, 1vw, 14px);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: clamp(0.2px, 0.2vw, 0.3px);
    text-decoration: none;
    display: inline-block;
}

.tab:hover {
    background-color: #2067af;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(32, 103, 175, 0.2);
}

/*---------------------------*/
/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(15px, 3vw, 30px);
    margin: clamp(20px, 4vw, 40px) 0;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: clamp(15px, 2vw, 20px);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: clamp(100px, 15vw, 150px);
    object-fit: contain;
    margin-bottom: clamp(10px, 1.5vw, 15px);
}

.product-card h3 {
    color: #333;
    font-size: clamp(14px, 1.3vw, 18px);
    margin-bottom: clamp(8px, 1vw, 10px);
}

/*---------------------------*/
/* Contact Especialist */
.contact-especialist {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: clamp(30px, 5vw, 60px) clamp(12px, 3vw, 20px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-especialist-content {
    position: relative;
    z-index: 2;
    max-width: clamp(300px, 60vw, 800px);
    margin: 0 auto;
}

.contact-especialist-subtitle {
    font-size: clamp(12px, 1vw, 14px);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: clamp(10px, 1.5vw, 20px);
    opacity: 0.9;
    color: #7dd3fc;
}

.contact-especialist-title {
    font-size: clamp(20px, 2.5vw, 36px);
    font-weight: bold;
    margin-bottom: clamp(10px, 1vw, 20px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-especialist-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: #7dd3fc;
    margin: clamp(8px, 1.5vw, 15px) auto;
    border-radius: 2px;
}

.contact-especialist-info {
    font-size: clamp(13px, 1.2vw, 16px);
    margin-top: clamp(10px, 1.5vw, 20px);
    text-align: center;
}

.contact-especialist-info p {
    color: #7dd3fc;
}

@media (max-width: 768px){
    .info-image{
        display: none;
    }
    .company-info{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

}