/* Estilos para la sección de Renta de Herramientas */
.rental-tools-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Encabezado de la sección */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #e53935;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
}

/* Grid de herramientas - 5 por fila */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Tarjeta de herramienta */
.tool-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #eee;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: #ddd;
}

/* Contenedor de imagen */
.tool-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.tool-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tool-card:hover .tool-image {
    transform: scale(1.05);
}

/* Badge de oferta/popular */
.tool-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e53935;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.tool-badge-special {
    background-color: #222;
}

/* Contenido de la tarjeta */
.tool-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tool-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1rem;
    line-height: 1.3;
    min-height: 3.2rem;
}

/* Detalles de la herramienta */
.tool-details {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.7rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    color: #e53935;
    margin-right: 10px;
    width: 20px;
    font-size: 0.9rem;
}

.detail-item span {
    font-size: 0.9rem;
    color: #555;
}

/* Información de precios */
.pricing-info {
    margin-bottom: 1.5rem;
}

.price-container {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    margin-right: 2px;
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #222;
    line-height: 1;
}

.duration {
    font-size: 0.9rem;
    color: #777;
    margin-left: 3px;
}

.rental-duration {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
}

.rental-duration i {
    color: #666;
    margin-right: 8px;
}

/* Botón de renta */
.rent-btn {
    background: linear-gradient(to right, #222222, #444444);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    width: 100%;
}

.rent-btn:hover {
    background: linear-gradient(to right, #e53935, #c62828);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

.rent-btn:active {
    transform: translateY(0);
}

/* Pie de sección */
.section-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
    font-size: 0.95rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.disclaimer i {
    color: #e53935;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Botón para ver todas las herramientas */
.view-all-container {
    text-align: center;
    margin: 4rem 0 3rem;
}

.view-all-btn {
    background: #222222;
    color: white;
    border: 2px solid #e53935;
    border-radius: 10px;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
}

.view-all-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.6s ease;
}

.view-all-btn:hover {
    background: #e53935;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(229, 57, 53, 0.3);
    border-color: #e53935;
}

.view-all-btn:hover::before {
    left: 100%;
}

.view-all-btn:hover .fa-chevron-right {
    transform: translateX(5px);
}

.view-all-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

.view-all-btn i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.view-all-btn .fa-chevron-right {
    font-size: 1rem;
}

/* Estado focus para accesibilidad */
.view-all-btn:focus {
    outline: 2px solid #e53935;
    outline-offset: 4px;
}

/* Responsive Design - Mantener 5 columnas solo en pantallas grandes */
@media (max-width: 1400px) {
    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tool-title {
        font-size: 1.25rem;
    }
    
    .price {
        font-size: 1.7rem;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2.4rem;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .tool-image-container {
        height: 200px;
    }
    
    .tool-content {
        padding: 1.8rem;
    }
    
    .tool-title {
        font-size: 1.4rem;
    }
    
    .price {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .rental-tools-section {
        padding: 3.5rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .disclaimer {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .view-all-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 400px;
    }
    
    .view-all-container {
        margin: 3rem 0 2rem;
    }
}

@media (max-width: 480px) {
    .rental-tools-section {
        padding: 2.5rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .tool-content {
        padding: 1.5rem;
    }
    
    .tool-title {
        font-size: 1.3rem;
        min-height: auto;
    }
    
    .price {
        font-size: 1.9rem;
    }
    
    .view-all-btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
    
    .view-all-btn i {
        font-size: 1rem;
    }
}