/* ========================================
   ESTILOS PROFESIONALES PARA PÁGINAS
   ======================================== */

/* ===== PÁGINA DE SERVICIOS ===== */
.services-professional-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: 40px 0;
}

.services-professional-table table {
    margin: 0;
    border: none;
}

.services-professional-table thead {
    background: linear-gradient(135deg, #83981b 0%, #6b7d16 100%);
}

.services-professional-table thead th {
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 20px 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.services-professional-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.services-professional-table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.services-professional-table tbody tr:last-child {
    border-bottom: none;
}

.services-professional-table tbody th,
.services-professional-table tbody td {
    padding: 18px 15px;
    border: none;
    vertical-align: middle;
}

.services-professional-table tbody th {
    font-weight: 600;
    color: #83981b;
    font-size: 18px;
}

.services-professional-table tbody td:nth-child(2) {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.services-professional-table tbody td:nth-child(3) {
    font-size: 20px;
    color: #83981b;
    font-weight: bold;
}

/* Responsive para servicios */
@media (max-width: 768px) {
    .services-professional-table thead {
        display: none;
    }
    
    .services-professional-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }
    
    .services-professional-table tbody th,
    .services-professional-table tbody td {
        display: block;
        text-align: left;
        padding: 12px 15px;
    }
    
    .services-professional-table tbody th {
        background: #f8f9fa;
        border-radius: 10px 10px 0 0;
    }
    
    .services-professional-table tbody td:before {
        content: attr(data-label);
        font-weight: bold;
        display: inline-block;
        width: 120px;
        color: #666;
    }
}

/* ===== PÁGINA DE CONTACTO ===== */
.contact-info .box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.contact-info .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #83981b 0%, #6b7d16 100%);
    border-radius: 50%;
    font-size: 32px;
    color: white;
    box-shadow: 0 5px 20px rgba(131, 152, 27, 0.3);
}

.contact-info h3 {
    color: #333;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-info p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

.contact-info a {
    color: #83981b;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: #6b7d16;
    text-decoration: none;
}

.contact-section {
    padding: 80px 0;
}

/* Mapa de contacto */
#map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* ===== PÁGINA ABOUT (NOSOTROS) ===== */
.wrap-about {
    padding: 40px;
}

.wrap-about .heading-section h1.big {
    font-size: 80px;
    color: #f8f9fa;
    font-weight: 900;
    line-height: 1;
    margin-bottom: -50px;
}

.wrap-about .heading-section .subheading {
    color: #83981b;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.wrap-about p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    text-align: justify;
}

.img-2 {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-height: 500px;
}

/* ===== PÁGINA DE PRODUCTOS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-card .product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-card .product-image-container {
    overflow: hidden;
    position: relative;
}

.product-card .product-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-name {
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-card .product-price {
    font-size: 1.8em;
    color: #83981b;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-card .product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 15px;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #83981b 0%, #6b7d16 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* ===== SECCIONES GENERALES ===== */
.heading-section {
    margin-bottom: 50px;
}

.heading-section h1.big {
    font-size: 100px;
    color: #f8f9fa;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    position: relative;
    z-index: -1;
}

.heading-section .subheading {
    color: #83981b;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.heading-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.heading-section p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .wrap-about {
        padding: 30px 20px;
    }
    
    .heading-section h1.big {
        font-size: 60px;
    }
    
    .heading-section h2 {
        font-size: 28px;
    }
    
    .img-2 {
        min-height: 350px;
        margin-bottom: 30px;
    }
    
    .contact-info .box {
        margin-bottom: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .heading-section h1.big {
        font-size: 40px;
    }
    
    .heading-section h2 {
        font-size: 24px;
    }
    
    .wrap-about .heading-section h1.big {
        font-size: 50px;
        margin-bottom: -30px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card .product-image {
        height: 200px;
    }
}

/* ===== MEJORAS ADICIONALES ===== */
.bg-light {
    background: #f8f9fa !important;
}

.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}
